Implement mail service with configuration and settings management

This commit is contained in:
troogs
2026-04-18 01:43:52 +02:00
parent 82d2c48ff7
commit 15780bccee
13 changed files with 235 additions and 4 deletions

View File

@@ -5,6 +5,17 @@ services:
image: ghcr.io/troogs/fs-onboarding/server:latest
ports:
- "8100:56000"
env_file:
- .env
environment:
# Mail Configuration Examples. These override options in appsettings.json.
# All values below can also be set via the active .env file or appsettings.json.
- Settings__Mail__Host=${MAIL_HOST:-smtp.example.com}
- Settings__Mail__Port=${MAIL_PORT:-587}
- Settings__Mail__Username=${MAIL_USERNAME:-your_username}
- Settings__Mail__Password=${MAIL_PASSWORD:-your_password}
- Settings__Mail__FromAddress=${MAIL_FROM_ADDRESS:-no-reply@example.com}
- Settings__Mail__UseSsl=${MAIL_USE_SSL:-true}
volumes:
- /docker/data/fs-onboarding/config:/app/config/
- /docker/data/fs-onboarding/data:/app/data/