Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
a2baf5fc
Commit
a2baf5fc
authored
1 year ago
by
Lückemeyer
Browse files
Options
Download
Email Patches
Plain Diff
changed compose config from legacy dtt to dta
parent
cf53cf72
master
amg-dev-volumes
amg-svn+ssh
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ifc/generic-proxy/conf/nginx.conf
+2
-2
ifc/generic-proxy/conf/nginx.conf
ifc/generic-proxy/docker-compose.yaml
+13
-13
ifc/generic-proxy/docker-compose.yaml
with
15 additions
and
15 deletions
+15
-15
ifc/generic-proxy/conf/nginx.conf
+
2
-
2
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
;
}
}
}
This diff is collapsed.
Click to expand it.
ifc/generic-proxy/docker-compose.yaml
+
13
-
13
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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets