system-config/infra/etc/containers/systemd/forgejo.container
Mathieu Strypsteen b649d74d6a
All checks were successful
ShellCheck / shellcheck (push) Successful in 18s
Remove .volume suffix
2024-12-28 10:40:07 +01:00

12 lines
364 B
Text

[Container]
Image=codeberg.org/forgejo/forgejo:9-rootless
Network=nginx.network
Volume=/var/lib/system-config/container-config/forgejo:/etc/gitea:z,ro
Volume=systemd-forgejo:/var/lib/gitea:U,Z
Secret=forgejo-token
Secret=forgejo-jwt-secret
Environment=GITEA_APP_INI=/etc/gitea/app.ini
PublishPort=2222:2222
AutoUpdate=registry
[Install]
WantedBy=multi-user.target