Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
Testrunner OpenJDK11 JUnit5-Jupiter
Commits
76d90293
Commit
76d90293
authored
Oct 16, 2023
by
Lückemeyer
Browse files
added example docker-compose file
parent
bf6df839
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yaml
0 → 100644
View file @
76d90293
version
:
'
2'
services
:
services
:
mariadb-dtt
:
container_name
:
moodledb-dtt
image
:
docker.io/bitnami/mariadb:10.6
environment
:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
-
ALLOW_EMPTY_PASSWORD=yes
-
MARIADB_USER=bn_moodle
-
MARIADB_DATABASE=bitnami_moodle
-
MARIADB_CHARACTER_SET=utf8mb4
-
MARIADB_COLLATE=utf8mb4_unicode_ci
volumes
:
-
'
mariadb_data_dtt:/bitnami/mariadb'
moodle-dtt
:
container_name
:
moodle-dtt
image
:
docker.io/bitnami/moodle:4.1
ports
:
-
'
81:8080'
-
'
444:8443'
environment
:
-
MOODLE_DATABASE_HOST=mariadb-dtt
-
MOODLE_DATABASE_PORT_NUMBER=3306
-
MOODLE_DATABASE_USER=bn_moodle
-
MOODLE_DATABASE_NAME=bitnami_moodle
# ALLOW_EMPTY_PASSWORD is recommended only for development.
-
ALLOW_EMPTY_PASSWORD=yes
volumes
:
-
'
moodle_data_dtt:/bitnami/moodle'
-
'
moodledata_data_dtt:/bitnami/moodledata'
depends_on
:
-
mariadb-dtt
backend
:
container_name
:
backendcomposedtt
image
:
hftstuttgart/dtt-backend:feat-dtt-transition
volumes
:
-
/var/run/docker.sock:/var/run/docker.sock
-
'
/tmp/dtt-tests:/tmp/dtt-tests'
volumes
:
mariadb_data_dtt
:
driver
:
local
moodle_data_dtt
:
driver
:
local
moodledata_data_dtt
:
driver
:
local
dtt-tests
:
driver
:
local
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment