OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.32k stars 932 forks source link

custom map server #3356

Closed jack-reso closed 8 months ago

jack-reso commented 1 year ago

Prerequisites

Description

Environment

  1. docker
  2. opencti 5.7.4 docker
  3. OpenCTI client: { e.g. frontend or python }

Reproducible Steps

Additional information

docker-compose file

 opencti:
    image: opencti/platform:5.7.4
    environment:
      - NODE_OPTIONS=--max-old-space-size=8096
      - APP__PORT=8080
      - APP__BASE_URL=${OPENCTI_BASE_URL}
      - APP__ADMIN__EMAIL=${OPENCTI_ADMIN_EMAIL}
      - APP__ADMIN__PASSWORD=${OPENCTI_ADMIN_PASSWORD}
      - .....
      - PROVIDERS__LOCAL__STRATEGY=LocalStrategy
      - APP__MAP__TILE__SERVER_DARK=http://xxx/{z}/{x}/{y}.png
      - APP__MAP__TILE__SERVER_LIGHT=http://xxx/{z}/{x}/{y}.png

APPMAPTILE__SERVER_DARK and APPMAPTILE__SERVER_LIGHT was add,and http://xxx/{z}/{x}/{y}.png is my own openstreetmap server.

when i start ,platform is start normol,but can't load map

i wonder know why?

Kedae commented 1 year ago

Hi @jack-reso,

I think you have a issue in your docker-compose file. You should have APP__MAP_TILE_SERVER_DARK=http://xxx/{z}/{x}/{y}.png

Can you try that and come back to us ? Please also note that the new documentation is now hosted there: https://docs.opencti.io/5.7.X/deployment/overview/

jack-reso commented 1 year ago

i have change my yml, add APP__MAP_TITLE_SERVER_DARK=[http://xxx/{z}/{x}/{y}.png,but nothing happened

Kedae commented 1 year ago

There has been a typo in both my comment and yours :) Can you check again ?

nino-filigran commented 8 months ago

Given the fact that there's no response, I'm closing this issue!