forked from kbss-cvut/termit-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (74 loc) · 1.77 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
version: "3.9"
services:
termit-nginx:
build:
context: nginx
args:
CONTEXT: ${ROOT}
image: termit-nginx
ports:
- 80:80
- 443:443
restart: always
depends_on:
- termit
- termit-server
- termit-db-server
termit-db-server:
build:
context: db-server
args:
GRAPHDB_ZIP: $GRAPHDB_FILE
image: termit-db-server
environment:
GDB_JAVA_OPTS: >-
-Dgraphdb.external-url=${URL}${ROOT}/sluzby/db-server
restart: always
ports:
- "7200:7200"
volumes:
- termit-db-server:/graphdb/home
termit-server:
build:
context: termit-server
depends_on:
- termit-db-server
image: termit-server
environment:
TERMIT_REPOSITORY_URL: http://termit-db-server:7200/repositories/termit
TERMIT_REPOSITORY_PUBLICURL: ${URL}${ROOT}/sluzby/db-server/repositories/termit
TERMIT_SERVER_SERVLET_CONTEXT-PATH: ${ROOT}/sluzby/server
TERMIT_FILE_STORAGE: /tmp/storage
TERMIT_TEXTANALYSIS_URL: http://annotace-server:8888/annotate?enableKeywordExtraction=true
TERMIT_JWT_SECRETKEY: ${JWT_SECRET_KEY}
ports:
- "8080:8080"
volumes:
- termit-server:/tmp
annotace-server:
build:
context: annotace-server
image: annotace-server
ports:
- "8888:8080"
volumes:
- annotace-server:/tmp
termit:
build:
context: termit
depends_on:
- termit-server
image: termit
environment:
SERVER_URL: ${URL}${ROOT}/sluzby/server
ADMIN_REGISTRATION_ONLY: "true"
SHOW_PUBLIC_VIEW_ON_UNAUTHORIZED: "true"
GOOGLE_LOGIN: "false"
GITHUB_LOGIN: "false"
DEPLOYMENT:
ports:
- "3000:80"
volumes:
termit-db-server:
termit-server:
annotace-server: