Skip to content

Commit c7821ce

Browse files
authored
manager: add healthcheck for the osismclient service (#1586)
Signed-off-by: Christian Berendt <[email protected]>
1 parent 7055417 commit c7821ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roles/manager/templates/docker-compose.yml.j2

+2
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ services:
275275
restart: unless-stopped
276276
image: "{{ osism_image }}"
277277
command: sleep infinity
278+
healthcheck:
279+
test: pgrep sleep
278280
{% if enable_netbox|bool %}
279281
secrets:
280282
- NETBOX_TOKEN

0 commit comments

Comments
 (0)