services/gitea/docker-compose.traefik.yml

17 lines
395 B
YAML
Raw Normal View History

version: "3.8"
networks:
default:
2021-03-09 10:41:06 +01:00
name: ${TRAEFIK_NETWORK_NAME:-traefik}
services:
gitea:
labels:
traefik.enable: 'true'
2021-03-09 10:41:06 +01:00
traefik.docker.network: ${TRAEFIK_NETWORK_NAME:-traefik}
2021-03-09 10:41:06 +01:00
traefik.http.routers.gitea.rule: 'Host(`${GITEA_DOMAIN:?err}`)'
traefik.http.routers.gitea.entrypoints: 'web'
traefik.http.services.gitea.loadbalancer.server.port: '3000'