Add bucket container to stge and live remove node container
This commit is contained in:
parent
b662c38607
commit
bf3a5170b4
14
live.yml
14
live.yml
|
@ -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
|
||||
|
|
13
stage.yml
13
stage.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue