forgejo-runner-services/forgejo-runner.container

23 lines
402 B
Text

[Unit]
Description=Forgejo Runner
Requires=podman.socket
[Container]
ContainerName=forgejo-runner
User=0
SecurityLabelDisable=true
Image=code.forgejo.org/forgejo/runner:3.3.0
Exec=forgejo-runner --config config.yml daemon
Volume=forgejo-runner_data:/data
Volume=/run/user/987/podman/podman.sock:/var/run/docker.sock:z
Network=pasta
[Service]
Restart=on-failure
[Install]
WantedBy=default.target