/maputnik-service

A docker setup to get maputnik running locally

Primary LanguageMakefile

Maputnik services

A docker setup to get maputnik running locally. Build on top of @orangemug work.

Locally these are

These all run through a haproxy.

Enviroment variables

There are certain keys that are required to get a fully working maputnik locally.

gatekeeper

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.

Usage

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.

License

MIT

TODO

  • 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