Files
hetzner_server/services/gitea.yml
sauravdhakal12 457ec43c8a fix: woodpecker
2026-04-01 15:23:05 +00:00

20 lines
705 B
YAML

services:
gitea:
image: gitea/gitea:latest
restart: unless-stopped
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