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: