Skip to content

Instantly share code, notes, and snippets.

@ksonda
Created January 19, 2022 15:30
Show Gist options
  • Save ksonda/a56de45ea6906ef06b134a7cd8843786 to your computer and use it in GitHub Desktop.
Save ksonda/a56de45ea6906ef06b134a7cd8843786 to your computer and use it in GitHub Desktop.
docker-compose for frost with chillimport
version: '3.4'
services:
chill-import:
image: fraunhoferiosb/chillimport:latest
ports:
- "8000:8000"
environment:
- configPath="/data"
volumes:
- chill-import-volume:/data
web:
image: fraunhoferiosb/frost-server:latest
environment:
- serviceRootUrl=http://localhost:8080/FROST-Server
- http_cors_enable=true
- http_cors_allowed.origins=*
- persistence_db_driver=org.postgresql.Driver
- persistence_db_url=jdbc:postgresql://database:5432/sensorthings
- persistence_db_username=sensorthings
- persistence_db_password=ChangeMe
- persistence_autoUpdateDatabase=true
ports:
- 8080:8080
- 1883:1883
depends_on:
- database
database:
image: postgis/postgis:11-2.5-alpine
environment:
- POSTGRES_DB=sensorthings
- POSTGRES_USER=sensorthings
- POSTGRES_PASSWORD=ChangeMe
volumes:
- postgis_volume:/var/lib/postgresql/data
volumes:
chill-import-volume:
postgis_volume:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment