You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
version: '2'
|
|
services:
|
|
# proxies the sos with Lets Encrypt TLS
|
|
proxy:
|
|
image: abiosoft/caddy
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
volumes:
|
|
- ./Caddyfile:/etc/Caddyfile
|
|
- ./.caddy-certs:/root/.caddy
|
|
depends_on:
|
|
- sos
|
|
|
|
ttn-integration:
|
|
#build: .. # you can build from source, or..
|
|
image: noerw/ttn-ogcswe-integration # pull the image instead.
|
|
# if you pull the image, you need your custom config.yml in this directory!
|
|
volumes:
|
|
- ./config.yml:/usr/src/app/config.yml
|
|
depends_on:
|
|
- sos
|
|
restart: always
|
|
|
|
sos:
|
|
#build: ./sos # SOS from source
|
|
#image: noerw/sos:mqtt # hosted SOS from source
|
|
image: 52north/sos:4.3.8 # official SOS image
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- SOS_REPO=https://github.com/SeBaDro/SOS # only for building from source
|
|
- SOS_BRANCH=feature/mqtt
|
|
depends_on:
|
|
- postgres
|
|
restart: always
|
|
|
|
postgres:
|
|
image: mdillon/postgis:9.5
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=sos
|
|
restart: always
|