diff --git a/container-config/act-runner/config.yaml b/container-config/act-runner/config.yaml index 8ff9397..63a9852 100644 --- a/container-config/act-runner/config.yaml +++ b/container-config/act-runner/config.yaml @@ -1,3 +1,2 @@ container: docker_host: '-' - options: --oom-score-adj=200 diff --git a/container-config/forgejo/app.ini b/container-config/forgejo/app.ini index 010a16b..e3911b7 100644 --- a/container-config/forgejo/app.ini +++ b/container-config/forgejo/app.ini @@ -1,4 +1,4 @@ -WORK_PATH = /data +WORK_PATH = /var/lib/gitea [database] DB_TYPE = sqlite3 [repository] diff --git a/home/etc/containers/systemd/forgejo.container b/home/etc/containers/systemd/forgejo.container index 6c3c586..4fd6dc6 100644 --- a/home/etc/containers/systemd/forgejo.container +++ b/home/etc/containers/systemd/forgejo.container @@ -1,9 +1,9 @@ [Container] -Image=docker.io/gitea/gitea:latest-rootless +Image=codeberg.org/forgejo/forgejo:1.21-rootless UserNS=auto Network=nginx.network Volume=/var/lib/system-config/container-config/forgejo/app.ini:/etc/gitea/app.ini:Z,ro -Volume=forgejo.volume:/data:U,Z +Volume=forgejo.volume:/var/lib/gitea:U,Z Secret=forgejo-token AutoUpdate=registry [Install]