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
a2baf5fc
Commit
a2baf5fc
authored
Feb 07, 2024
by
Lückemeyer
Browse files
changed compose config from legacy dtt to dta
parent
cf53cf72
Pipeline
#9109
passed with stage
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
ifc/generic-proxy/conf/nginx.conf
View file @
a2baf5fc
...
...
@@ -24,11 +24,11 @@ http {
proxy_cache_valid
200
302
1d
;
proxy_cache_methods
GET
HEAD
POST
;
proxy_pass
http://backendcomposedt
t
:8080/v1/task
;
proxy_pass
http://backendcomposedt
a
:8080/v1/task
;
}
location
/v1/unittest
{
proxy_pass
http://backendcomposedt
t
:8080/v1/unittest
;
proxy_pass
http://backendcomposedt
a
:8080/v1/unittest
;
}
}
}
ifc/generic-proxy/docker-compose.yaml
View file @
a2baf5fc
...
...
@@ -2,14 +2,14 @@ version: '2'
services
:
services
:
backend
:
container_name
:
backendcomposedt
t
container_name
:
backendcomposedt
a
image
:
hftstuttgart/dta-backend:latest
user
:
"
${EUSER}:${EGID}"
volumes
:
-
/var/run/docker.sock:/var/run/docker.sock
-
'
/tmp/dta-tests:/tmp/dta-tests'
mariadb-dt
t
:
container_name
:
moodledb-dt
t
mariadb-dt
a
:
container_name
:
moodledb-dt
a
image
:
docker.io/bitnami/mariadb:11.1
environment
:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
...
...
@@ -19,25 +19,25 @@ services:
-
MARIADB_CHARACTER_SET=utf8mb4
-
MARIADB_COLLATE=utf8mb4_unicode_ci
volumes
:
-
'
mariadb_data_dt
t
:/bitnami/mariadb'
moodle-dt
t
:
container_name
:
moodle-dt
t
-
'
mariadb_data_dt
a
:/bitnami/mariadb'
moodle-dt
a
:
container_name
:
moodle-dt
a
image
:
docker.io/bitnami/moodle:4.3
ports
:
-
'
81:8080'
-
'
444:8443'
environment
:
-
MOODLE_DATABASE_HOST=mariadb-dt
t
-
MOODLE_DATABASE_HOST=mariadb-dt
a
-
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_dt
t
:/bitnami/moodle'
-
'
moodledata_data_dt
t
:/bitnami/moodledata'
-
'
moodle_data_dt
a
:/bitnami/moodle'
-
'
moodledata_data_dt
a
:/bitnami/moodledata'
depends_on
:
-
mariadb-dt
t
-
mariadb-dt
a
cache
:
container_name
:
cachedta
image
:
nginx:alpine
...
...
@@ -48,9 +48,9 @@ services:
depends_on
:
-
backend
volumes
:
mariadb_data_dt
t
:
mariadb_data_dt
a
:
driver
:
local
moodle_data_dt
t
:
moodle_data_dt
a
:
driver
:
local
moodledata_data_dt
t
:
moodledata_data_dt
a
:
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