pgandhap commented on issue #196:
URL: https://github.com/apache/pulsar-manager/issues/196#issuecomment-971340283


   I am also facing the issue while setting up customised postgresql database . 
Please help me if someone already had a solution for the same . Please find 
below steps i followed .
   1 . I used below command to set custom postgresql database . 
   docker run -it -p 9527:9527 -p 7750:7750 -e REDIRECT_HOST=http://localhost 
-e REDIRECT_PORT=9527 -e DRIVER_CLASS_NAME=org.postgresql.Driver -e 
URL='jdbc:postgresql://127.0.0.1:5432/pulsar_manager' -e USERNAME=postgres -e 
PASSWORD=postgres -e LOG_LEVEL=DEBUG  -e 
SPRING_CONFIGURATION_FILE=/pulsar-manager/pulsar-manager/application.properties 
apachepulsar/pulsar-manager:v0.2.0 /bin/sh
   2 . After that i set username and password for pulsar-manager using below 
command . 
   curl -H "X-XSRF-TOKEN:a9e79b0y-5f32-49b9-94a4-26cd4e93da92" -H 
"Cookie:XSRF-TOKEN=a9e79b0y-5f32-49b9-94a4-26cd4e93da92" -H 
"Content-Type:application/json" -X PUT 
http://localhost:7750/pulsar-manager/users/superuser -d "{"name": "admin", 
"password": "apachepulsar", "description": "test", "email": 
"pgan...@in.ibm.com"}"
   3 . Login to pulsar-manager ui by using above credentials ( 
admin/apachepulsar ) , which fails . It says incorrect username and password . 
   Any help is highly appreciated . Thanks !!


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to