mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
22 lines
576 B
Plaintext
22 lines
576 B
Plaintext
[Unit]
|
|
Description=Gitea Self-Hosted Git Service
|
|
Wants=container-build@%N.service container-volume@%N.service lldap.service
|
|
After=container-build@%N.service container-volume@%N.service lldap.service
|
|
|
|
[Container]
|
|
AutoUpdate=local
|
|
ContainerName=%N
|
|
EnvironmentFile=%E/coreos-home-server/%N/%N.env
|
|
HealthCmd=timeout 5s curl --fail --silent --show-error -o /dev/null localhost:8080/api/healthz
|
|
Image=localhost/%N:latest
|
|
Network=internal
|
|
PodmanArgs=--sdnotify=healthy
|
|
PublishPort=7920:7920
|
|
Volume=%N:/var/lib/%N:z
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|