services/registry/docker-compose.traefik.yml

14 lines
315 B
YAML
Raw Normal View History

2020-06-01 09:42:30 +02:00
version: '3.8'
networks:
default:
name: ${TRAEFIK_NETWORK_NAME}
services:
registry:
labels:
traefik.enable: 'true'
traefik.docker.network: ${TRAEFIK_NETWORK_NAME}
traefik.http.routers.registry.rule: 'Host(`${REGISTRY_DOMAIN}`)'
traefik.http.routers.registry.entrypoints: 'web'