Files
queueful/dev.yml
2024-03-24 15:37:01 +03:00

39 lines
784 B
YAML

services:
backend:
build:
context: backend
ports:
- "5000"
env_file:
- path: ./env/backend/dev.env
required: true
volumes:
- ./backend/app:/code/app:z
frontend:
build:
context: frontend
ports:
- "3000"
env_file:
- path: ./env/frontend/dev.env
required: true
volumes:
- ./frontend/app:/app:z
nginx:
image: nginx:1.25.4-alpine
volumes:
- ./nginx/dev.conf:/etc/nginx/conf.d/default.conf:ro
- ./static:/static
depends_on:
- backend
ports:
- "80:80"
postgres:
image: postgres:16.2-alpine
restart: always
volumes:
- ./postgres_data:/var/lib/postgresql/data/
env_file:
- path: ./env/postgres.env
required: true