Add LoRa Geo Server.
This commit is contained in:
parent
74869cf1d0
commit
6282ce2109
@ -13,6 +13,7 @@ but keep in mind that for production usage it might need modifications.
|
|||||||
* https://www.loraserver.io/lora-gateway-bridge/install/config/
|
* https://www.loraserver.io/lora-gateway-bridge/install/config/
|
||||||
* https://www.loraserver.io/loraserver/install/config/
|
* https://www.loraserver.io/loraserver/install/config/
|
||||||
* https://www.loraserver.io/lora-app-server/install/config/
|
* https://www.loraserver.io/lora-app-server/install/config/
|
||||||
|
* https://www.loraserver.io/lora-geo-server/install/config/
|
||||||
* `configuration/postgresql/initdb/`: directory containing PostgreSQL initialization scripts
|
* `configuration/postgresql/initdb/`: directory containing PostgreSQL initialization scripts
|
||||||
* `data/postgresql`: directory containing the PostgreSQL data (auto-created)
|
* `data/postgresql`: directory containing the PostgreSQL data (auto-created)
|
||||||
* `data/redis`: directory containing the Redis data (auto-created)
|
* `data/redis`: directory containing the Redis data (auto-created)
|
||||||
|
12
configuration/lora-geo-server/lora-geo-server.toml
Normal file
12
configuration/lora-geo-server/lora-geo-server.toml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# See https://www.loraserver.io/lora-geo-server/install/config/ for a full
|
||||||
|
# configuration example and documentation.
|
||||||
|
|
||||||
|
[geo_server.backend]
|
||||||
|
name="collos"
|
||||||
|
|
||||||
|
[geo_server.backend.collos]
|
||||||
|
# Collos subscription key.
|
||||||
|
#
|
||||||
|
# This key can be retrieved after creating a Collos account at:
|
||||||
|
# http://preview.collos.org/
|
||||||
|
subscription_key=""
|
@ -78,3 +78,6 @@ password=""
|
|||||||
|
|
||||||
[join_server.default]
|
[join_server.default]
|
||||||
server="http://appserver:8003"
|
server="http://appserver:8003"
|
||||||
|
|
||||||
|
[geolocation_server]
|
||||||
|
server="geoserver:8005"
|
||||||
|
@ -20,17 +20,18 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./configuration/lora-gateway-bridge:/etc/lora-gateway-bridge
|
- ./configuration/lora-gateway-bridge:/etc/lora-gateway-bridge
|
||||||
|
|
||||||
|
geoserver:
|
||||||
|
image: loraserver/lora-geo-server:2
|
||||||
|
volumes:
|
||||||
|
- ./configuration/lora-geo-server:/etc/lora-geo-server
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: postgres:9.6-alpine
|
image: postgres:9.6-alpine
|
||||||
ports:
|
|
||||||
- 5432
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
||||||
- ./data/postgresql:/var/lib/postgresql/data
|
- ./data/postgresql:/var/lib/postgresql/data
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
ports:
|
|
||||||
- 6379
|
|
||||||
image: redis:4-alpine
|
image: redis:4-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/redis:/data
|
- ./data/redis:/data
|
||||||
|
Loading…
Reference in New Issue
Block a user