51 lines
1.4 KiB
Desktop File
51 lines
1.4 KiB
Desktop File
# container-woodpecker-server.service
|
|
# autogenerated by Podman 4.9.5
|
|
# Fri Aug 8 21:19:46 UTC 2025
|
|
|
|
[Unit]
|
|
Description=Podman container-woodpecker-server.service
|
|
Documentation=man:podman-generate-systemd(1)
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
RequiresMountsFor=%t/containers
|
|
|
|
[Service]
|
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
Restart=on-failure
|
|
TimeoutStopSec=70
|
|
ExecStart=/usr/bin/podman run \
|
|
--cidfile=%t/%n.ctr-id \
|
|
--cgroups=no-conmon \
|
|
--rm \
|
|
--sdnotify=conmon \
|
|
--replace \
|
|
-d \
|
|
--name woodpecker-server \
|
|
-p 8000:8000 \
|
|
-p 9000:9000 \
|
|
-v /srv/woodpecker:/var/lib/woodpecker:Z \
|
|
-e WOODPECKER_OPEN=false \
|
|
-e WOODPECKER_ADMIN=automation,PurePowerPh1l \
|
|
-e WOODPECKER_HOST=https://ci.pp1l.de \
|
|
-e WOODPECKER_SERVER_ADDR=:8000 \
|
|
-e WOODPECKER_SERVER_HOST=ci.pp1l.de \
|
|
-e WOODPECKER_GITEA=true \
|
|
-e WOODPECKER_GITEA_URL=https://git.pp1l.de \
|
|
-e WOODPECKER_GITEA_CLIENT=bfc43bbd-77a0-4312-9e4b-c63660917b9a \
|
|
-e WOODPECKER_GITEA_SECRET=gto_km5pahwrtvdun7kxfp3mxmia5vkpemgzcgzxijlocvrjyax2lsnq \
|
|
-e WOODPECKER_AGENT_SECRET=changeme-agent-secret \
|
|
-e WOODPECKER_DATABASE_DRIVER=sqlite3 \
|
|
-e WOODPECKER_DATABASE_DATASOURCE=/var/lib/woodpecker/woodpecker.sqlite docker.io/woodpeckerci/woodpecker-server:latest
|
|
ExecStop=/usr/bin/podman stop \
|
|
--ignore -t 10 \
|
|
--cidfile=%t/%n.ctr-id
|
|
ExecStopPost=/usr/bin/podman rm \
|
|
-f \
|
|
--ignore -t 10 \
|
|
--cidfile=%t/%n.ctr-id
|
|
Type=notify
|
|
NotifyAccess=all
|
|
|
|
[Install]
|
|
WantedBy=default.target
|