services: caddy: image: caddy:2 restart: unless-stopped ports: - 80:80 volumes: - ${VOLUMES_PATH}/proxy/caddy/data:/data - ${VOLUMES_PATH}/proxy/caddy/config:/config - ./Caddyfile:/etc/caddy/Caddyfile:ro networks: - web whoami: image: containous/whoami networks: - web labels: - "docker.group=proxy" restart: unless-stopped networks: web: external: true dockersocket: external: true