version: "3.8" name: "u2bcx" services: app: build: . restart: always volumes: - ./:/app/ working_dir: /app/ environment: - PORT=8080 - PROXY=/proxy/ command: python server.py # caddy: # image: caddy:2.6 # restart: always # ports: # - "80:80" # - "443:443" # - "443:443/udp" # volumes: # - ./Caddyfile:/etc/caddy/Caddyfile # - caddy_data:/data # - caddy_config:/config nginx: image: nginx:1.25 restart: always volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro ports: - "80:80" - "443:443" - "443:443/udp" volumes: caddy_data: caddy_config: