Private
Public Access
1
0

feat(email): Adding email options for registration

This commit is contained in:
gauvainboiche
2026-03-31 11:35:12 +02:00
parent 655928318e
commit c7ad5898e6
61 changed files with 16104 additions and 47 deletions

View File

@@ -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