-
Notifications
You must be signed in to change notification settings - Fork 36
/
docker-compose.multiserver.build.yml
123 lines (117 loc) · 4.71 KB
/
docker-compose.multiserver.build.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
# 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/build:16.6
tty: true
stdin_open: true
environment:
OPENCAST_BUILD_USER_UID: ${OPENCAST_BUILD_USER_UID:-1000}
OPENCAST_BUILD_USER_GID: ${OPENCAST_BUILD_USER_GID:-1000}
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"
- "5005:5005"
volumes:
- data:/data
- "${M2_REPO:-~/.m2}:/home/opencast-builder/.m2"
- "${OPENCAST_SRC}:/usr/src/opencast"
opencast-presentation:
image: quay.io/opencast/build:16.6
tty: true
stdin_open: true
environment:
OPENCAST_BUILD_USER_UID: ${OPENCAST_BUILD_USER_UID:-1000}
OPENCAST_BUILD_USER_GID: ${OPENCAST_BUILD_USER_GID:-1000}
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"
- "5006:5005"
volumes:
- data:/data
- "${M2_REPO:-~/.m2}:/home/opencast-builder/.m2"
- "${OPENCAST_SRC}:/usr/src/opencast"
opencast-worker:
image: quay.io/opencast/build:16.6
tty: true
stdin_open: true
environment:
OPENCAST_BUILD_USER_UID: ${OPENCAST_BUILD_USER_UID:-1000}
OPENCAST_BUILD_USER_GID: ${OPENCAST_BUILD_USER_GID:-1000}
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
ports:
- "8082:8080"
- "5007:5005"
volumes:
- data:/data
- "${M2_REPO:-~/.m2}:/home/opencast-builder/.m2"
- "${OPENCAST_SRC}:/usr/src/opencast"