# Image is built on the laptop and loaded by deploy/ship.sh. Do not build on the server. name: diverter services: caddy: image: caddy:2 restart: unless-stopped ports: - "80:80" - "443:443" environment: PORTAL_HOST: ${PORTAL_HOST} PORT: ${PORT:-3080} volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy_data:/data depends_on: - app app: image: diverter-device-emulator:latest restart: unless-stopped env_file: - .env expose: - "${PORT:-3080}" volumes: - ./data:/app/data volumes: caddy_data: