Set up Forgejo role and migrate Gitea to Forgejo 11

This commit is contained in:
Jef Roosens 2026-04-07 16:08:00 +02:00
parent 1c9721f0b2
commit 300358fa98
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
10 changed files with 319 additions and 19 deletions

View file

@ -0,0 +1,18 @@
# vim: ft=systemd
[Container]
Image=docker.io/postgres:{{ forgejo_postgres_version }}-alpine
Pod=forgejo.pod
Environment=POSTGRES_USER=gitea POSTGRES_PASSWORD=gitea POSTGRES_DB=gitea
HealthCmd=["pg_isready","-U","gitea"]
HealthInterval=30s
HealthRetries=3
HealthStartPeriod=30s
HealthTimeout=5s
Notify=Healthy
Volume={{ forgejo_postgres_dir }}:/var/lib/postgresql/data
[Service]
Restart=always