This commit is contained in:
Maurice
2025-10-04 19:07:31 +02:00
parent fbdca459c7
commit 7dc2c3d6a0
13 changed files with 224 additions and 10 deletions

View File

@@ -0,0 +1,43 @@
user = "podman"
[service]
name = "gitea"
image = "docker.gitea.com/gitea:latest-rootless"
depend = ["postgres.service"]
[environment]
GITEA__database__DB_TYPE = "postgres"
GITEA__database__HOST = "postgres:5432"
GITEA__database__NAME = "gitea"
GITEA__database__USER = "admin"
GITEA__database__PASSWD = "welcome123"
GITEA_RUNNER_REGISTRATION_TOKEN_FILE = "/run/secrets/gitea-runner-registration-token"
GITEA_CUSTOM = "/etc/gitea/custom"
[[networks]]
name = "gitea-net"
group = "caddy"
[[networks]]
name = "gitea-net"
group = "postgres"
[[mounts]]
typ = "bind"
source = "/etc/timezone"
target = "/etc/timezone"
read_only = true
[[mounts]]
typ = "bind"
source = "/etc/localtime"
target = "/etc/localtime"
read_only = true
[[volumes]]
source = "/var/containers/gitea/data"
target = "/data"
[[volumes]]
source = "/var/containers/gitea/config"
target = "/etc/gitea"