Commit 48a8cc8c authored by Michail Tzanatos's avatar Michail Tzanatos
Browse files

update nginx version to 1.30.6 and modify API URL in default config

parent ce552489
Loading
Loading
Loading
Loading
Loading
+3 −1
Changes for Dockerfile: 3 added lines, 1 removed line.
Original line number Original line Diff line number Diff line
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:1.27.3
FROM nginx:1.30.6
#Copy ci-dashboard-dist
#Copy ci-dashboard-dist
COPY ./src /usr/share/nginx/html/nfvportal
COPY ./src /usr/share/nginx/html/nfvportal
#Copy default portal configuration, so the image runs without a mounted config.js
COPY ./src/js/config.js.default /usr/share/nginx/html/nfvportal/js/config.js
#Copy default nginx configuration
#Copy default nginx configuration
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
+1 −1
Changes for src/js/config.js.default: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -7,7 +7,7 @@ appConfig.factory('APIEndPointService', function() {
		WIKI: "https://osl.etsi.org/documentation/",
		WIKI: "https://osl.etsi.org/documentation/",
		BUGZILLA: "ROOTURL/bugzilla/",
		BUGZILLA: "ROOTURL/bugzilla/",
		STATUS: "ROOTURL/status/",
		STATUS: "ROOTURL/status/",
		APIURL: "http://localhost",
		APIURL: "",
		WEBURL: "ROOTURL/nfvportal",
		WEBURL: "ROOTURL/nfvportal",
		APIOAUTHURL: "ROOTURL/auth/realms/openslice",
		APIOAUTHURL: "ROOTURL/auth/realms/openslice",
		APITMFURL: "ROOTURL/tmf-api/serviceCatalogManagement/v4"
		APITMFURL: "ROOTURL/tmf-api/serviceCatalogManagement/v4"