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

Earth terrain won't be displayed when using pre-built docker image #432

Open
aidatorajiro opened this issue May 21, 2023 · 0 comments
Open

Comments

@aidatorajiro
Copy link
Contributor

Describe the bug
Related issue: #200
When I run local server via docker-compose.yml and edit a project, the earth terrain won't be displayed.
This issue cannot be fixed by setting a custom Cesium Ion API token. It seems that some essential API requests don't change even if I set custom token.
I fixed this issue by building custom docker image, so probably the bug is from the docker image.

  1. run yarn build inside web/ directory.
  2. run cp -r web/dist server/web.
  3. run docker build inside server/ directory.
  4. edit docker-compose.yml to use custom docker image. (replace image: ... with build: server)
  5. run docker-compose up

To Reproduce
Steps to reproduce the behavior:

  1. Run a local server using docker-compose.yml
  2. Create any project
  3. Start editing the project

Expected behavior
The edit and visitor web page both displays earth geometry.

Screenshots
Error log
Two error is shown. One error can be fixed by setting custom API token, but another one remains same.
スクリーンショット 2023-05-21 16 30 11

Edit web page
スクリーンショット 2023-05-21 16 29 36

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

No branches or pull requests

1 participant