image: ${IDENTITY_IMAGE}
container_name: identity
ports:
- - ${IDENTITY_PORT}:${IDENTITY_PORT}
+ - ${IDENTITY_PORT}:8443
environment:
- KEYCLOAK_USER=${ADMIN_USERNAME}
- KEYCLOAK_PASSWORD=${ADMIN_PASSWORD}
- - JAVA_OPTS=-Djboss.http.port=${IDENTITY_PORT}
+ - JAVA_OPTS=-Djboss.bind.address.private=[::1] -Djboss.bind.address=[::1] -Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false
+ - DB_VENDOR=h2
networks:
dmz:
"clientAuthenticatorType": "client-secret",
"secret": "2a64fdca-c205-4b52-9f58-195ccc142ddb",
"redirectUris": [
- "http://localhost:8081/*",
"https://sdnc-web:8453/*"
],
"webOrigins": [],
},
"keycloakVersion": "12.0.4",
"userManagedAccessAllowed": false
-}
+}
\ No newline at end of file
{
- "tokenSecret": "my-secret",
- "tokenIssuer": "ONAP-SDNC",
- "publicUrl": "${SDNC_WEB_URL}",
- "redirectUri": "/odlux/index.html#/oauth?token=",
- "supportOdlUsers": "true",
- "providers": [
- {
- "id": "identity",
- "type": "KEYCLOAK",
- "url": "http://identity:8081",
- "clientId": "odlux.app",
- "secret": "2a64fdca-c205-4b52-9f58-195ccc142ddb",
- "scope": "openid",
- "title": "ONAP-IDENTITY",
- "roleMapping": {
- "administration": "admin"
- },
- "realmName": "onap",
- "trustAll": "true"
+ "tokenSecret": "my-secret",
+ "tokenIssuer": "ONAP-SDNC",
+ "publicUrl": "https://sdnc-web:8453",
+ "redirectUri": "/odlux/index.html#/oauth?token=",
+ "supportOdlUsers": "true",
+ "providers": [
+ {
+ "id": "identity",
+ "type": "KEYCLOAK",
+ "url": "https://identity:8463",
+ "internalUrl": "https://identity:8443",
+ "clientId": "odlux.app",
+ "secret": "2a64fdca-c205-4b52-9f58-195ccc142ddb",
+ "scope": "openid",
+ "title": "ONAP-IDENTITY",
+ "roleMapping": {
+ "administration": "admin"
+ },
+ "realmName": "onap",
+ "trustAll": "true"
}
]
-}
+}
\ No newline at end of file