You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

version: "2"
services:
homer:
image: b4bz/homer:latest
restart: unless-stopped
volumes:
- ./assets/:/www/assets
expose:
- 8080
networks:
- management-services
labels:
- traefik.enable=true
- traefik.docker.network=management-services
- traefik.http.routers.homer.entrypoints=websecure
- traefik.http.routers.homer.rule=HostRegexp(`home.adyanth.{root:\w+}`, `10.10.10.3`)
- traefik.http.routers.homer.tls
environment:
- UID=1000
- GID=1000
whoami:
image: traefik/whoami:latest
restart: unless-stopped
expose:
- 80
networks:
- management-services
labels:
- traefik.enable=true
- traefik.docker.network=management-services
- traefik.http.routers.whoami.entrypoints=websecure
- traefik.http.routers.whoami.rule=HostRegexp(`home.adyanth.{root:\w+}`) && PathPrefix(`/whoami`)
- traefik.http.routers.whoami.middlewares=append-cf-xff@file,oidc@file
- traefik.http.routers.whoami.tls
networks:
management-services:
external: true