mirror of
https://github.com/52north/ttn-ogcswe-integration
synced 2025-11-06 11:54:29 +01:00
|
|
||
|---|---|---|
| .. | ||
| sos | ||
| Caddyfile.sample | ||
| config.yml.sample | ||
| docker-compose.yml | ||
| README.md | ||
Docker setup
This docker-compose setup provides you with
- a running SOS instance, proxied with https
- an empty PostGIS DB
- the
ttn-ogcswe-integration
The docker-compose.yml contains examples for different SOS build sources.
Configuration
You need to cp config.yml.sample config.yml and cp Caddyfile.sample Caddyfile
and change the default values. In Caddyfile, just insert your domain name
(if you dont have a domain, remove the caddy service in docker-compose.yml).
For configuration options of the TTN integration, please refer to https://github.com/noerw/ttn-ogcswe-integration/README.md
Run
-
Install git, Docker & docker-compose
-
Get this docker-compose definition:
git clone --depth=1 https://github.com/noerw/ttn-ogcswe-integration cd ttn-ogcswe-integration/docker -
configure the docker containers
Caddyfile: insert your domainconfig.yml: insert TTN credentials, configure sensors- (
docker-compose.yml: customize source of SOS build)
-
start it:
docker-compose up -
configure your sos instance in the browser.
- make shure to enable the Transactional API
-
done!