Pass worker env vars through docker compose

This commit is contained in:
Erol 2026-04-16 13:48:42 +02:00
parent c0dee2f662
commit 6511a3aee2

View file

@ -46,6 +46,12 @@ services:
command: python worker.py command: python worker.py
environment: environment:
DATABASE_URL: ${DATABASE_URL} 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: volumes:
- ./backend:/app - ./backend:/app
depends_on: depends_on: