From bf3a5170b41b7367ce86953c03200cc180567ab9 Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Fri, 26 Jan 2018 20:02:24 +0000 Subject: [PATCH] Add bucket container to stge and live remove node container --- live.yml | 14 +++++++------- stage.yml | 13 +++++++------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/live.yml b/live.yml index bd819da..a634b9d 100644 --- a/live.yml +++ b/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 diff --git a/stage.yml b/stage.yml index 7760e90..16ac030 100644 --- a/stage.yml +++ b/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