-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (59 loc) · 1.25 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
version: "2"
services:
sql:
image: vera/cruise_sql
# build:
# context: ./cruise_sql
container_name: cruise_sql
# command: update
env_file:
- browser_config
ports:
- "3306:3306"
volumes:
# change this to mount a different host directory for the mysql data dir
- ./sqldb:/var/lib/mysql
- ./cruise_scripts:/usr/local/bin
networks:
- cruise_nw
www:
image: vera/cruise_www
# build:
# context: ./cruise_www
container_name: cruise_www
env_file:
- browser_config
ports:
- "80:80"
- "443:443"
volumes:
- ./gbdb:/gbdb:ro
- ./cruise_scripts:/usr/local/bin
networks:
- cruise_nw
admin:
image: vera/cruise_admin
container_name: cruise_admin
env_file:
- browser_config
volumes:
- ./gbdb:/gbdb:rw
networks:
- cruise_nw
depends_on:
- www
- sql
# UNCOMMENT BELOW TO ENABLE BLAT ON THE SAME HOST RUNNING THE BROWSER
# MAKE SURE YOU HAVE ENOUGH RAM ON HOST (>500MByte/GBase for DNA, >1GB/GBase for Protein )
# blat:
# build: ./start_blatserver
# environment: browser_config
# ports: "10000:10000"
# volumes:
# gbdb:
# external: true
# sqldb:
# external: true
networks:
cruise_nw:
driver: bridge