aboutsummaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/.env30
-rw-r--r--development/config/onap-realm.json6
-rw-r--r--development/docker-compose.yml14
3 files changed, 25 insertions, 25 deletions
diff --git a/development/.env b/development/.env
index dfc9a4f..2775969 100644
--- a/development/.env
+++ b/development/.env
@@ -1,5 +1,5 @@
# General image repository
-IMAGE_REPOSITORY=tbd
+IMAGE_REPOSITORY=nexus3.onap.org:10001/onap/portal-ng
# Keycloak
KEYCLOAK_IMAGE=quay.io/keycloak/keycloak
@@ -9,8 +9,8 @@ KEYCLOAK_PASSWORD=password
KEYCLOAK_DB=keycloak
KEYCLOAK_DB_USER=keycloak
KEYCLOAK_DB_PASSWORD=password
-KEYCLOAK_URL:http://keycloak-bff:8080
-KEYCLOAK_REALM:ONAP
+KEYCLOAK_URL=http://keycloak-bff:8080
+KEYCLOAK_REALM=ONAP
# Postgres for Keycloak
POSTGRES_IMAGE=postgres
@@ -22,19 +22,19 @@ MONGO_VERSION=latest
# preferences
PREFERENCES_IMAGE_NAME=preferences
-PREFERENCES_IMAGE_TAG=0.1.0-master-faef0c0e
-PORTALPREFS_USERNAME:root
-PORTALPREFS_PASSWORD:password
-PORTALPREFS_DATABASE:Preferences
-PORTALPREFS_HOST:mongo-preferences
-PORTALPREFS_PORT:27017
+PREFERENCES_IMAGE_TAG=latest
+PREFERENCES_USERNAME=root
+PREFERENCES_PASSWORD=password
+PREFERENCES_DATABASE=Preferences
+PREFERENCES_HOST=mongo-preferences
+PREFERENCES_PORT=27017
# history
HISTORY_IMAGE_NAME=history
-HISTORY_IMAGE_TAG=0.1.1-de369ace
-HISTORY_USERNAME:root
-HISTORY_PASSWORD:password
-HISTORY_DATABASE:History
-HISTORY_HOST:mongo-history
-HISTORY_PORT:27017
+HISTORY_IMAGE_TAG=latest
+HISTORY_USERNAME=root
+HISTORY_PASSWORD=password
+HISTORY_DATABASE=History
+HISTORY_HOST=mongo-history
+HISTORY_PORT=27017
diff --git a/development/config/onap-realm.json b/development/config/onap-realm.json
index 8e6ff9c..bc49a76 100644
--- a/development/config/onap-realm.json
+++ b/development/config/onap-realm.json
@@ -167,7 +167,7 @@
} ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
- "realmRoles" : [ "default-roles-onap", "onap_admin" ],
+ "realmRoles" : [ "default-roles-onap", "portal_admin" ],
"notBefore" : 0,
"groups" : [ ]
}, {
@@ -182,7 +182,7 @@
"credentials" : [ ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
- "realmRoles" : [ "default-roles-onap", "onap_designer" ],
+ "realmRoles" : [ "default-roles-onap", "portal_designer" ],
"notBefore" : 0,
"groups" : [ ]
}, {
@@ -197,7 +197,7 @@
"credentials" : [ ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
- "realmRoles" : [ "default-roles-onap", "onap_operator" ],
+ "realmRoles" : [ "default-roles-onap", "portal_operator" ],
"notBefore" : 0,
"groups" : [ ]
}, {
diff --git a/development/docker-compose.yml b/development/docker-compose.yml
index 465741c..1082419 100644
--- a/development/docker-compose.yml
+++ b/development/docker-compose.yml
@@ -58,20 +58,20 @@ services:
container_name: mongo-preferences
image: "${MONGO_IMAGE}:${MONGO_VERSION}"
environment:
- MONGO_INITDB_ROOT_USERNAME: ${PORTALPREFS_USERNAME}
- MONGO_INITDB_ROOT_PASSWORD: ${PORTALPREFS_PASSWORD}
+ MONGO_INITDB_ROOT_USERNAME: ${PREFERENCES_USERNAME}
+ MONGO_INITDB_ROOT_PASSWORD: ${PREFERENCES_PASSWORD}
preferences:
container_name: preferences
image: "${IMAGE_REPOSITORY}/${PREFERENCES_IMAGE_NAME}:${PREFERENCES_IMAGE_TAG}"
ports:
- 9001:9001
environment:
- PORTALPREFS_USERNAME: ${PORTALPREFS_USERNAME}
- PORTALPREFS_PASSWORD: ${PORTALPREFS_PASSWORD}
- PORTALPREFS_DATABASE: ${PORTALPREFS_DATABASE}
+ PREFERENCES_USERNAME: ${PREFERENCES_USERNAME}
+ PREFERENCES_PASSWORD: ${PREFERENCES_PASSWORD}
+ PREFERENCES_DATABASE: ${PREFERENCES_DATABASE}
KEYCLOAK_URL: ${KEYCLOAK_URL}
KEYCLOAK_REALM: ${KEYCLOAK_REALM}
- PORTALPREFS_HOST: ${PORTALPREFS_HOST}
- PORTALPREFS_PORT: ${PORTALPREFS_PORT}
+ PREFERENCES_HOST: ${PREFERENCES_HOST}
+ PREFERENCES_PORT: ${PREFERENCES_PORT}
depends_on:
- mongo-preferences \ No newline at end of file