# - 8080:8080 # Dashboard port
- /opt/appdata/traefik/:/etc/traefik/
- proxy # rename this to your custom docker network
traefik.http.routers.api.rule: Host(`traefik.YOURDOMAIN.COM`) # Define the subdomain for the traefik dashboard.
traefik.http.routers.api.entryPoints: https # Set the Traefik entry point.
traefik.enable: true # Enable Traefik reverse proxy for the Traefik dashboard.
DOCKER_HOST: dockersocket
CF_DNS_API_TOKEN: YOUR_SUPER_SECURE_CLOUDFLARE_API_TOKEN
container_name: dockersocket
image: tecnativa/docker-socket-proxy
- /var/run/docker.sock:/var/run/docker.sock