Add bucket container to stge and live remove node container

This commit is contained in:
Oliver Marks 2018-01-26 20:02:24 +00:00
parent b662c38607
commit bf3a5170b4
2 changed files with 14 additions and 13 deletions

View File

@ -23,19 +23,12 @@ services:
user: django
depends_on:
- postgres
# - redis
command: /live-gunicorn-mhackspace.sh
env_file: .env
volumes:
- .:/app
- sockets:/data/sockets
node:
image: node:7-onbuild
command: npm install
volumes:
- ./:/usr/src/app
redis:
image: redis:latest
@ -62,3 +55,10 @@ services:
- postgres
- redis
command: celery -A mhackspace.celeryapp beat -l INFO
bucket:
image: minio/minio
env_file: .env
volumes:
- ./buckets:/data
command: server /data

View File

@ -30,12 +30,6 @@ services:
- .:/app
- sockets:/data/sockets
node:
image: node:7-onbuild
command: npm install
volumes:
- ./:/usr/src/app
redis:
image: redis:latest
@ -62,3 +56,10 @@ services:
- postgres
- redis
command: celery -A mhackspace.celeryapp beat -l INFO
bucket:
image: minio/minio
env_file: .env
volumes:
- ./buckets:/data
command: server /data