mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
18 lines
378 B
Plaintext
18 lines
378 B
Plaintext
|
[Unit]
|
||
|
Description=LLDAP Light LDAP server
|
||
|
Wants=container-build@%N.service container-volume@%N.service
|
||
|
After=container-build@%N.service container-volume@%N.service
|
||
|
|
||
|
[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
|