version: '3.8' services: web: build: . command: gunicorn core.wsgi:application --bind 0.0.0.0:8000 volumes: - .:/app ports: - "8000:8000" env_file: - .env depends_on: - db db: image: postgres:15 volumes: - postgres_data:/var/lib/postgresql/data/ environment: - POSTGRES_DB=vudb - POSTGRES_USER=vuser - POSTGRES_PASSWORD=vpassword volumes: postgres_data: