This commit is contained in:
Maurice
2025-10-04 19:41:55 +02:00
parent a4e6125a7d
commit fbf33041d1
3 changed files with 9 additions and 1 deletions

View File

@@ -7,4 +7,8 @@ mkdir -p /var/containers/gitea/runner
cp -f ./runner-config.yaml /var/containers/gitea/runner/config.yaml
cp -f ./custom /var/containers/gitea/config/custom
chown -R podman:podman /var/containers/gitea
chown -R podman:podman /var/containers/gitea
# Create gitea database if it doesn't exist; using PostgreSQL
cd /tmp
su -c "podman exec -it postgres psql -U admin -c 'CREATE DATABASE gitea;'" podman