Merge branch 'master' of ssh://192.168.0.197:222/steve/steveternet

This commit is contained in:
Steve Dudenhoeffer 2024-03-16 23:23:52 +00:00
commit 88b3d13fce

View File

@ -1,41 +1,41 @@
version: "3" version: "3"
services: services:
gitea: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest
container_name: gitea container_name: gitea
hostname: gitea hostname: gitea
environment: environment:
- USER_UID=${GROUP_ID} - USER_UID=${USER_ID}
- USER_GID=${USER_ID} - USER_GID=${GROUP_ID}
- DOMAIN_ROOT=${DOMAIN_ROOT} - DOMAIN_ROOT=${DOMAIN_ROOT}
- "SSH_PORT=${SSH_PORT:-222}" - "SSH_PORT=${SSH_PORT:-222}"
restart: always restart: always
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.gitea.rule=Host(`gitea.${DOMAIN_ROOT}`)" - "traefik.http.routers.gitea.rule=Host(`gitea.${DOMAIN_ROOT}`)"
- "traefik.http.services.gitea.loadbalancer.server.port=3000" - "traefik.http.services.gitea.loadbalancer.server.port=3000"
- 'traefik.http.routers.gitea.middlewares=authelia@docker' - 'traefik.http.routers.gitea.middlewares=authelia@docker'
volumes: volumes:
- gitea_data:/data - gitea_data:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "${SSH_PORT}:222" - "${SSH_PORT}:222"
networks: networks:
- web - web
networks: networks:
web: web:
external: true external: true
volumes: volumes:
gitea_data: gitea_data:
external: true external: true