Hello, I set up corteza locally and can reach the application. Unfortunately I can’t create a user because the confirmation mail doesn’t arrive. The SMTP data are correct.
Is there such a thing as a demo user or account?
Thanks very much
% docker logs <hash of server-1>
{"level":"warn","ts":1681729017.2251115,"msg":"Environmental variables (SMTP_*) and SMTP settings (most likely changed via admin console) are not the same. When server was restarted, values from environmental variables were copied to settings for easier management. To avoid confusion and potential issues, we suggest you to remove all SMTP_* variables"}
The docker-compose.yaml
version: '3.5'
services:
server:
image: cortezaproject/corteza:${VERSION}
restart: always
env_file: [ .env ]
depends_on: [ db ]
ports: [ "127.0.0.1:18080:80" ]
db:
# PostgreSQL Database
# See https://hub.docker.com/_/postgres for details
image: postgres:13
# networks: [ internal ]
restart: always
healthcheck: { test: ["CMD-SHELL", "pg_isready -U corteza"], interval: 10s, timeout: 5s, retries: 5 }
volumes:
- "dbdata:/var/lib/postgresql/data"
environment:
# Warning: these are values that are only used on 1st start
# if you want to change it later, you need to do that
# manually inside db container
POSTGRES_USER: corteza
POSTGRES_PASSWORD: corteza
volumes:
dbdata:
The .env
########################################################################################################################
# docker-compose supports environment variable interpolation/substitution in compose configuration file
# (more info: https://docs.docker.com/compose/environment-variables)
########################################################################################################################
# General settings
DOMAIN=localhost:18080
VERSION=2022.9
########################################################################################################################
# Database connection
DB_DSN=postgres://corteza:corteza@db:5432/corteza?sslmode=disable
########################################################################################################################
# Server settings
# Running all-in-one and serving web applications directly from server container
HTTP_WEBAPP_ENABLED=true
# Disabled, we do not need detailed persistent logging of actions in local env
ACTIONLOG_ENABLED=false
########################################################################################################################
# SMTP (mail sending) settings
# Point this to your local or external SMTP server if you want to send emails.
# In most cases, Corteza can detect that SMTP is disabled and skips over sending emails without an error
SMTP_HOST=mail.xxx.net:587
SMTP_USER=test@xxx.com
SMTP_PASS=xxx
SMTP_FROM='"Demo" <test@xx.com>'