git.archive.hostux.fr -> git.hostux.fr; selinux and seccomp options
This commit is contained in:
parent
bc5c4f51db
commit
7766fded72
2 changed files with 6 additions and 2 deletions
|
@ -7,12 +7,16 @@ ContainerName=forgejo-runner
|
||||||
|
|
||||||
User=0
|
User=0
|
||||||
SecurityLabelDisable=true
|
SecurityLabelDisable=true
|
||||||
|
SeccompProfile=/usr/share/containers/seccomp.json
|
||||||
|
|
||||||
Image=code.forgejo.org/forgejo/runner:3.3.0
|
Image=code.forgejo.org/forgejo/runner:3.3.0
|
||||||
Exec=forgejo-runner --config config.yml daemon
|
Exec=forgejo-runner --config config.yml daemon
|
||||||
|
|
||||||
|
Environment=DOCKER_HOST=unix:///run/user/987/podman/podman.sock
|
||||||
|
|
||||||
Volume=forgejo-runner_data:/data
|
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
|
Network=pasta
|
||||||
|
|
||||||
|
|
2
install
2
install
|
@ -6,7 +6,7 @@ source "${SCRIPT_DIR}/pretty_print" # Includes our nice print function
|
||||||
|
|
||||||
CONTAINERS_SYSTEMD_DIR="/var/lib/forgejo-runner/.config/containers/systemd"
|
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
|
if [ "$1" = "--skip-init" ]; then
|
||||||
pretty_print "Skipping the initial configuration." yellow bold
|
pretty_print "Skipping the initial configuration." yellow bold
|
||||||
|
|
Loading…
Reference in a new issue