♻️ Refactor email sending subsystem.

This commit is contained in:
Andrey Antukh 2020-11-10 18:24:02 +01:00 committed by Hirunatan
parent 132e99ab71
commit 5b9c596170
5 changed files with 272 additions and 159 deletions

View file

@ -22,7 +22,6 @@ services:
depends_on:
- postgres
- smtp
- redis
volumes:
@ -42,17 +41,6 @@ services:
- APP_DATABASE_URI=postgresql://postgres/penpot
- APP_DATABASE_USERNAME=penpot
- APP_DATABASE_PASSWORD=penpot
- APP_SENDMAIL_BACKEND=console
- APP_SMTP_HOST=smtp
- APP_SMTP_PORT=25
smtp:
container_name: "penpot-devenv-smtp"
image: mwader/postfix-relay:latest
restart: always
environment:
- POSTFIX_myhostname=smtp.penpot.io
- OPENDKIM_DOMAINS=smtp.penpot.io
postgres:
image: postgres:13