1
0
Fork 0
mirror of https://github.com/52north/ttn-ogcswe-integration synced 2025-03-12 07:00:28 +01:00
ttn-ogcswe-integration/docker
2017-09-11 21:55:29 +02:00
..
sos update Dockerfile, add docker-compose 2017-08-27 11:28:23 +02:00
Caddyfile.sample fix docker setup 2017-08-27 15:11:30 +02:00
config.yml.sample update dependencies 2017-09-11 21:55:29 +02:00
docker-compose.yml fix docker setup 2017-08-27 15:11:30 +02:00
README.md docker: add caddy proxy, README, sample configs 2017-08-27 12:28:50 +02:00

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

  1. Install git, Docker & docker-compose

  2. Get this docker-compose definition:

    git clone --depth=1 https://github.com/noerw/ttn-ogcswe-integration
    cd ttn-ogcswe-integration/docker
    
  3. configure the docker containers

    • Caddyfile: insert your domain
    • config.yml: insert TTN credentials, configure sensors
    • (docker-compose.yml: customize source of SOS build)
  4. start it:

    docker-compose up
    
  5. configure your sos instance in the browser.

    • make shure to enable the Transactional API
  6. done!