Files
links/docker-compose.yml
2025-05-06 20:44:33 +09:00

24 lines
447 B
YAML

version: '3.8'
services:
web:
build: ./backend
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000
volumes:
- ./backend:/app
- media_volume:/app/media
env_file:
- .env.example
ports:
- "8000:8000"
depends_on:
- db
db:
image: postgres:14
volumes:
- postgres_data:/var/lib/postgresql/data/
env_file:
- .env.example
volumes:
postgres_data:
media_volume: