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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user