-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (64 loc) · 2.04 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
services:
termit-nginx:
image: nginx:1.26-alpine
ports:
- ${HOST_PORT:-1234}:80
restart: always
depends_on:
- termit
- termit-server
- termit-db-server
environment:
NGINX_ENVSUBST_OUTPUT_DIR: /etc/nginx
ROOT: ${ROOT}
ORIGIN: ${URL}
PORT: ${PUBLIC_PORT:-''}
volumes:
- ./nginx/nginx.conf:/etc/nginx/templates/nginx.conf.template
termit-db-server:
build:
context: db-server
image: termit-db-server
environment:
GDB_JAVA_OPTS: -Dgraphdb.external-url=${URL}${ROOT}/sluzby/db-server -Ddefault.min.distinct.threshold=67108864
restart: always
volumes:
- termit-db-server:/opt/graphdb/home
termit-server:
image: kbsscvut/termit:dev
depends_on:
- termit-db-server
environment:
SERVER_FORWARDHEADERSSTRATEGY: framework
SPRING_PROFILES_ACTIVE: admin-registration-only, lucene
SPRING_MAIL_HOST: ${MAIL_HOST}
SPRING_MAIL_PORT: ${MAIL_PORT:-587}
SPRING_MAIL_USERNAME: ${MAIL_USERNAME}
SPRING_MAIL_PASSWORD: ${MAIL_PASSWORD}
LOGGING_FILE_NAME: /tmp/storage/termit.log
TERMIT_PERSISTENCE_LANGUAGE: cs
TERMIT_REPOSITORY_URL: http://termit-db-server:7200/repositories/termit
TERMIT_REPOSITORY_PUBLICURL: ${URL}${ROOT}/sluzby/db-server/repositories/termit
TERMIT_CORS_ALLOWEDORIGINS: ${URL}
TERMIT_SERVER_SERVLET_CONTEXT-PATH: ${ROOT}/sluzby/server
TERMIT_FILE_STORAGE: /tmp/storage
TERMIT_TEXTANALYSIS_URL: http://annotace-server:8080/annotate?enableKeywordExtraction=true
TERMIT_JWT_SECRETKEY: ${JWT_SECRET_KEY}
volumes:
- termit-server:/tmp/storage
annotace-server:
image: ghcr.io/kbss-cvut/annotace/annotace-spark:latest
volumes:
- annotace-server:/tmp
termit:
image: kbsscvut/termit-ui:dev
depends_on:
- termit-server
environment:
SERVER_URL: ${URL}${ROOT}/sluzby/server
ADMIN_REGISTRATION_ONLY: "true"
SHOW_PUBLIC_VIEW_ON_UNAUTHORIZED: "true"
volumes:
termit-db-server:
termit-server:
annotace-server: