mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
01a8f60452
Binary builds are now available for LLDAP, which simplifies and makes the build process much quicker. In addition, multi-stage builds are used, which again help with caching.
21 lines
499 B
Plaintext
21 lines
499 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]
|
|
AutoUpdate=local
|
|
ContainerName=%N
|
|
EnvironmentFile=%E/coreos-home-server/%N/%N.env
|
|
HealthCmd=/usr/bin/lldap healthcheck --config-file /etc/lldap/config.toml
|
|
Image=localhost/%N:latest
|
|
Network=internal
|
|
PodmanArgs=--sdnotify=healthy
|
|
Volume=%N:/var/lib/%N:z
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|