-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
43 lines (39 loc) · 961 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3.7"
services:
db:
image: couchdb:2.3.1
volumes:
- db_data:/opt/couchdb/data
ports:
- "5984:5984"
environment:
- "COUCHDB_USER=${COUCHDB_USER}"
- "COUCHDB_PASSWORD=${COUCHDB_PASSWORD}"
s3:
image: minio/minio:RELEASE.2020-02-07T23-28-16Z
ports:
- "9000:9000"
volumes:
- s3_data:/data
command: server /data
environment:
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
rabbitmq:
image: rabbitmq:3.7-alpine
app:
build: .
volumes:
- ./:/src/
depends_on:
- rabbitmq
- db
- s3
ports:
- "8000:8000"
environment:
PYTHONUNBUFFERED: 0
command: python -m medblocks.run
volumes:
db_data:
s3_data: