diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60240c8bf0feaa20f4c0ebcada982fd88e9213c4..85866205a91153ac01d160013d2f020cc1314b28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -143,7 +143,7 @@ docker-push: REGISTRY_URL: sharing-codeability.uibk.ac.at:5051 IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform script: - - ng build --configuration production + - rm -rf /builds/sharing/codeability-sharing-platform/target/* - ./mvnw package -Pprod verify -DskipTests jib:build -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME when: on_success diff --git a/src/main/docker/keycloak.yml b/src/main/docker/keycloak.yml index 5cd9b1f3f03c6713f532867ead4bcd87a1635bb7..065b3019de1416d6d88cfaddffd83c88dc147ef0 100644 --- a/src/main/docker/keycloak.yml +++ b/src/main/docker/keycloak.yml @@ -22,7 +22,5 @@ services: - DB_VENDOR=h2 # If you want to expose these ports outside your dev PC, # remove the "127.0.0.1:" prefix - ports: - - 127.0.0.1:9080:9080 - - 127.0.0.1:9444:9443 - - 127.0.0.1:10990:10990 + network_mode: 'host' +## todo expose ports / ip so that client is reachable