christianlempa-boilerplates/docker-compose/whoami/docker-compose.yml

18 lines
403 B
YAML
Raw Normal View History

2022-01-01 15:21:03 +01:00
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