-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
125 lines (125 loc) · 2.18 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
services:
httpd:
build: apache
links:
- "tomcat-pn"
- "xsugar"
- "fuseki"
- "solr"
- "sosol"
volumes:
- repo:/srv
ports:
- "8000:80"
depends_on:
- xsugar
- tomcat-pn
- solr
- fuseki
- indexer
- sosol
sosol:
build: sosol
ports:
- "8080:8080"
volumes:
- repo:/srv
- ./sosol-compose:/opt/sosol-compose
command: /opt/sosol-compose/migrate-and-copy.sh
links:
- "xsugar"
- "postgres"
depends_on:
- postgres
- repo_clone
- xsugar
repo_clone:
build: repo_clone
volumes:
- ./:/docker-compose
- repo:/srv
xsugar:
build: xsugar
# ports:
# - "9999:9999"
volumes:
- maven:/root/.m2
navigator:
build: navigator-compose
depends_on:
- repo_clone
- fuseki
volumes:
- ./navigator:/navigator
- repo:/srv
- maven:/root/.m2
- solr_data:/solr
links:
- "fuseki"
environment:
- GITHUB_USERNAME
- GITHUB_TOKEN
indexer:
build: indexer
depends_on:
- navigator
- fuseki
- solr
volumes:
- ./epidoc-xslt:/epidoc-xslt
- repo:/srv
- maven:/root/.m2
links:
- "fuseki"
- "solr"
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
fuseki:
# built from https://github.com/dcthree/docker-fuseki
image: ryanfb/fuseki
volumes:
- repo:/srv
- fuseki_data:/data
cpu_count: 2
environment:
- OPTS=--port=8090 --tdb2 --loc=/data --update /pi
- JVM_ARGS=-Xmx8192M
- JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
ports:
- "8090:8090"
postgres:
image: postgres:13
environment:
- POSTGRES_USER=papyri
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- postgres_data:/var/lib/postgresql/data
solr:
build: solr
ports:
- "8983:8983"
volumes:
- solr_data:/opt/solr/server/solr
environment:
- SOLR_JAVA_MEM=-Xms1G -Xmx8G
depends_on:
- navigator
tomcat-pn:
build: tomcat-pn
links:
- "postgres"
- "fuseki"
# ports:
# - "8080:8080"
volumes:
- repo:/srv
depends_on:
- navigator
volumes:
repo:
maven:
fuseki_data:
solr_data:
postgres_data: