forked from opencast/opencast-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.allinone.mariadb.yml
64 lines (61 loc) · 2.23 KB
/
docker-compose.allinone.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
# Copyright 2016 The WWU 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.
version: "3"
volumes:
data: {}
db: {}
services:
mariadb:
image: mariadb:10.0
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=opencast
- MYSQL_USER=opencast
- MYSQL_PASSWORD=opencast
ports:
- "3306:3306"
volumes:
- ./assets/opencast-ddl.sql:/docker-entrypoint-initdb.d/opencast-ddl.sql:ro
- db:/var/lib/mysql
activemq:
image: webcenter/activemq:5.13.2
environment:
- ACTIVEMQ_MIN_MEMORY=128
- ACTIVEMQ_MAX_MEMORY=1024
- ACTIVEMQ_ENABLED_SCHEDULER=true
- ACTIVEMQ_REMOVE_DEFAULT_ACCOUNT=true
- ACTIVEMQ_OWNER_LOGIN=admin
- ACTIVEMQ_OWNER_PASSWORD=password
volumes:
- ./assets/activemq.xml:/opt/activemq/conf/activemq.xml:ro
opencast:
image: opencast/allinone:4.1
environment:
- ORG_OPENCASTPROJECT_SERVER_URL=http://opencast:8080
- ORG_OPENCASTPROJECT_DOWNLOAD_URL=http://${HOSTIP:-localhost}:8080/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=MySQL
- ORG_OPENCASTPROJECT_DB_JDBC_URL=jdbc:mysql://mariadb/opencast
- ORG_OPENCASTPROJECT_DB_JDBC_USER=opencast
- ORG_OPENCASTPROJECT_DB_JDBC_PASS=opencast
- ACTIVEMQ_BROKER_URL=failover://(tcp://activemq:61616)?initialReconnectDelay=2000&maxReconnectAttempts=2
- ACTIVEMQ_BROKER_USERNAME=admin
- ACTIVEMQ_BROKER_PASSWORD=password
ports:
- "8080:8080"
volumes:
- data:/data