-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
99 lines (96 loc) · 2.22 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: '3.5'
services:
tmweb:
image: httpd:2.4-alpine
restart: unless-stopped
network_mode: host
depends_on:
- tmapp
expose:
- 80
- 443
env_file:
- ${ENV_FILE}
volumes:
- "./transmart-web/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf"
- "./transmart-web/httpd.conf:/usr/local/apache2/conf/httpd.conf"
tmapp:
image: transmartfoundation/transmart-app:latest
restart: unless-stopped
expose:
- 8009
- 8080
ports:
- ${DOCKER_TOMCATAJP_PORT:-8009}:8009
- ${DOCKER_TOMCAT_PORT:-8080}:8080
env_file:
- ${ENV_FILE}
depends_on:
- tmdb
- tmsolr
- tmrserve
networks:
- transmart
volumes:
- "./transmart-app/Config.groovy:/usr/local/tomcat/.grails/transmartConfig/Config.groovy"
- "./transmart-app/DataSource.groovy:/usr/local/tomcat/.grails/transmartConfig/DataSource.groovy"
- "./transmart-app/setenv.sh:/usr/local/tomcat/bin/setenv.sh"
- "appdata:/root/.grails"
- "apptmp:/tmp"
- "appwebapps:/usr/local/tomcat/webapps"
- "appweblogs:/usr/local/tomcat/logs"
tmdb:
image: transmartfoundation/transmart-db:latest
restart: unless-stopped
expose:
- 5432
ports:
- ${DOCKER_DB_PORT:-5432}:5432
env_file:
- ${ENV_FILE}
networks:
- transmart
volumes:
- "postgresdata:/var/lib/postgresql"
- "postgreslogs:/var/log/postgresql"
tmsolr:
image: transmartfoundation/transmart-solr:latest
restart: unless-stopped
expose:
- 8983
ports:
- ${DOCKER_SOLR_PORT:-8983}:8983
env_file:
- ${ENV_FILE}
networks:
- transmart
tmrserve:
image: transmartfoundation/transmart-rserve:latest
restart: unless-stopped
expose:
- 6311
ports:
- ${DOCKER_RSERVE_PORT:-6311}:6311
env_file:
- ${ENV_FILE}
volumes:
- "apptmp:/tmp"
networks:
- transmart
tmload:
image: transmartfoundation/transmart-load:latest
depends_on:
- tmdb
env_file:
- ${ENV_FILE}
networks:
- transmart
volumes:
appdata:
apptmp:
appwebapps:
appweblogs:
postgresdata:
postgreslogs:
networks:
transmart: