services/codimd/docker-compose.traefik.yml

14 lines
307 B
YAML

version: "3.8"
networks:
default:
name: ${TRAEFIK_NETWORK_NAME}
services:
codimd:
labels:
traefik.enable: 'true'
traefik.docker.network: ${TRAEFIK_NETWORK_NAME}
traefik.http.routers.codimd.rule: 'Host(`${CODIMD_DOMAIN}`)'
traefik.http.routers.codimd.entrypoints: 'web'