-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
106 lines (98 loc) · 2.2 KB
/
docker-compose-dev.yml
File metadata and controls
106 lines (98 loc) · 2.2 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
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
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
depends_on:
- db
- redis
dcd-mapping:
build: ../dcd_mapping
platform: linux/amd64
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:
- ../dcd_mapping:/usr/src/app
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
cdot-rest:
build: ../cdot_rest
image: cdot-rest:dev
command: bash -c "gunicorn cdot_rest.wsgi:application --bind 0.0.0.0:8000"
env_file:
- settings/.env.dev
depends_on:
- redis
- seqrepo
ports:
- "8006:8000"
volumes:
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
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
seqrepo:
image: biocommons/seqrepo:2024-12-20
volumes:
- mavedb-seqrepo-dev:/usr/local/share/seqrepo
volumes:
mavedb-data-dev:
mavedb-redis-dev:
mavedb-seqrepo-dev: