Give database config to smtp service too
This commit is contained in:
parent
58edaadac4
commit
6121cdd176
|
@ -100,9 +100,18 @@ services:
|
||||||
smtp:
|
smtp:
|
||||||
image: "foodcoops/foodsoft:4.7.0"
|
image: "foodcoops/foodsoft:4.7.0"
|
||||||
command: ./proc-start mail
|
command: ./proc-start mail
|
||||||
|
configs:
|
||||||
|
- source: db_config
|
||||||
|
target: /usr/src/app/config/database.yml
|
||||||
|
secrets:
|
||||||
|
- db_password
|
||||||
environment:
|
environment:
|
||||||
- SMTP_SERVER_PORT
|
- SMTP_SERVER_PORT
|
||||||
- SMTP_SERVER_HOST
|
- SMTP_SERVER_HOST
|
||||||
|
- MYSQL_DB
|
||||||
|
- MYSQL_HOST
|
||||||
|
- MYSQL_PORT
|
||||||
|
- MYSQL_USER
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue