2023-08-13 12:36:25 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Biboumi IRC Gateway for XMPP
|
|
|
|
Wants=container-build@%N.service container-volume@%N.service prosody.service prosody-component-register@%N.service
|
2023-11-05 16:47:27 +00:00
|
|
|
After=container-build@%N.service container-volume@%N.service prosody.service
|
|
|
|
Before=prosody-component-register@%N.service
|
|
|
|
PropagatesStopTo=prosody-component-register@%p-%i.service
|
2023-08-13 12:36:25 +00:00
|
|
|
|
|
|
|
[Container]
|
|
|
|
ContainerName=%N
|
|
|
|
EnvironmentFile=%E/coreos-home-server/%N/%N.env
|
|
|
|
Image=localhost/%N:latest
|
|
|
|
Network=internal
|
|
|
|
Volume=%N:/var/lib/%N:z
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|