Closed arielelkin closed 8 years ago
yongjhih/docker-parse-dashboard@a35f878 fixed it.
Try it after docker pull yongjhih/parse-dashboard
Thanks for your reply, but I get the same blank page.
I removed all my parse and mongo containers, and did a docker pull yongjhih/parse-dashboard
Then I did the instructions for the compose file:
$ wget https://github.com/yongjhih/docker-parse-server/raw/master/docker-compose.yml
$ APP_ID=myAppId MASTER_KEY=myMasterKey docker-compose up -d
I get this output:
$ APP_ID=id MASTER_KEY=key docker-compose up -d
WARNING: The MAX_UPLOAD_SIZE variable is not set. Defaulting to a blank string.
WARNING: The PARSE_MOUNT variable is not set. Defaulting to a blank string.
WARNING: The DEV_CERT variable is not set. Defaulting to a blank string.
WARNING: The TRUST_PROXY variable is not set. Defaulting to a blank string.
WARNING: The PRODUCTION_KEY variable is not set. Defaulting to a blank string.
WARNING: The DEV_PFX variable is not set. Defaulting to a blank string.
WARNING: The PRODUCTION_CERT variable is not set. Defaulting to a blank string.
WARNING: The REST_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The GCM_KEY variable is not set. Defaulting to a blank string.
WARNING: The DEV_KEY variable is not set. Defaulting to a blank string.
WARNING: The JAVASCRIPT_KEY variable is not set. Defaulting to a blank string.
WARNING: The PRODUCTION_BUNDLE_ID variable is not set. Defaulting to a blank string.
WARNING: The DEV_BUNDLE_ID variable is not set. Defaulting to a blank string.
WARNING: The APP_NAME variable is not set. Defaulting to a blank string.
WARNING: The ENABLE_ANON_USERS variable is not set. Defaulting to a blank string.
WARNING: The DOTNET_KEY variable is not set. Defaulting to a blank string.
WARNING: The FACEBOOK_APP_IDS variable is not set. Defaulting to a blank string.
WARNING: The PUBLIC_SERVER_URL variable is not set. Defaulting to a blank string.
WARNING: The SERVER_URL variable is not set. Defaulting to a blank string.
WARNING: The FILE_KEY variable is not set. Defaulting to a blank string.
WARNING: The PRODUCTION_PFX variable is not set. Defaulting to a blank string.
WARNING: The ALLOW_CLIENT_CLASS_CREATION variable is not set. Defaulting to a blank string.
WARNING: The VERIFY_USER_EMAILS variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_URI variable is not set. Defaulting to a blank string.
WARNING: The GCM_ID variable is not set. Defaulting to a blank string.
WARNING: The COLLECTION_PREFIX variable is not set. Defaulting to a blank string.
WARNING: The CLIENT_KEY variable is not set. Defaulting to a blank string.
WARNING: The PARSE_REST_KEY variable is not set. Defaulting to a blank string.
WARNING: The PARSE_APP_NAME variable is not set. Defaulting to a blank string.
WARNING: The PARSE_APP_ID variable is not set. Defaulting to a blank string.
WARNING: The PARSE_JS_KEY variable is not set. Defaulting to a blank string.
WARNING: The PARSE_MASTER_KEY variable is not set. Defaulting to a blank string.
WARNING: The PARSE_SERVER_URL variable is not set. Defaulting to a blank string.
Starting user_parse-cloud-code_1
Starting user_mongo-data_1
Creating user_mongo_1
Creating user_parse-server_1
Creating user_parse-dashboard_1
Any thoughts?
this just appeared:
is it the reason?
If blank page:
Is your docker-compose as a container? docker-compose container has a bug about environment variables, so you must use release version by the following command:
curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
Try to remove -d --detach
option for more info: APP_ID=myAppId MASTER_KEY=myMasterKey docker-compose up
If HTTPS issue:
You should access remote dashboard via HTTPS or allow insecure http by the following command:
PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1 USER1=user1 _name USER1_PASSWORD=user1_password APP_ID=myAppId MASTER_KEY=myMasterKey docker-compose up
Up standalone parse-dashboard: https://github.com/yongjhih/docker-parse-dashboard
Up other containers without parse-dashboard:
$ APP_ID=myAppId MASTER_KEY=myMasterKey docker-compose up -d -f docker-compose-without-dashboard.yml
I followed the instructions to
wget
anddocker-compose up
the docker-compose fileThe server, dashboard, and mongo are created successfully.
Server responds successfully when I
/functions/hello/
to it.But the dashboard doesn't work. If I go to
localhost:40404/index.view
, I get an empty page. Here's the source: