feat: gitea and woodpecker
This commit is contained in:
20
services/gitea.yml
Normal file
20
services/gitea.yml
Normal 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
|
||||
Reference in New Issue
Block a user