mirror of
https://github.com/kevin-DL/full-stack-fastapi-postgresql.git
synced 2026-01-12 10:15:12 +00:00
21 lines
427 B
YAML
21 lines
427 B
YAML
version: '3.3'
|
|
services:
|
|
db:
|
|
env_file:
|
|
- env-postgres.env
|
|
environment:
|
|
- PGDATA=/var/lib/postgresql/data/pgdata
|
|
backend:
|
|
env_file:
|
|
- env-postgres.env
|
|
- env-backend.env
|
|
environment:
|
|
- SERVER_NAME=${DOMAIN}
|
|
- SERVER_HOST=https://${DOMAIN}
|
|
celeryworker:
|
|
env_file:
|
|
- env-postgres.env
|
|
- env-backend.env
|
|
environment:
|
|
- SERVER_HOST=https://${DOMAIN}
|