mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added healthcheck to docker compose files for workers
This commit is contained in:
@@ -25,6 +25,8 @@ worker:
|
|||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- ./prod.env
|
- ./prod.env
|
||||||
|
healthcheck:
|
||||||
|
test: ps -ef | grep rake | grep ruby
|
||||||
command: bundle exec rake jobs:work RAILS_ENV=production
|
command: bundle exec rake jobs:work RAILS_ENV=production
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ worker:
|
|||||||
- db
|
- db
|
||||||
- memcached
|
- memcached
|
||||||
restart: always
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ps -ef | grep rake | grep ruby
|
||||||
command: bundle exec rake jobs:work RAILS_ENV=production
|
command: bundle exec rake jobs:work RAILS_ENV=production
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
|
|||||||
Reference in New Issue
Block a user