-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.docker-compose.yml
59 lines (56 loc) · 1.73 KB
/
example.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
services:
epivar-server:
user: $USER:$USER
image: ghcr.io/c3g/epivar-server:latest
networks:
- epivar-server-net
- epivar-redis-net
- epivar-db-net
env_file:
- ./example.secrets.env
environment:
- NODE_ENV=production
- EPIVAR_REDIS_CONNECTION=redis://epivar-redis:6379
- EPIVAR_IMPORT_MAX_P_VAL=0.05
- EPIVAR_LOW_COUNT_THRESHOLD=5
volumes:
# dataset configuration: about Markdown file, EpiVar config.js
- /path/to/about.md:/app/data/about.md # about file
- /path/to/config.js:/app/config.js:ro # dataset configuration file, see config.example.js
# genotypes: VCF + index file
- /path/to/genotypes.vcf.gz:/app/data/genotypes.vcf.gz:ro
- /path/to/genotypes.vcf.gz.tbi:/app/data/genotypes.vcf.gz.tbi:ro
# peaks files
- /path/to/matrices:/app/input-files/matrices:ro
- /path/to/qtls:/app/input-files/qtls:ro
# tracks:
# - metadata JSON file,
- /path/to/metadata.json:/app/data/metadata.json:ro
# - sample bigWigs,
- /path/to/tracks:/tracks:ro
# - writeable volume for on-the-fly merged tracks,
- volumes/mergedTracks:/mergedTracks
# - other static tracks for showing in the UCSC browser.
- /path/to/ucsc.other-tracks.txt:/app/data/ucsc.other-tracks.txt:ro
epivar-redis:
image: redis:7.2
networks:
- epivar-redis-net
volumes:
- volumes/redis:/data
epivar-db:
image: postgres:16
networks:
- epivar-db-net
volumes:
- volumes/db:/var/lib/postgresql/data
networks:
epivar-server-net:
driver: bridge
internal: true
epivar-redis-net:
driver: bridge
internal: true
epivar-db-net:
driver: bridge
internal: true