-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
115 lines (111 loc) · 2.75 KB
/
Copy pathdocker-compose.yml
File metadata and controls
115 lines (111 loc) · 2.75 KB
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
---
services:
viewer:
image: intranda/goobi-viewer:latest
depends_on:
- viewer-db
- indexer
restart: unless-stopped
ports:
- "8080:8080"
environment:
DB_HOST: viewer-db
DB_NAME: viewer
DB_USER: viewer
DB_PORT: 3306
DB_PASSWORD: CHANGEME
SOLR_HOST: solr
VIEWER_DOMAIN: localhost:8080
VIEWER_BASE_PATH: /viewer
USE_SSL: false
TOMCAT_SAMESITECOOKIES: strict
STOPWORDS_LANG: "de"
THEME_NAME: reference
# THEME_PATH: directory-name-of-theme-that-contains-WebContent-dir-relative-to-themes-dir
VIEWER_USERMAIL: goobi@intranda.com
VIEWER_USERPASS: CHANGEME
volumes:
- type: bind
source: ./viewer
target: /opt/digiverso/viewer
- type: bind
source: ./logs/viewer
target: /opt/digiverso/logs
- type: bind
source: ./indexer
target: /opt/digiverso/indexer
- type: bind
source: ./logs/tomcat/viewer
target: /usr/local/tomcat/logs
viewer-db:
image: mariadb:latest
restart: unless-stopped
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 60s
timeout: 10s
retries: 3
start_period: 10s
environment:
MYSQL_ROOT_PASSWORD: CHANGEME
MYSQL_DATABASE: viewer
MYSQL_USER: viewer
MYSQL_PASSWORD: CHANGEME
TZ: "Europe/Berlin"
volumes:
- type: bind
source: ./db/viewer
target: /var/lib/mysql
indexer:
image: intranda/goobi-viewer-indexer:latest
depends_on:
- solr
restart: unless-stopped
environment:
TZ: "Europe/Berlin"
SOLR_HOST: solr
VIEWER_HOST: viewer
volumes:
- type: bind
source: ./viewer
target: /opt/digiverso/viewer
- type: bind
source: ./logs/viewer
target: /opt/digiverso/logs
- type: bind
source: ./indexer
target: /opt/digiverso/indexer
solr:
image: intranda/goobi-viewer-docker-solr:latest
depends_on:
- zookeeper
restart: unless-stopped
ulimits:
nofile:
soft: 65000
hard: 65000
expose:
- 8983
environment:
ZK_HOST: zookeeper:2181
TZ: "Europe/Berlin"
# for further configuration check documentation of official Solr docker image
volumes:
- type: bind
source: ./solr
target: /var/solr
zookeeper:
image: zookeeper:3.9.4
restart: unless-stopped
environment:
TZ: "Europe/Berlin"
volumes:
- type: bind
source: ./zookeeper/data
target: /data
- type: bind
source: ./zookeeper/datalog
target: /datalog
- type: bind
source: ./zookeeper/logs
target: /logs