-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1.21 KB
/
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
44
45
46
47
48
49
50
version: "3.8"
networks:
my-app-network:
external: true
services:
beacon-ri-tools-v2:
build:
context: ./
container_name: ri-tools
volumes:
- ./output_docs:/usr/src/app/output_docs
- ./conf:/usr/src/app/conf
- ./files/headers:/files/headers
- ./files/deref_schemas:/files/deref_schemas
- ./scripts/datasheet/conf:/usr/src/app/scripts/datasheet/conf
- ./files/vcf/files_to_read:/usr/src/app/files/vcf/files_to_read
- ./csv:/usr/src/app/csv
networks:
- my-app-network
db:
container_name: ri-tools-mongo
image: mongo:5
command: --wiredTigerCacheSizeGB 4
hostname: mongo
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
MONGO_INITDB_DATABASE: beacon
volumes:
- ./mongo-init/:/docker-entrypoint-initdb.d/:ro
networks:
- my-app-network
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
networks:
- my-app-network