feat(email): Adding email options for registration
This commit is contained in:
@@ -35,6 +35,16 @@ services:
|
||||
retries: 15
|
||||
start_period: 5s
|
||||
|
||||
mailpit:
|
||||
image: axllent/mailpit:latest
|
||||
ports:
|
||||
- "1025:1025" # SMTP
|
||||
- "8025:8025" # Web UI (open http://localhost:8025 to read emails)
|
||||
environment:
|
||||
MP_MAX_MESSAGES: 500
|
||||
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
||||
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
@@ -46,10 +56,19 @@ services:
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
||||
PORT: "${PORT:-8080}"
|
||||
CONFIG_FILE_PATH: /app/config/game.settings.json
|
||||
SMTP_HOST: ${SMTP_HOST:-mailpit}
|
||||
SMTP_PORT: ${SMTP_PORT:-1025}
|
||||
SMTP_SECURE: ${SMTP_SECURE:-false}
|
||||
SMTP_USER: ${SMTP_USER:-}
|
||||
SMTP_PASS: ${SMTP_PASS:-}
|
||||
SMTP_FROM: ${SMTP_FROM:-Star Wars Wild Space <noreply@wildspace.local>}
|
||||
APP_URL: ${APP_URL:-http://localhost:8080}
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
users_db:
|
||||
condition: service_healthy
|
||||
condition: service_healthy
|
||||
mailpit:
|
||||
condition: service_started
|
||||
Reference in New Issue
Block a user