-
Notifications
You must be signed in to change notification settings - Fork 0
/
balena.yml
66 lines (66 loc) · 2.37 KB
/
balena.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: "Earth Defender's Toolkit Offline"
type: "sw.application"
version: 0.5.0
description: "A low-energy device that creates an access-point serving applications, bridging them and exposing curated content offline.
Software stack and content are automatically updated while online, and can be updated offline."
assets:
repository:
type: "blob.asset"
data:
url: "https://github.com/digidem/edt-offline"
logo:
type: "blob.asset"
data:
url: "https://github.com/digidem/edt-offline/raw/main/docs/imgs/logo.png"
data:
applicationConfigVariables:
- BALENA_HOST_CONFIG_gpu_mem: 64
applicationEnvironmentVariables:
# BALENA INTERFACE
- SET_HOSTNAME: "edt"
- UDEV: on # Enables ability to auto mount USB drives in to the container
- PORTAL_PORT: 8080
# WIFI
- PWC_HOTSPOT_SSID: "Earth_Defenders_Toolkit" # Name as it appears in list of WiFi networks
- PWC_PORT: 9090
# PWC_HOTSPOT_PASSWORD: "balena01" # Optional. Must be 8 characters or more
# PWC_INTERFACE: "wlan0"
# MAPEO BRIDGE
- MAPEO_PROJECT_KEY: af43cbdb6827d3ddc5b39b20df174bf5c3e44d9bbcdccfe034af090440cebf69
- MAPEO_STORAGE_PATH: /usr/src/output
- MAPEO_TERRASTORIES_TYPE: terrastories
# Minio & Filebrowser
- ADMIN_LOGIN: admin
- ADMIN_PASSWORD: admin123
- LOCALE: "en"
# Syncthing & Filebrowser
- PUID: 1000
- PGID: 1000
- TZ: America/Brasil
- SYNC_SOURCE_ID: 7MAA2AW-FBC5CFE-F32BALW-LKLZEBE-VSPN6XG-4PYESBH-NAZ42Y5-RQYULAL
- SYNC_SOURCE_NAME: EDT-Cloud
- SYNC_CRAWLS_ID: 6qegg-xuksh
- SYNC_CRAWLS_NAME: Offline-Websites
- SYNC_FDROID_ID: zwozu-ajxlu
- SYNC_FDROID_NAME: FDROID-edt
- SYNC_MAPEO_ID: atzye-79v6o
- SYNC_MAPEO_NAME: Mapeo
- SYNC_INSTALLERS_ID: gmyij-7gktt
- SYNC_INSTALLERS_NAME: INSTALLERS-edt
- SYNC_TILES_ID: kfgre-slfl7
- SYNC_TILES_NAME: Map-Tiles
# Terrastories
- HOST_HOSTNAME: edt.local
- OFFLINE_MAP_STYLE: http://edt.local:8085/styles/terrastories-map/style.json
- MAPBOX_ACCESS_TOKEN: "pk.eyJ1IjoibHVhbmRybyIsImEiOiJjanY2djRpdnkwOWdqM3lwZzVuaGIxa3VsIn0.jamcK2t2I1j3TXkUQFIsjQ"
- USE_LOCAL_MAP_SERVER: "true"
- RAILS_ENV: "offline"
defaultDeviceType: "raspberrypi4-64"
supportedDeviceTypes:
- "raspberrypi3-64"
- "raspberrypi4-64"
- "rockpi-4b-rk3399"
- "rockpro64"
- "generic-aarch64"
- "intel-nuc"
- "generic-amd64"