Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added health checks for grouper_data and grouper_daemon
ethan committed Nov 25, 2019
1 parent 4fc009f commit cf27258
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions demo/grouper/docker-compose.yml
@@ -18,6 +18,11 @@ services:
net:
aliases:
- grouper-daemon
healthcheck:
test: curl -s grouper_data:3306
interval: 30s
timeout: 30s
retries: 3
secrets:
- g_database_password.txt
- rabbitmq_password.txt
@@ -138,6 +143,11 @@ services:
- grouper-data
ports:
- 3306:3306
healthcheck:
test: curl -s grouper_data:3306
interval: 30s
timeout: 30s
retries: 3
volumes:
- grouper_data:/var/lib/mysql

0 comments on commit cf27258

Please sign in to comment.