version: '3' networks: traefik: external: true services: reverse-proxy: # The official v3 Traefik docker image image: traefik:v3.1 # Enables the web UI and tells Traefik to listen to docker command: --configFile=/config/traefik.yml ports: # The HTTP port - "80:80" # The HTTPS port - "443:443" # The Web UI (enabled by --api.insecure=true) - "8080:8080" volumes: # So that Traefik can listen to the Docker events - /var/run/docker.sock:/var/run/docker.sock - /docker/traefik3/logs:/logs - /docker/traefik3/config:/config - /docker/traefik3/ACME/acme.json:/ACME/acme.json networks: - traefik logging: driver: "gelf" options: gelf-address: "udp://192.168.1.250:12201" restart: always