Pass worker env vars through docker compose
This commit is contained in:
parent
c0dee2f662
commit
6511a3aee2
1 changed files with 6 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ services:
|
|||
command: python worker.py
|
||||
environment:
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
GEMINI_API_KEY: ${GEMINI_API_KEY}
|
||||
SMTP_SERVER: ${SMTP_SERVER}
|
||||
SMTP_PORT: ${SMTP_PORT}
|
||||
SMTP_USER: ${SMTP_USER}
|
||||
SMTP_PASS: ${SMTP_PASS}
|
||||
EMAIL_TO: ${EMAIL_TO}
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Reference in a new issue