Revert "Remove own SMTP server"
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This reverts commit c0f2522a40
.
Actually, we need it
This commit is contained in:
parent
3b1ad04462
commit
49d502c5c8
|
@ -38,6 +38,9 @@ export SMTP_ENABLE_STARTTLS_AUTO=true
|
|||
export SMTP_PORT=587
|
||||
export SMTP_USER_NAME=foodsoft
|
||||
|
||||
export SMTP_SERVER_PORT=25
|
||||
export SMTP_SERVER_HOST=mail.autonomic.zone
|
||||
|
||||
export SECRET_DB_PASSWORD_VERSION=v1
|
||||
export SECRET_DB_ROOT_PASSWORD_VERSION=v1
|
||||
export SECRET_SHARED_LISTS_DB_PASSWORD_VERSION=v1
|
||||
|
|
24
compose.yml
24
compose.yml
|
@ -113,6 +113,30 @@ services:
|
|||
networks:
|
||||
- internal
|
||||
|
||||
smtp:
|
||||
image: "foodcoops/foodsoft:4.7.0"
|
||||
configs:
|
||||
- source: db_config
|
||||
target: /usr/src/app/config/database.yml
|
||||
- source: entrypoint
|
||||
target: /usr/src/app/docker-entrypoint.sh
|
||||
mode: 0555
|
||||
entrypoint: /usr/src/app/docker-entrypoint.sh
|
||||
secrets:
|
||||
- db_password
|
||||
- secret_key_base
|
||||
environment:
|
||||
- FOODSOFT_SERVICE=smtp
|
||||
- MYSQL_DB
|
||||
- MYSQL_HOST
|
||||
- MYSQL_PORT
|
||||
- MYSQL_USER
|
||||
- SECRET_KEY_BASE_FILE=/run/secrets/secret_key_base
|
||||
- SMTP_SERVER_HOST
|
||||
- SMTP_SERVER_PORT
|
||||
networks:
|
||||
- internal
|
||||
|
||||
db:
|
||||
image: "mariadb:10.5"
|
||||
command: "mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_520_ci"
|
||||
|
|
Reference in New Issue