This Dockerfile installs node-koop and various data providers (git, gist, socrata).
You can use this Dockerfile to build node-koop instance by doing following.
git clone https://github.com/soichih/docker-node-koop.git
(Optionally) Make any necessary changes to Dockerfile
Build your container
docker build -t koop .
This will take about 10-20 minutes. If you are in a hurry, you are free to use pull my built instance from Dockerhub.
docker pull soichih/koop
You need to add default.yaml containing your github token, etc.. If you are using Docker postgres container, you should be able to leave the postgis configuration the same as below.
server:
port: 8080
logfile: '/var/log/koop.log'
data_dir: '/usr/local/koop/'
github_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
db:
postgis:
conn: "postgres://postgres@db/postgres"
docker run -d --name koop-postgis soichih/postgis
docker run -d --link koop-postgis:db -v `pwd`/default.yml:/koop/config/default.yml -p 49163:8080 --name mykoop koop
Browse to http://[your docker host]:49163/
Content type
Image
Digest
sha256:ecdea6b1c…
Size
267.6 MB
Last updated
about 11 years ago
docker pull soichih/koop