services: web: build: . command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 volumes: - .:/app ports: - "3000:3000" env_file: - .env depends_on: - db db: image: postgres:14 volumes: - postgres_data:/var/lib/postgresql/data/ environment: - POSTGRES_PASSWORD=postgres volumes: postgres_data: