Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
59 lines (48 loc) · 2.25 KB
/
Copy path.env.example
File metadata and controls
59 lines (48 loc) · 2.25 KB
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
# Project Environment Variables
IOTSERVER_SECRET_KEY='insecure-secret'
IOTSERVER_CORS_ORIGIN_WHITELIST='http://localhost:3000'
IOTSERVER_CORS_ALLOW_ALL_ORIGINS='0'
IOTSERVER_POSTGRES_USER='postgres'
IOTSERVER_POSTGRES_PASSWORD='insecure-password'
IOTSERVER_POSTGRES_DBNAME='iotserver'
IOTSERVER_SONOFF_REGION='eu'
IOTSERVER_SONOFF_APP_ID='sonoff-app-id'
IOTSERVER_SONOFF_APP_SECRET='sonoff-app-secret'
IOTSERVER_SONOFF_REDIRECT_URL='http://localhost:8000/integrations/sonoff/callback/'
IOTSERVER_SONOFF_AUTHORIZE_URL='https://c2ccdn.coolkit.cc/oauth/index.html'
IOTSERVER_SONOFF_TOKEN_URL='https://eu-apia.coolkit.cc/v2/user/oauth/token'
IOTSERVER_SONOFF_REFRESH_URL='https://eu-apia.coolkit.cc/v2/user/refresh'
IOTSERVER_SONOFF_DEVICE_URL='https://eu-apia.coolkit.cc/v2/device/thing/status'
IOTSERVER_SONOFF_CACHE_TIMEOUT='300'
IOTSERVER_SOLARMAN_BASE_URL='https://globalapi.solarmanpv.com'
IOTSERVER_SOLARMAN_APP_ID='solarman-app-id'
IOTSERVER_SOLARMAN_APP_SECRET='solarman-app-secret'
IOTSERVER_SOLARMAN_EMAIL='solarman-email@example.com'
IOTSERVER_SOLARMAN_PASSWORD='solarman-password'
IOTSERVER_SOLARMAN_CACHE_TIMEOUT='300'
IOTSERVER_OPENWEATHER_URL='https://api.openweathermap.org/data/3.0/onecall'
IOTSERVER_OPENWEATHER_APIKEY='openweather-key'
IOTSERVER_OLARM_BASE_URL='https://api.olarm.com'
IOTSERVER_OLARM_API_KEY='olarm-api-key'
IOTSERVER_OLARM_DEVICE_ID='olarm-device-id'
IOTSERVER_OLARM_CACHE_TIMEOUT='60'
IOTSERVER_RAINPOINT_EMAIL='rainpoint-api@example.com'
IOTSERVER_RAINPOINT_PASSWORD='rainpoint-password'
IOTSERVER_RAINPOINT_APP_CODE='2'
IOTSERVER_RAINPOINT_AREA_CODE='27'
IOTSERVER_RAINPOINT_HUB_ID='rainpoint-hub-id'
IOTSERVER_RAINPOINT_RAIN_GAUGE_ADDRESS='1'
IOTSERVER_RAINPOINT_POOL_THERMOMETER_ADDRESS='2'
IOTSERVER_RAINPOINT_TEMPERATURE_SENSOR_ADDRESS='3'
IOTSERVER_RAINPOINT_CACHE_TIMEOUT='60'
IOTSERVER_RAINPOINT_DEVICE_ID='app-device-id'
IOTSERVER_GOOGLEMAPS_APIKEY='googlemaps-key'
IOTSERVER_WEBREPL_PORT='8266'
IOTSERVER_WEBREPL_PASSWORD='insecure-password'
IOTSERVER_AUTO_SYNC_DEVICE=1
IOTSERVER_DEVICE_HEALTH_URL='http://localhost:8000/health/{identifier}/'
# Build Environment Variables
DOCKER_POSTGIS_IMAGE='kartoza/postgis:15'
# GDAL local path
IOTSERVER_GDAL_LIBRARY_PATH='/path/to/your/libgdal.so'
IOTSERVER_GEOS_LIBRARY_PATH='/path/to/your/libgeos_c.so'