-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-dev.yml
92 lines (84 loc) · 1.77 KB
/
docker-compose-dev.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "3"
services:
app:
image: mavedb-api/mavedb-api:dev
build:
context: .
target: application
command: bash -c "uvicorn mavedb.server_main:app --host 0.0.0.0 --port 8000 --reload"
depends_on:
- db
- redis
env_file:
- settings/.env.dev
environment:
DB_HOST: db
DB_PORT: 5432
REDIS_IP: redis
REDIS_PORT: 6379
REDIS_SSL: "false"
LOG_CONFIG: dev
ports:
- "8002:8000"
volumes:
- .:/code
worker:
image: mavedb-api/mavedb-worker:dev
build:
context: .
target: worker
command: bash -c "arq mavedb.worker.WorkerSettings --watch ./src"
env_file:
- settings/.env.dev
environment:
DB_HOST: db
DB_PORT: 5432
REDIS_IP: redis
REDIS_PORT: 6379
REDIS_SSL: "false"
LOG_CONFIG: dev
volumes:
- .:/code
depends_on:
- db
- redis
db:
image: postgres:14
env_file:
- settings/.env.dev
ports:
- "5434:5432"
volumes:
- mavedb-data-dev:/var/lib/postgresql/data
redis:
image: redis:7.2.3
env_file:
- settings/.env.dev
ports:
- "6381:6379"
volumes:
- mavedb-redis-dev:/data
dcd-mapping:
image: dcd-mapping:dev
command: bash -c "uvicorn api.server_main:app --host 0.0.0.0 --port 8000 --reload"
depends_on:
- db
- seqrepo
env_file:
- settings/.env.dev
ports:
- "8004:8000"
volumes:
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
seqrepo:
image: biocommons/seqrepo:2021-01-29
volumes:
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
# rabbitmq:
# image: rabbitmq:3.8.3
# ports:
# - "5673:5672"
volumes:
mavedb-data-dev:
mavedb-redis-dev:
mavedb-seqrepo-dev: