version: '3' services: lb: image: docker.io/caddy:2 volumes: # - /app/lb:/etc/caddy - ./lb/:/etc/caddy - config:/config - data:/data networks: - lb restart: unless-stopped ports: - "443:443" - "80:80" nginx: image: nginx restart: unless-stopped networks: - lb networks: lb: volumes: config: data: