-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwhoami.yml
More file actions
24 lines (22 loc) · 718 Bytes
/
whoami.yml
File metadata and controls
24 lines (22 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3'
services:
whoami:
image: containous/whoami
container_name: whoami
security_opt:
- no-new-privileges:true
labels:
# Enable this container to be mapped by traefik
# For more information, see: https://docs.traefik.io/providers/docker/#exposedbydefault
- "traefik.enable=true"
# URL to reach this container
- "traefik.http.routers.whoami.rule=Host(`whoami.this.test`)"
# Activation of TLS
- "traefik.http.routers.whoami.tls=true"
# If port is different than 80, use the following service:
# - "traefik.http.services.<service_name>.loadbalancer.server.port=<port>"
networks:
- proxy
networks:
proxy:
external: true