## docker network create -d overlay lb-net services: traefik: # # NOTE: the '!override' replaces the original values defined, avail on docker-compose 2.24.2+ # # don't use it if your compose doesn't allow this syntax # ports: !override # # The Web UI (enabled by --api.insecure=true) # # uncomment to expose dashboard at port :7000, # # this is mostly for debugging routes and services # - "7000:7000" # # The HTTP port, exposed as http entrypoint # - "80:80" # # The HTTPS port, exposed as https entrypoint # - "443:443" # volumes: # # Bind to docker.sock that Traefik can listen to the Docker events # - /var/run/docker.sock:/var/run/docker.sock # # custom traefik config, enable SSL etc... # # put your traefik setup in this directory structure, and uncomment to override # # default traefik static/dynamic configs # - $PWD/.custom/traefik_custom:/etc/traefik:ro # - $PWD/.custom/traefik_custom/dynamic:/etc/traefik_dynamic:ro # # Mount ACME shared json config for lets-encrypt # - $PWD/.custom/traefik_custom/acme:/acme environment: RC_COMPOSE_OVERRIDE: 1 # labels: # - "traefik.enable=true"