Skip to content

Commit

Permalink
Add LoRa Geo Server.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Sep 17, 2018
1 parent 74869cf commit 6282ce2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/loraserver/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
* `data/postgresql`: directory containing the PostgreSQL data (auto-created)
* `data/redis`: directory containing the Redis data (auto-created)
Expand Down
12 changes: 12 additions & 0 deletions configuration/lora-geo-server/lora-geo-server.toml
Original file line number Diff line number Diff line change
@@ -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=""
3 changes: 3 additions & 0 deletions configuration/loraserver/loraserver.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,6 @@ password=""

[join_server.default]
server="http://appserver:8003"

[geolocation_server]
server="geoserver:8005"
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ services:
volumes:
- ./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:
image: postgres:9.6-alpine
ports:
- 5432
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- ./data/postgresql:/var/lib/postgresql/data

redis:
ports:
- 6379
image: redis:4-alpine
volumes:
- ./data/redis:/data
Expand Down

0 comments on commit 6282ce2

Please sign in to comment.