Skip to content

Commit ef9e924

Browse files
committed
fix: var for Terrastories host and tile-server
1 parent 5be17d8 commit ef9e924

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/demo/.env.example

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ SYNC_INSTALLERS_NAME=INSTALLERS-edt
2222
# Terrastories ENV
2323
MAPBOX_STYLE=mapbox://styles/mapbox/light-v10
2424
MAPBOX_ACCESS_TOKEN=your pk token here
25+
OFFLINE_MAP_URL=http://demo.earthdefenderstoolkit.com:8085/styles/terrastories-map/style.json
26+
DOMAIN=demo.earthdefenderstoolkit.com

docker/demo/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ services:
124124
CHOKIDAR_USEPOLLING: 'true'
125125
USE_LOCAL_MAP_SERVER: 'true'
126126
RAILS_MASTER_KEY: '7a0c538b904d5919af7c11470f3b7a4b'
127-
OFFLINE_MAP_STYLE: /tileserver/styles/terrastories-map/style.json
128-
HOST_HOSTNAME: 0.0.0.0
127+
OFFLINE_MAP_STYLE: ${OFFLINE_MAP_URL}
128+
HOST_HOSTNAME: ${DOMAIN}
129129
volumes:
130130
- bundler:/usr/local/bundle
131131
- terrastories-data:/api

0 commit comments

Comments
 (0)