This commit is contained in:
Mike McFetridge
2026-07-23 19:38:14 -04:00
parent 72272e4006
commit 84e1ead50c
283 changed files with 0 additions and 206 deletions
@@ -0,0 +1,56 @@
services:
<%- if socket_proxy_enabled %>
<< socket_proxy_service_name >>:
image: tecnativa/docker-socket-proxy:0.4.2
container_name: << socket_proxy_container_name >>
environment:
CONTAINERS: 1
EVENTS: 1
INFO: 1
NETWORKS: 1
PING: 1
POST: 0
SERVICES: 1
TASKS: 1
VERSION: 1
VOLUMES: 1
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- << traefik_network >>
restart: << restart_policy >>
<%- endif %>
<%- if whoami_enabled %>
<< whoami_service_name >>:
image: traefik/whoami:v1.11.0
labels:
- traefik.enable=true
- traefik.docker.network=<< traefik_network >>
- traefik.http.services.<< whoami_service_name >>.loadbalancer.server.port=80
- traefik.http.routers.<< whoami_service_name >>-http.rule=Host(`<< whoami_host >>.<< whoami_domain >>`)
- traefik.http.routers.<< whoami_service_name >>-http.entrypoints=<< traefik_entrypoint >>
<%- if whoami_chain_middleware %>
- traefik.http.routers.<< whoami_service_name >>-http.middlewares=<< whoami_chain_middleware >>
<%- endif %>
<%- if whoami_tls_enabled %>
- traefik.http.routers.<< whoami_service_name >>-https.rule=Host(`<< whoami_host >>.<< whoami_domain >>`)
- traefik.http.routers.<< whoami_service_name >>-https.entrypoints=<< traefik_tls_entrypoint >>
- traefik.http.routers.<< whoami_service_name >>-https.tls=true
- traefik.http.routers.<< whoami_service_name >>-https.tls.certresolver=<< whoami_tls_certresolver >>
<%- if whoami_chain_middleware %>
- traefik.http.routers.<< whoami_service_name >>-https.middlewares=<< whoami_chain_middleware >>
<%- endif %>
<%- endif %>
networks:
- << traefik_network >>
restart: << restart_policy >>
<%- endif %>
networks:
<< traefik_network >>:
<%- if traefik_network_external %>
external: true
<%- else %>
driver: bridge
name: << traefik_network >>
<%- endif %>