1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-24 17:04:43 +00:00

Added healthcheck to docker compose files for workers

This commit is contained in:
2018-07-07 12:26:33 -04:00
parent 018bccb1ef
commit 5033f1fcb4
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ worker:
restart: always
env_file:
- ./prod.env
healthcheck:
test: ps -ef | grep rake | grep ruby
command: bundle exec rake jobs:work RAILS_ENV=production
memcached:

View File

@@ -47,6 +47,8 @@ worker:
- db
- memcached
restart: always
healthcheck:
test: ps -ef | grep rake | grep ruby
command: bundle exec rake jobs:work RAILS_ENV=production
memcached: