mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-03 05:36:36 +01:00
18 lines
403 B
YAML
18 lines
403 B
YAML
version: '3'
|
|
|
|
networks:
|
|
frontend:
|
|
external: true
|
|
|
|
services:
|
|
whoami:
|
|
image: traefik/whoami
|
|
container_name: whoami
|
|
networks:
|
|
- frontend
|
|
labels:
|
|
- 'traefik.enable=true'
|
|
- 'traefik.http.routers.public.rule=Host(`your-domain.com`)'
|
|
- 'traefik.http.routers.public.entrypoints=websecure'
|
|
- 'traefik.http.routers.public.tls=true'
|
|
restart: unless-stopped |