LIPAS is a nationwide, public GIS service of Finnish sport sites. More information here.
LIPAS consists of three main services:
- Hub for data and information of sports facility conditions
- Monitoring energy efficiency of public ice stadiums
- Monitoring energy efficiency of public indoor swimming pools
Webapp is written in Clojure(script).
Webapp backend is a simple HTTP(s) service with endpoints for different tasks. Some endpoints require authentication. Authentication is implemented using HTTP-basic authentication and signed JWT-tokens.
Spatial PostGIS for master data storage.
Web facing Nginx reverse proxy, ssl-termination.
Mapproxy basemap proxy and cache.
ELK (ElasticSearch, Logstash, Kibana) is used to provide webapp search funtionalities as well as data and monitoring information.
All data flows also to old Lipas which exposes the data through Geoserver and legacy REST-Api.
See Api-documentation here.
# Create env-file from template cp .env.sample.sh .env.sh # Fill in secrets $EDITOR .env.sh # Run setup script ./setup-dev.sh
Add following to your
hosts file to use same hostnames in both
docker and host while developing.
# Lipas dev 127.0.0.1 postgres 127.0.0.1 backend-dev 127.0.0.1 mapproxy 127.0.0.1 elasticsearch 127.0.0.1 kibana 127.0.0.1 logstash 127.0.0.1 proxy
docker-compose run backend-build
docker-compose run frontend-npm-deps docker-compose run frontend-npm-bundle docker-compose run frontend-build