1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Upgrade to mysql 5.7, tag memcached 1.5, and check for PID 1 on workers instead of ps. ps generates apparmor errors in the docker daemon.

This commit is contained in:
2018-07-24 13:58:59 +00:00
parent 9183a16d5d
commit cb22111c3c
2 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ services:
test: curl --insecure https://127.0.0.1/
db:
image: mysql:5.5
image: mysql:5.7
ports:
- "3306:3306"
volumes:
@@ -42,12 +42,12 @@ services:
env_file:
- ./prod.env
healthcheck:
test: ps -ef | grep rake | grep ruby
test: kill -0 1
command: bundle exec rake jobs:work RAILS_ENV=production
memcached:
image: memcached
image: memcached:1.5
mem_limit: 64000000
restart: always
networks:

View File

@@ -42,7 +42,7 @@ services:
test: curl --insecure https://127.0.0.1/
db:
image: mysql:5.5
image: mysql:5.7
ports:
- "3306:3306"
volumes:
@@ -82,7 +82,7 @@ services:
caching:
restart: always
healthcheck:
test: ps -ef | grep rake | grep ruby
test: kill -0 1
command: bundle exec rake jobs:work RAILS_ENV=production
deploy:
resources:
@@ -94,7 +94,7 @@ services:
memory: 256M
memcached:
image: memcached
image: memcached:1.5
deploy:
resources:
limits: