Merge pull request #6265 from r-peschke/BAIssue678_smtp-server
ClientIssue553: Add Testmailserver to openslides-dev-setup
This commit is contained in:
commit
34eb57a31d
@ -58,6 +58,15 @@ services:
|
|||||||
env_file: services.env
|
env_file: services.env
|
||||||
environment:
|
environment:
|
||||||
- OPENSLIDES_DEVELOPMENT=1
|
- OPENSLIDES_DEVELOPMENT=1
|
||||||
|
- EMAIL_HOST=mailhog
|
||||||
|
- EMAIL_PORT=1025
|
||||||
|
# - EMAIL_HOST_USER username
|
||||||
|
# - EMAIL_HOST_PASSWORD secret
|
||||||
|
# EMAIL_CONNECTION_SECURITY use NONE, STARTTLS or SSL/TLS
|
||||||
|
- EMAIL_CONNECTION_SECURITY=NONE
|
||||||
|
- EMAIL_TIMEOUT=5
|
||||||
|
- EMAIL_ACCEPT_SELF_SIGNED_CERTIFICATE=false
|
||||||
|
- DEFAULT_FROM_EMAIL=noreply@example.com
|
||||||
volumes:
|
volumes:
|
||||||
- ../openslides-backend/openslides_backend:/app/openslides_backend
|
- ../openslides-backend/openslides_backend:/app/openslides_backend
|
||||||
- ../openslides-backend/migrations:/app/migrations
|
- ../openslides-backend/migrations:/app/migrations
|
||||||
@ -135,3 +144,10 @@ services:
|
|||||||
- autoupdate
|
- autoupdate
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|
||||||
|
mailhog:
|
||||||
|
image: mailhog/mailhog
|
||||||
|
logging:
|
||||||
|
driver: 'none' # disable saving logs
|
||||||
|
ports:
|
||||||
|
- "8025:8025" # web ui to check mails manually
|
||||||
|
Loading…
Reference in New Issue
Block a user