services: web: build: context: . dockerfile: ./Dockerfile # command: gunicorn freekake_api.wsgi:application --bind 0.0.0.0:8000 command: sh -c "gunicorn freekake_api.wsgi:application --bind 0.0.0.0:8000" volumes: - .:/app - static_volume:/app/static expose: - "8000" networks: - freekake_net nginx: image: nginx:1.28-bookworm ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf - static_volume:/static depends_on: - web networks: - freekake_net volumes: static_volume: networks: freekake_net: