Skip to content

Commit b168a5f

Browse files
committed
Add guardianconnector-views
1 parent 7e9da37 commit b168a5f

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

balena.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,24 @@ data:
4949
- SYNC_INSTALLERS_NAME: INSTALLERS-edt
5050
- SYNC_TILES_ID: kfgre-slfl7
5151
- SYNC_TILES_NAME: Map-Tiles
52+
# Multiple services
53+
- MAPBOX_ACCESS_TOKEN:
5254
# Terrastories
5355
- HOST_HOSTNAME: edt.local
5456
- OFFLINE_MAP_STYLE: http://edt.local:8085/styles/terrastories-map/style.json
55-
- MAPBOX_ACCESS_TOKEN: "pk.eyJ1IjoibHVhbmRybyIsImEiOiJjanY2djRpdnkwOWdqM3lwZzVuaGIxa3VsIn0.jamcK2t2I1j3TXkUQFIsjQ"
5657
- USE_LOCAL_MAP_SERVER: "true"
5758
- RAILS_ENV: "offline"
5859
# map-packer
5960
- AZURE_STORAGE_CONNECTION_ACCOUNT_NAME:
6061
- AZURE_STORAGE_CONNECTION_STORAGE_KEY:
61-
- MAPBOX_ACCESS_TOKEN:
6262
- MAPBOX_STYLE:
6363
- MAPBOX_STYLE_NAME:
6464
- MAP_ZOOM:
6565
- MAP_LATITUDE:
6666
- MAP_LONGITUDE:
6767
- VUE_APP_PLANET_API_KEY:
68+
# guardianconnector-views
69+
- NUXT_ENV_VIEWS_CONFIG:
6870
defaultDeviceType: "raspberrypi4-64"
6971
supportedDeviceTypes:
7072
- "raspberrypi3-64"

docker-compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,21 @@ services:
198198
OFFLINE_MAPS_URI: edt.local:8087/offline_maps/
199199
PORT: 8091
200200
VUE_APP_API_KEY: 3700dc88-b8d7-4237-bd89-3b865a3915e6
201+
# https://hub.docker.com/r/communityfirst/guardianconnector-views
202+
guardianconnector-views:
203+
image: communityfirst/guardianconnector-views:latest
204+
restart: unless-stopped
205+
ports:
206+
- 8092:8080
207+
environment:
208+
DATABASE: warehouse
209+
DB_HOST: database
210+
DB_USER: postgres
211+
DB_PASSWORD: postgres
212+
DB_PORT: 8083
213+
DB_SSL: false
214+
SQLITE: NO
215+
PORT: 8092
216+
NUXT_ENV_AUTH_STRATEGY: none
217+
VUE_APP_API_KEY: 3700dc88-b8d7-4237-bd89-3b865a3915e6
218+

0 commit comments

Comments
 (0)