Check https://mosmix-api.codeformuenster.org
Database, api and processor is running inside containers. You need Docker, docker-compose and systemd (for scheduling). The supplied docker-compose.yml brings everything needed for running and serving the whole stack
- Install docker, docker-compose
- Copy the files from the
deploymentfolder to you server- folder
mosmixto/etc/mosmix - folder
systemd/systemto/etc/systemd/system
- folder
- Start the database on the server
docker-compose -f /etc/mosmix/docker-compose.yml up -d mosmix-postgis
- Execute the processor(s) once
docker-compose -f /etc/mosmix/docker-compose.yml run --rm processor mosmix_sdocker-compose -f /etc/mosmix/docker-compose.yml run --rm processor mosmix_l
- Enable and start the systemd timer on the server
systemctl daemon-reloadsystemctl start mosmix-processor-l.timer mosmix-processor-s.timersystemctl enable mosmix-processor-l.timer mosmix-processor-s.timer
- Start the frontend-proxy and api on the server
docker-compose -f /etc/mosmix/docker-compose.yml up -d api frontend-proxy
You now should have a running version of the api accessible at port 80.