feat: gitea and woodpecker

This commit is contained in:
SauravDhakal
2026-04-01 12:25:04 +05:45
parent 32b90be079
commit c03b9eed6c
3 changed files with 68 additions and 0 deletions

20
services/gitea.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
gitea:
image: gitea/gitea:latest
restart: unless-stopped
user: "1000:1000"
ports:
- "127.0.0.1:3000:3000"
- "2222:22" # git ssh — different port to avoid conflict
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=sqlite3
- GITEA__database__PATH=/data/gitea/gitea.db
- GITEA__server__DOMAIN=gitea.sauravdhakal.com.np
- GITEA__server__ROOT_URL=https://gitea.sauravdhakal.com.np
- GITEA__server__SSH_DOMAIN=gitea.sauravdhakal.com.np
- GITEA__server__SSH_PORT=2222
- GITEA__service__DISABLE_REGISTRATION=true # only you use this
volumes:
- /home/saurav/hetzner_self/data/gitea:/data