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