mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
docker: add healthcheck
This commit is contained in:
parent
3aaf53442b
commit
188a92d124
1
.github/workflows/Dockerfile.ci.alpine
vendored
1
.github/workflows/Dockerfile.ci.alpine
vendored
@ -104,3 +104,4 @@ VOLUME ["/data"]
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
||||||
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
||||||
|
HEALTHCHECK CMD ["/app/lldap", "run", "--config-file", "/data/lldap_config.toml"]
|
||||||
|
1
.github/workflows/Dockerfile.ci.debian
vendored
1
.github/workflows/Dockerfile.ci.debian
vendored
@ -69,3 +69,4 @@ VOLUME ["/data"]
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
||||||
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
||||||
|
HEALTHCHECK CMD ["/app/lldap", "run", "--config-file", "/data/lldap_config.toml"]
|
||||||
|
@ -64,3 +64,4 @@ EXPOSE ${LDAP_PORT} ${HTTP_PORT}
|
|||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
||||||
|
HEALTHCHECK CMD ["/app/lldap", "run", "--config-file", "/data/lldap_config.toml"]
|
||||||
|
Loading…
Reference in New Issue
Block a user