-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
89 lines (88 loc) · 2.09 KB
/
docker-compose.yml
File metadata and controls
89 lines (88 loc) · 2.09 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
version: '3.7'
services:
seqview:
build: .
command: bash /entrypoints/entrypoint.sh
volumes:
- ./src/genome-browser:/usr/src/seqview/
- ./entrypoints:/entrypoints
- ./static:/usr/src/seqview/static/
environment:
- "DEBUG=${DEBUG}"
- "HOST=${HOST}"
- "SECRET_KEY=${SECRET_KEY}"
- "DJANGO_PWORD=${DJANGO_PWORD}"
- "DJANGO_SUPERUSER_USERNAME=${DJANGO_SUPERUSER_USERNAME}"
- "DJANGO_SUPERUSER_PASSWORD=${DJANGO_SUPERUSER_PASSWORD}"
expose:
- 8000
networks:
- main
depends_on:
- db
container_name: seqview
db:
build:
context: .
dockerfile: Dockerfile_mysql
environment:
- "DJANGO_HOST=${DJANGO_HOST}"
- "DJANGO_USER=${DJANGO_USER}"
- "DJANGO_PWORD=${DJANGO_PWORD}"
- "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}"
volumes:
- ./schemas:/docker-entrypoint-initdb.d/:ro
networks:
- main
container_name: db
nginx:
build:
context: .
dockerfile: Dockerfile_nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./fastcgi_params:/etc/nginx/fastcgi_params
- ./static:/usr/share/nginx/html/static
- ./resources:/usr/share/nginx/html/resources
- ./src/upload:/usr/share/nginx/html/scripts
ports:
- "8000:80"
depends_on:
- seqview
networks:
- main
container_name: nginx
higlass:
build:
context: .
dockerfile: Dockerfile_higlass
devices:
- "/dev/fuse:/dev/fuse"
cap_add:
- SYS_ADMIN
command: bash /mysql-entrypoints/higlass-entrypoint.sh
volumes:
- ./src/higlassWrapper:/usr/src/higlassWrapper
- ./entrypoints:/mysql-entrypoints
- ./hg-data:/data
- ./hg-tmp:/tmp
expose:
- 80
ports:
- "9000:9000"
networks:
- main
container_name: higlass
fcgiwrap:
build:
context: .
dockerfile: Dockerfile_fcgiwrap
volumes:
- ./src/upload:/usr/share/nginx/html/scripts
expose:
- 9001
networks:
- main
container_name: fcgiwrap
networks:
main: