19 lines
462 B
YAML
19 lines
462 B
YAML
version: "1.0"
|
|
|
|
networks:
|
|
default:
|
|
name: "${TRAEFIK_NETWORK}"
|
|
external: true
|
|
|
|
services:
|
|
whoami:
|
|
image: "containous/whoami"
|
|
container_name: "${PROJECT_NAME}_whoami"
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.${PROJECT_NAME}_whoami.entrypoints=websecure"
|
|
- "traefik.http.routers.${PROJECT_NAME}_whoami.rule=Host(`whoami.${PROJECT_URL}`)"
|
|
- "traefik.http.routers.${PROJECT_NAME}_whoami.tls=true"
|
|
|
|
|