mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-09 15:42:09 +00:00
Added memcached to production docker compose, also added worker command for test compose
This commit is contained in:
@@ -24,3 +24,9 @@ worker:
|
|||||||
env_file:
|
env_file:
|
||||||
- ./prod.env
|
- ./prod.env
|
||||||
command: bundle exec rake jobs:work RAILS_ENV=production
|
command: bundle exec rake jobs:work RAILS_ENV=production
|
||||||
|
|
||||||
|
memcached:
|
||||||
|
extends:
|
||||||
|
file: docker-compose-common.yml
|
||||||
|
service: memcached
|
||||||
|
restart: always
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ worker:
|
|||||||
- db
|
- db
|
||||||
- memcached
|
- memcached
|
||||||
restart: always
|
restart: always
|
||||||
|
command: bundle exec rake jobs:work RAILS_ENV=production
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
extends:
|
extends:
|
||||||
|
|||||||
Reference in New Issue
Block a user