Migration to newer dockge/compose stack
This commit is contained in:
@@ -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(`*`)
|
||||
0
git/volumes/gitea_config/.gitkeep
Normal file
0
git/volumes/gitea_config/.gitkeep
Normal file
0
git/volumes/gitea_data/.gitkeep
Normal file
0
git/volumes/gitea_data/.gitkeep
Normal file
Reference in New Issue
Block a user