-
Notifications
You must be signed in to change notification settings - Fork 36
/
docker-compose.multiserver.mariadb.yml
100 lines (94 loc) · 3.86 KB
/
docker-compose.multiserver.mariadb.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
# Copyright 2016 The University of Münster eLectures Team All rights reserved.
#
# Licensed under the Educational Community License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://opensource.org/licenses/ECL-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
volumes:
db: {}
opensearch: {}
data: {}
services:
mariadb:
image: mariadb:10.5
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: opencast
MYSQL_USER: opencast
MYSQL_PASSWORD: opencast
command: "--wait_timeout=28800"
volumes:
- db:/var/lib/mysql
opensearch:
image: opensearchproject/opensearch:1
environment:
discovery.type: single-node
bootstrap.memory_lock: 'true'
OPENSEARCH_JAVA_OPTS: -Xms128m -Xmx512m
DISABLE_INSTALL_DEMO_CONFIG: 'true'
DISABLE_SECURITY_PLUGIN: 'true'
volumes:
- opensearch:/usr/share/opensearch/data
opencast-admin:
image: quay.io/opencast/admin:16.7
environment:
ORG_OPENCASTPROJECT_SERVER_URL: http://opencast-admin:8080
ORG_OPENCASTPROJECT_DOWNLOAD_URL: http://localhost:8081/static
ORG_OPENCASTPROJECT_SECURITY_ADMIN_USER: admin
ORG_OPENCASTPROJECT_SECURITY_ADMIN_PASS: opencast
ORG_OPENCASTPROJECT_SECURITY_DIGEST_USER: opencast_system_account
ORG_OPENCASTPROJECT_SECURITY_DIGEST_PASS: CHANGE_ME
ORG_OPENCASTPROJECT_DB_VENDOR: MariaDB
ORG_OPENCASTPROJECT_DB_JDBC_URL: jdbc:mariadb://mariadb/opencast?useMysqlMetadata=true
ORG_OPENCASTPROJECT_DB_JDBC_USER: opencast
ORG_OPENCASTPROJECT_DB_JDBC_PASS: opencast
PROP_ORG_OPENCASTPROJECT_ADMIN_UI_URL: http://localhost:8080
PROP_ORG_OPENCASTPROJECT_ENGAGE_UI_URL: http://localhost:8081
ELASTICSEARCH_SERVER_HOST: opensearch
ports:
- "8080:8080"
volumes:
- data:/data
opencast-presentation:
image: quay.io/opencast/presentation:16.7
environment:
ORG_OPENCASTPROJECT_SERVER_URL: http://opencast-presentation:8080
ORG_OPENCASTPROJECT_DOWNLOAD_URL: http://localhost:8081/static
ORG_OPENCASTPROJECT_SECURITY_ADMIN_USER: admin
ORG_OPENCASTPROJECT_SECURITY_ADMIN_PASS: opencast
ORG_OPENCASTPROJECT_SECURITY_DIGEST_USER: opencast_system_account
ORG_OPENCASTPROJECT_SECURITY_DIGEST_PASS: CHANGE_ME
ORG_OPENCASTPROJECT_DB_VENDOR: MariaDB
ORG_OPENCASTPROJECT_DB_JDBC_URL: jdbc:mariadb://mariadb/opencast?useMysqlMetadata=true
ORG_OPENCASTPROJECT_DB_JDBC_USER: opencast
ORG_OPENCASTPROJECT_DB_JDBC_PASS: opencast
PROP_ORG_OPENCASTPROJECT_ADMIN_UI_URL: http://localhost:8080
PROP_ORG_OPENCASTPROJECT_ENGAGE_UI_URL: http://localhost:8081
ports:
- "8081:8080"
volumes:
- data:/data
opencast-worker:
image: quay.io/opencast/worker:16.7
environment:
ORG_OPENCASTPROJECT_SERVER_URL: http://opencast-worker:8080
ORG_OPENCASTPROJECT_DOWNLOAD_URL: http://localhost:8081/static
ORG_OPENCASTPROJECT_SECURITY_ADMIN_USER: admin
ORG_OPENCASTPROJECT_SECURITY_ADMIN_PASS: opencast
ORG_OPENCASTPROJECT_SECURITY_DIGEST_USER: opencast_system_account
ORG_OPENCASTPROJECT_SECURITY_DIGEST_PASS: CHANGE_ME
ORG_OPENCASTPROJECT_DB_VENDOR: MariaDB
ORG_OPENCASTPROJECT_DB_JDBC_URL: jdbc:mariadb://mariadb/opencast?useMysqlMetadata=true
ORG_OPENCASTPROJECT_DB_JDBC_USER: opencast
ORG_OPENCASTPROJECT_DB_JDBC_PASS: opencast
PROP_ORG_OPENCASTPROJECT_ADMIN_UI_URL: http://localhost:8080
PROP_ORG_OPENCASTPROJECT_ENGAGE_UI_URL: http://localhost:8081
volumes:
- data:/data