convert gitea to stack

This commit is contained in:
poslop
2024-10-11 12:15:32 -05:00
parent c2bf5cc443
commit c03b641fd8
2 changed files with 43 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
services:
gitea:
image: gitea/gitea:latest
environment:
- GITEA__service__DISABLE_REGISTRATION=true
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
- gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
#ports:
#- "3030:3000"
networks:
- caddy
networks:
caddy:
name: caddy
external: true
volumes:
gitea:
name: gitea