-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcompose.yml
More file actions
34 lines (31 loc) · 747 Bytes
/
compose.yml
File metadata and controls
34 lines (31 loc) · 747 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
25
26
27
28
29
30
31
32
33
34
services:
traefik-app:
image: docker.io/nfrastack/traefik:3.5
container_name: traefik-app
ports:
- 80:80
- 443:443
volumes:
- ./certs:/certs
- ./config:/config
- ./data:/data
- ./logs:/logs
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TIMEZONE=America/Vancouver
networks:
- proxy
restart: always
whoami:
container_name: whoami
image: containous/whoami:v1.3.0
labels:
- traefik.enable=true
- traefik.http.routers.whoami.rule=HostRegexp(`whoam[i|i2).example.(com|.org)`)
- traefik.http.services.whoami.loadbalancer.server.port=80
networks:
- proxy
restart: always
networks:
proxy:
external: true