Skip to content

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

@torahappy

Description

@torahappy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions