Skip to content

Commit 3537d54

Browse files
tiangolosolidnerd
authored andcommitted
🔧 Apply healthcheck from main Docker Compose to Docker Compose for Docker Swarm
1 parent bbcb384 commit 3537d54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎docker-compose.swarm.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ services:
7676
volumes:
7777
- gitlab-data:/home/git/data:Z
7878
- certs-data:/certs
79+
healthcheck:
80+
test: ["CMD", "/usr/local/sbin/healthcheck"]
81+
interval: 5m
82+
timeout: 10s
83+
retries: 3
84+
start_period: 5m
7985
networks:
8086
# To communicate with other services in this stack
8187
- default

0 commit comments

Comments
 (0)