Migration to newer dockge/compose stack

This commit is contained in:
Colin Hebert
2024-09-26 15:59:37 +02:00
parent 1d52e2ac75
commit dfe252e945
104 changed files with 752 additions and 666 deletions

View File

@@ -1,18 +1,18 @@
version: "3.8"
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
services:
gitea:
extends:
file: ../compose.base.yaml
service: exposed-service
container_name: gitea
image: gitea/gitea:latest-rootless
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
volumes:
- ${NASCOMPOSE_DATA?}/git:/var/lib/gitea/git/lfs
- ${NASCOMPOSE_SERVICES?}/git/volumes/gitea_data:/var/lib/gitea
- ${NASCOMPOSE_SERVICES?}/git/volumes/gitea_config:/etc/gitea
networks:
- reverse-proxy
restart: unless-stopped
- ./volumes/gitea_data:/var/lib/gitea
- ./volumes/gitea_config:/etc/gitea
labels:
traefik.enable: true
traefik.http.services.gitea.loadbalancer.server.port: 3000
traefik.tcp.routers.gitea.entryPoints: ssh
traefik.tcp.routers.gitea.rule: HostSNI(`*`)

View File

View File