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