mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
26 lines
789 B
YAML
26 lines
789 B
YAML
# Forgejo - Self-hosted Git forge
|
|
# Host: helsinki-a (100.67.6.27)
|
|
# Data: /srv/forgejo/data
|
|
# Access: https://git.pez.sh (via Caddy reverse proxy)
|
|
# SSH: git.pez.sh:2222
|
|
|
|
services:
|
|
forgejo:
|
|
image: codeberg.org/forgejo/forgejo:10
|
|
container_name: forgejo
|
|
restart: unless-stopped
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- FORGEJO__server__ROOT_URL=https://git.pez.sh
|
|
- FORGEJO__server__SSH_DOMAIN=git.pez.sh
|
|
- FORGEJO__server__SSH_PORT=22
|
|
- FORGEJO__server__HTTP_PORT=3000
|
|
- FORGEJO__server__DISABLE_SSH=false
|
|
- FORGEJO__service__DISABLE_REGISTRATION=true
|
|
- FORGEJO__service__REQUIRE_SIGNIN_VIEW=false
|
|
ports:
|
|
- '127.0.0.1:3000:3000'
|
|
- '0.0.0.0:2222:22'
|
|
volumes:
|
|
- /srv/forgejo/data:/data
|