Skip to content

Commit b331ac8

Browse files
committed
added healthcheck
1 parent 6f3ea69 commit b331ac8

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

services/traefik/docker-compose.aws.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ services:
33
traefik:
44
command:
55
- "--api=true"
6+
- "--ping=true"
7+
- "--entryPoints.ping.address=:9082"
8+
- "--ping.entryPoint=ping"
69
- "--api.dashboard=true"
710
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
811
- "--accesslog=false"

services/traefik/docker-compose.dalco.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ services:
33
traefik:
44
command:
55
- "--api=true"
6+
- "--ping=true"
7+
- "--entryPoints.ping.address=:9082"
8+
- "--ping.entryPoint=ping"
69
- "--api.dashboard=true"
710
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
811
- "--accesslog=false"

services/traefik/docker-compose.letsencrypt.http.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ services:
33
traefik:
44
command:
55
- "--api=true"
6+
- "--ping=true"
7+
- "--entryPoints.ping.address=:9082"
8+
- "--ping.entryPoint=ping"
69
- "--api.dashboard=true"
710
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
811
- "--accesslog=false"

services/traefik/docker-compose.local.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ services:
88
- "/bin/sh"
99
- "/customEntrypoint.sh"
1010
- "--api=true"
11+
- "--ping=true"
12+
- "--entryPoints.ping.address=:9082"
13+
- "--ping.entryPoint=ping"
1114
- "--api.dashboard=true"
1215
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
1316
- "--accesslog=true"

services/traefik/docker-compose.master.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ services:
33
traefik:
44
command:
55
- "--api=true"
6+
- "--ping=true"
7+
- "--entryPoints.ping.address=:9082"
8+
- "--ping.entryPoint=ping"
69
- "--api.dashboard=true"
710
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
811
- "--accesslog=false"

services/traefik/docker-compose.public.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ services:
44
dns: 8.8.8.8 # This is critical to make the ACME challange work
55
command:
66
- "--api=true"
7+
- "--ping=true"
8+
- "--entryPoints.ping.address=:9082"
9+
- "--ping.entryPoint=ping"
710
- "--api.dashboard=true"
811
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
912
- "--accesslog=false"

0 commit comments

Comments
 (0)