Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e93852d

Browse files
adding a healthcheck
1 parent 1ed9d49 commit e93852d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎portainer/docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ services:
4747
networks:
4848
- dockerproxynet
4949
command: ["-H", "tcp://dockerproxy:2375"]
50+
healthcheck:
51+
test: "wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:9000 || exit 1"
52+
interval: 60s
53+
timeout: 5s
54+
retries: 3
55+
start_period: 20s
5056
ports:
5157
- 9000:9000
5258
volumes:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /