adoroszlai commented on code in PR #9909:
URL: https://github.com/apache/ozone/pull/9909#discussion_r2922901349
##########
hadoop-ozone/dist/src/main/compose/common/ranger.yaml:
##########
@@ -35,16 +36,35 @@ services:
ranger:
image: ${RANGER_IMAGE}:${RANGER_IMAGE_VERSION}
- hostname: ranger
+ hostname: ranger-admin.rangernw
dns_search: .
ports:
- 6080:6080
depends_on:
ranger-db:
condition: service_healthy
environment:
+ POSTGRES_PASSWORD: "rangerR0cks!"
+ RANGER_DB_USER: "rangeradmin"
+ RANGER_DB_PASSWORD: "rangerR0cks!"
RANGER_DB_TYPE: postgres
- RANGER_VERSION:
+ RANGER_DB_FLAVOR: POSTGRES
+ RANGER_DB_ROOT_USER: "postgres"
+ RANGER_ADMIN_DB_ROOT_PASSWORD: "rangerR0cks!"
+ RANGER_AUDIT_DB_ROOT_PASSWORD: "rangerR0cks!"
+ RANGER_ADMIN_DB_HOST: "ranger-db"
+ RANGER_ADMIN_DB_PORT: "5432"
+ RANGER_ADMIN_DB_DBNAME: "ranger"
+ RANGER_ADMIN_DB_USERNAME: "rangeradmin"
+ RANGER_ADMIN_DB_PASSWORD: "rangerR0cks!"
+ RANGER_AUDIT_DB_HOST: "ranger-db"
+ RANGER_AUDIT_DB_PORT: "5432"
+ RANGER_AUDIT_DB_DBNAME: "ranger"
+ RANGER_AUDIT_DB_USERNAME: "rangeradmin"
+ RANGER_AUDIT_DB_PASSWORD: "rangerR0cks!"
+ RANGER_VERSION: ${RANGER_VERSION}
Review Comment:
FYI `RANGER_VERSION:` (without value) does not need to be changed, since it
has the same result, it passes environment variable of the same name.
##########
hadoop-ozone/dist/src/main/compose/common/ranger.yaml:
##########
@@ -35,16 +36,35 @@ services:
ranger:
image: ${RANGER_IMAGE}:${RANGER_IMAGE_VERSION}
- hostname: ranger
+ hostname: ranger-admin.rangernw
Review Comment:
Note: Reported https://issues.apache.org/jira/browse/RANGER-5514, Ranger
Admin should not require this specific hostname.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]