Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
DTABackend
Commits
807a04e3
Commit
807a04e3
authored
Jan 26, 2024
by
Lückemeyer
Browse files
Added example docker compose
parent
63a4a784
Pipeline
#9069
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
generic-proxy/docker-compose.yaml
0 → 100644
View file @
807a04e3
version
:
'
2'
services
:
services
:
backend
:
container_name
:
backendcomposedtt
image
:
hftstuttgart/dta-backend:latest
user
:
"
${EUSER}:${EGID}"
volumes
:
-
/var/run/docker.sock:/var/run/docker.sock
-
'
/tmp/dta-tests:/tmp/dta-tests'
mariadb-dtt
:
container_name
:
moodledb-dtt
image
:
docker.io/bitnami/mariadb:11.1
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.3
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
cache
:
container_name
:
cachedta
image
:
nginx:alpine
ports
:
-
'
80:8080'
volumes
:
-
'
./conf:/etc/nginx'
depends_on
:
-
backend
volumes
:
mariadb_data_dtt
:
driver
:
local
moodle_data_dtt
:
driver
:
local
moodledata_data_dtt
:
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