Permalink
Browse files
Fix "database is destroyed on down/up cycle"
However, it requires PR #7 from docker/mariadb repo to be accepted
in order to function.
- Loading branch information
Showing
with
14 additions
and
17 deletions.
-
+5
−8
midpoint/docker-compose.yml
-
+2
−2
midpoint/midpoint-server/Dockerfile
-
+7
−7
midpoint/test.sh
|
|
@@ -1,10 +1,3 @@ |
|
|
# |
|
|
# Building: |
|
|
# - docker-compose up --build |
|
|
# |
|
|
# It assumes that midpoint-3.9-SNAPSHOT-dist.tar.gz is present in the 'midpoint-server' directory. (TODO: eliminate this!) |
|
|
# |
|
|
|
|
|
version: "3.3" |
|
|
|
|
|
services: |
|
@@ -15,7 +8,10 @@ services: |
|
|
networks: |
|
|
- back |
|
|
volumes: |
|
|
- midpoint_data:/var/lib/mysql |
|
|
- midpoint_mysql:/var/lib/mysql |
|
|
- midpoint_data:/var/lib/mysqlmounted |
|
|
environment: |
|
|
- CREATE_NEW_DATABASE=if_needed |
|
|
|
|
|
midpoint-server: |
|
|
build: ./midpoint-server/ |
|
@@ -77,5 +73,6 @@ secrets: |
|
|
file: ./configs-and-secrets/midpoint/application/keystore_password.txt |
|
|
|
|
|
volumes: |
|
|
midpoint_mysql: |
|
|
midpoint_data: |
|
|
midpoint_home: |
|
@@ -86,8 +86,8 @@ ENV LOGOUT_URL https://localhost:8443/Shibboleth.sso/Logout |
|
|
|
|
|
ENV KEYSTORE_PASSWORD_FILE /run/secrets/m_keystore_password.txt |
|
|
ENV MEM 2048m |
|
|
ENV TIER_RELEASE=not-released-yet |
|
|
ENV TIER_MAINTAINER=tier |
|
|
ENV TIER_RELEASE not-released-yet |
|
|
ENV TIER_MAINTAINER tier |
|
|
|
|
|
# TIER Beacon Opt-out |
|
|
# Completely uncomment the following ENV line to prevent the containers from sending analytics information to Internet2. |
|
|
|
@@ -35,12 +35,12 @@ test/t120-add-get-user.sh |
|
|
ok "OK" |
|
|
echo |
|
|
|
|
|
heading "Test 200: Stop/start cycle..." |
|
|
test/t200-stop-start.sh |
|
|
ok "OK" |
|
|
echo |
|
|
|
|
|
#heading "Test 300: Checking repository preservation across compose down/up..." |
|
|
#test/t300-repository-preservation.sh |
|
|
#heading "Test 200: Stop/start cycle..." |
|
|
#test/t200-stop-start.sh |
|
|
#ok "OK" |
|
|
#echo |
|
|
|
|
|
heading "Test 300: Checking repository preservation across compose down/up..." |
|
|
test/t300-repository-preservation.sh |
|
|
ok "OK" |
|
|
echo |