A docker setup to get maputnik running locally. Build on top of @orangemug work.
Locally these are
These all run through a haproxy.
There are certain keys that are required to get a fully working maputnik locally.
Our gatekeeper instance expects github OAuth id and secrets.
# Add to your ~/.profile or ~/.bashrc
export GK_OAUTH_CLIENT_ID=000000000000
export GK_OAUTH_CLIENT_SECRET=000000000000
Where 000000000000
is replaced with your details.
Make sure you have docker installed and run.
git subdmodule update --init
make user
make dockerbuild
This may take a while to complete depending on your internet connection. Once complete start the apps with
make dockerrun
Now head to http://localhost:8080 and explore maputnik running on your local machine.
- Create the OAUTH app in geoadmin
- Put the GK_OAUTH_CLIENT_ID and GK_OAUTH_CLIENT_SECRET in gopass and read them from there
- Encapsulate the docker-compose for rancher deploy