Skip to content

Commit

Permalink
OZ-573: Move docker-compose-bundled-* to root level dir + some tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliouzbett committed Nov 15, 2024
1 parent 895f217 commit 7b8d2c0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bundled-docker/openmrs/Dockerfile-sso
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM openmrs/openmrs-reference-application-3-backend:3.1.1
ADD binaries/openmrs/modules /openmrs/distribution/openmrs_modules
ADD configs/openmrs/initializer_config /openmrs/distribution/openmrs_config
ADD configs/openmrs/properties/fhirproxy.properties /openmrs/data/fhirproxy/config.properties
ADD configs/openmrs_sso/properties/oauth2.properties /openmrs/data/oauth2.properties
ADD configs/openmrs_sso/initializer_config/globalproperties/oauth2-login-props.xml /openmrs/distribution/openmrs_config/globalproperties/oauth2-login-props.xml
ADD binaries/openmrs_sso/modules/* /openmrs/distribution/openmrs_modules
ADD configs/openmrs/properties_sso/oauth2.properties /openmrs/data/oauth2.properties
ADD configs/openmrs/initializer_config_sso/globalproperties/oauth2-login-props.xml /openmrs/distribution/openmrs_config/globalproperties/oauth2-login-props.xml
ADD binaries/openmrs/modules_sso/* /openmrs/distribution/openmrs_modules
5 changes: 5 additions & 0 deletions bundled-docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
<include>proxy/**</include>
<include>senaite/**</include>
<include>keycloak/**</include>
</includes>
</resource>
<resource>
<directory>../</directory>
<includes>
<include>docker-compose-bundled.yml.template</include>
<include>docker-compose-bundled-sso.yml.template</include>
</includes>
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose-openmrs-sso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
environment:
- SPA_CONFIG_URLS=${SPA_CONFIG_URLS},/openmrs/spa/configs/ozone-sso-frontend-config.json
volumes:
- "${OPENMRS_SSO_FRONTEND_CONFIG_PATH}/*:/usr/share/nginx/html/configs/"
- "${OPENMRS_SSO_FRONTEND_CONFIG_PATH}ozone-sso-frontend-config.json:/usr/share/nginx/html/configs/ozone-sso-frontend-config.json"

env-substitution:
environment:
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@
</includes>
<excludes>
<exclude>scripts/distro/</exclude>
<excude>docker-compose-bundled.yml.template</excude>
<excude>docker-compose-bundled-sso.yml.template</excude>
</excludes>
</resource>
</resources>
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,6 @@ function displayAccessURLsWithCredentials {
echo ""
echo "$INFO 🔗 Access each ${OZONE_LABEL:-Ozone FOSS} components at the following URL:"
echo ""
awk -F, 'NR==1 {printf "%-15s %-40s %-15s %-15s\n", $1, $2, $3, $4} NR>2' .urls_2.txt
awk -F, 'NR==1 {printf "%-15s %-40s %-15s %-15s\n", $1, $2, $3, $4} NR>2 && $1 != "Keycloak" {printf "%-15s %-40s %-15s %-15s\n", $1, $2, $3, $4}' .urls_2.txt
fi
}

0 comments on commit 7b8d2c0

Please sign in to comment.