diff --git a/docker-compose.yaml b/docker-compose.yaml index a4c8336d60d52bd0084920af8c860d2de8931bd0..f121bc15067a5840d351b4d4caa5d0ab46865a57 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,8 +1,7 @@ version: '2' services: -services: - mariadb-dtt: - container_name: moodledb-dtt + mariadb-cota: + container_name: moodledb-cota image: docker.io/bitnami/mariadb:11.1 environment: # ALLOW_EMPTY_PASSWORD is recommended only for development. @@ -12,36 +11,39 @@ services: - 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 + - 'mariadb_data_cota:/bitnami/mariadb' + + moodle-cota: + container_name: moodle-cota + image: docker.io/bitnami/moodle:4.4 ports: - '81:8080' - '444:8443' environment: - - MOODLE_DATABASE_HOST=mariadb-dtt + - MOODLE_DATABASE_HOST=mariadb-cota - 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' + - 'moodle_data_cota:/bitnami/moodle' + - 'moodledata_data_cota:/bitnami/moodledata' depends_on: - - mariadb-dtt + - mariadb-cota + backend: - container_name: backendcomposedtt + container_name: backendcomposecota image: hftstuttgart/dta-backend:latest user: "${UID}:${GID}" volumes: - /var/run/docker.sock:/var/run/docker.sock - '/tmp/dta-tests:/tmp/dta-tests' + volumes: - mariadb_data_dtt: + mariadb_data_cota: driver: local - moodle_data_dtt: + moodle_data_cota: driver: local - moodledata_data_dtt: + moodledata_data_cota: driver: local