git.archive.hostux.fr -> git.hostux.fr; selinux and seccomp options

This commit is contained in:
Louis Guidez 2024-03-19 21:05:17 +01:00
parent bc5c4f51db
commit 7766fded72
2 changed files with 6 additions and 2 deletions

View file

@ -7,12 +7,16 @@ ContainerName=forgejo-runner
User=0
SecurityLabelDisable=true
SeccompProfile=/usr/share/containers/seccomp.json
Image=code.forgejo.org/forgejo/runner:3.3.0
Exec=forgejo-runner --config config.yml daemon
Environment=DOCKER_HOST=unix:///run/user/987/podman/podman.sock
Volume=forgejo-runner_data:/data
Volume=/run/user/987/podman/podman.sock:/var/run/docker.sock:z
Volume=/run/user/987/podman/podman.sock:/run/user/987/podman/podman.sock
Volume=/usr/share/containers/seccomp.json:/usr/share/containers/seccomp.json:ro
Network=pasta

View file

@ -6,7 +6,7 @@ source "${SCRIPT_DIR}/pretty_print" # Includes our nice print function
CONTAINERS_SYSTEMD_DIR="/var/lib/forgejo-runner/.config/containers/systemd"
FORGEJO_INSTANCE="https://git.archive.hostux.fr"
FORGEJO_INSTANCE="https://git.hostux.fr"
if [ "$1" = "--skip-init" ]; then
pretty_print "Skipping the initial configuration." yellow bold