-> You need to change the Opencast configuration and mount files you changed to /etc/opencast.
I'm trying to set up the mapping, but I'm not sure where I'm making a mistake. Let me share my code with you.
opencast:
image:
quay.io/opencast/allinone:15.1 environment:
ORG_OPENCASTPROJECT_SERVER_URL:
http://192.168.60.236:8080 ORG_OPENCASTPROJECT_DOWNLOAD_URL:
http://192.168.60.236: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: MariaDB
ORG_OPENCASTPROJECT_DB_JDBC_URL: jdbc:mariadb://
10.1.1.1/opencast?useMysqlMetadata=true ORG_OPENCASTPROJECT_DB_JDBC_USER: opencast
ORG_OPENCASTPROJECT_DB_JDBC_PASS: opencast
ELASTICSEARCH_SERVER_HOST: opensearch
ports:
- "8080:8080"
volumes:
- /data/service/opencast/data:/data
# - /data/service/opencast/etc:/etc
- /data/service/opencast/archive:/archive
######### DATABASE #########
# Relational Database configuration.
# By default, Opencast uses an embedded H2 database.
# Use a standalone database server for production systems.
# Opencast comes with the jdbc drivers for MariaDB (org.mariadb.jdbc.Driver) and PostgreSQL (org.postgresql.Driver).
# To add other jdbcDrivers to the Opencast runtime, rebuild the db module with your desired drivers.
org.opencastproject.db.jdbc.driver=org.mariadb.jdbc.Driver
# The jdbc connection url, username, and password
# Defaults:
# .url=jdbc:h2:${org.opencastproject.storage.dir}/db
# .user=sa
# .pass=sa
org.opencastproject.db.jdbc.url=jdbc:mariadb://
10.1.1.1/opencast?useMysqlMetadata=trueorg.opencastproject.db.jdbc.user=opencast
org.opencastproject.db.jdbc.pass=opencast
# The jdbc connection pool properties. See
https://mchange.com/projects/c3p0/#basic_pool_configuration# max.idle.time should be lower than the database server idle connection timeout duration (wait_timeout for MariaDB)
#org.opencastproject.db.jdbc.pool.max.size=15
#org.opencastproject.db.jdbc.pool.min.size=3
#org.opencastproject.db.jdbc.pool.acquire.increment=3
#org.opencastproject.db.jdbc.pool.max.statements=0
#org.opencastproject.db.jdbc.pool.login.timeout=1000
#org.opencastproject.db.jdbc.pool.max.idle.time=3600
#org.opencastproject.db.jdbc.pool.max.connection.age=0