Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure a user to access Parse Dashboard remotely #74

Open
Aleyasen opened this issue Nov 16, 2016 · 4 comments
Open

Configure a user to access Parse Dashboard remotely #74

Aleyasen opened this issue Nov 16, 2016 · 4 comments

Comments

@Aleyasen
Copy link

I used the sample command in the docker hub page (with PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1 and username/password), but when I visit the http://myhost:4040/ I am getting the following message:

Configure a user to access Parse Dashboard remotely

This is the command for running parse-dashboard docker:

docker run -d \
             -e APP_ID=APP_ID\
             -e MASTER_KEY=MASTER_KEY\
             -e SERVER_URL=http://myhost:1337/parse \
             -e PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1  \
             -e USER1=username  \
             -e USER1_PASSWORD=password \
             -p 4040:4040                      \
             --link parse-server               \
             --name parse-dashboard            \
             yongjhih/parse-dashboard
@aarshaw
Copy link

aarshaw commented Dec 30, 2016

Any luck with this? I'm having the same issue...

@cyberaxcess
Copy link

+1
I'm also having this issue. Followed the instructions exactly using the option for the allow insecure.

@aarshaw
Copy link

aarshaw commented Jan 15, 2017

Just letting you know, I was able to fix using this answer:

yongjhih/docker-parse-dashboard#11

Which uses the PARSE_DASHBOARD_CONFIG environment variable instead of the specific USER1, USER1_PASSWORD etc.

docker run -d \
        -e PARSE_DASHBOARD_CONFIG='{"apps":[{"appId":"<appid>","serverURL":"<docker-ip>/parse","masterKey":"<masterkey>","appName":"<appname>"}],"users":[{"user":"<username>","pass":"<password>"}]}' \
        -e PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1  \
        -p 4040:4040                      \
        --link parse-server               \
        --name parse-dashboard            \
        yongjhih/parse-dashboard

@spagnolodesign
Copy link

fixed by running
APP_ID=YOUR_APP_ID MASTER_KEY=YOUR_MASTER_KEY PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1 SERVER_URL=http://localhost:1337/parse USER1=yourUsername USER1_PASSWORD=yourUsernamesPassword docker-compose up -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants