This script assumes the server is only used for aktionskarten! Files will get removed without further checks!
- Check out this repository on a server running alpine linux.
Don't forget to install git first:apk add git
- Get the tiles See Getting the tiles
- Configure the script.
- Run
install.sh
Or just have a look and set it up however you like ;)
The tiles must be provided in mbtiles format.
You can get the tiles for example from maptiler
Place them in a folder and make sure to set the correct folder in the config
file.
Adapt the variables in config
accordingly.
You need to set an email-adress, a frontend, backend and tileserver URL.
Set the correct path for the tiles
folder in which there are the mbtiles you just downloaded.
Running install.sh
will configure an alpine linux server with all necessary parts to run aktionskarten
.
This script uses docker-compose
to run the frontend and backend with the dependencies tileserver-gl, redis and a postgis database.
Docker-compose will be run by a OpenRC service named dockerservice.aktionskarten
.
nginx is used as a reverse proxy.
Certbot is used to generate SSL certificates to the given URLS.