services/registry/docker-compose.traefik.yml

15 lines
334 B
YAML
Raw Permalink Normal View History

2020-06-01 09:42:30 +02:00
version: '3.8'
networks:
default:
name: ${TRAEFIK_NETWORK_NAME}
external: true
2020-06-01 09:42:30 +02:00
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'