Skip to content

Commit

Permalink
manager: add healthcheck for the osismclient service (#1586)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt authored Sep 9, 2024
1 parent 7055417 commit c7821ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/manager/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ services:
restart: unless-stopped
image: "{{ osism_image }}"
command: sleep infinity
healthcheck:
test: pgrep sleep
{% if enable_netbox|bool %}
secrets:
- NETBOX_TOKEN
Expand Down

0 comments on commit c7821ce

Please # to comment.