forked from openvar/rest_variantValidator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (60 loc) · 1.37 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3'
services:
rv-vdb:
build:
context: .
dockerfile: db_dockerfiles/vdb/Dockerfile
ports:
- "33061:3306"
expose:
- "33061" # Expose port for external access
rv-vvta:
build:
context: .
dockerfile: db_dockerfiles/vvta/Dockerfile
ports:
- "54321:5432"
expose:
- "54321" # Expose port for external access
shm_size: 2g
rv-seqrepo:
build:
context: .
dockerfile: db_dockerfiles/seqrepo/Dockerfile
volumes:
- seqdata:/usr/local/share/seqrepo # Mount volume for sequence data
rest-variantvalidator:
build: .
entrypoint: /bin/bash
command: ["-c", "sleep infinity"]
restart: always
depends_on:
- rv-vdb
- rv-vvta
- rv-seqrepo
volumes:
- vv-logs:/usr/local/share/logs # Mount volume for logs
- seqdata:/usr/local/share/seqrepo # Mount volume for sequence data
ports:
- "5000:5000"
- "5050:5050"
- "8000:8000"
- "9000:9000"
expose:
- "5000" # Expose ports for external access
- "5050"
- "8000"
- "8080"
volumes:
seqdata:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '${HOME}/variantvalidator_data/seqdata'
vv-logs:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '${HOME}/variantvalidator_data/logs'