2023-09-28 11:58:49 +02:00
|
|
|
---
|
|
|
|
|
2020-05-15 23:34:50 +02:00
|
|
|
networks:
|
|
|
|
default:
|
2021-03-09 10:41:06 +01:00
|
|
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
2023-07-17 12:33:30 +02:00
|
|
|
external: true
|
2020-05-15 23:34:50 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
gitea:
|
|
|
|
labels:
|
2023-02-21 11:58:06 +01:00
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-gitea}.rule=Host(`${GITEA_DOMAIN:?err}`)
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-gitea}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|
|
|
|
- traefik.http.services.${TRAEFIK_ROUTER_NAME:-gitea}.loadbalancer.server.port=3000
|