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
|
user: django
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
# - redis
|
|
||||||
command: /live-gunicorn-mhackspace.sh
|
command: /live-gunicorn-mhackspace.sh
|
||||||
env_file: .env
|
env_file: .env
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
- sockets:/data/sockets
|
- sockets:/data/sockets
|
||||||
|
|
||||||
node:
|
|
||||||
image: node:7-onbuild
|
|
||||||
command: npm install
|
|
||||||
volumes:
|
|
||||||
- ./:/usr/src/app
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
|
||||||
|
@ -62,3 +55,10 @@ services:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
command: celery -A mhackspace.celeryapp beat -l INFO
|
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
|
- .:/app
|
||||||
- sockets:/data/sockets
|
- sockets:/data/sockets
|
||||||
|
|
||||||
node:
|
|
||||||
image: node:7-onbuild
|
|
||||||
command: npm install
|
|
||||||
volumes:
|
|
||||||
- ./:/usr/src/app
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
|
||||||
|
@ -62,3 +56,10 @@ services:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
command: celery -A mhackspace.celeryapp beat -l INFO
|
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