Add LoRa Geo Server.

This commit is contained in:
Orne Brocaar 2018-09-17 14:36:46 +02:00
parent 74869cf1d0
commit 6282ce2109
4 changed files with 21 additions and 4 deletions

View File

@ -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)

View 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=""

View File

@ -78,3 +78,6 @@ password=""
[join_server.default] [join_server.default]
server="http://appserver:8003" server="http://appserver:8003"
[geolocation_server]
server="geoserver:8005"

View File

@ -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