Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Koop Docker for Open FDA

Application using Koop and Koop-FDA with Docker.

Setting up Docker

OSX

Grab docker, docker-machine, and docker-compose.

curl -L https://get.docker.com/builds/Darwin/x86_64/docker-latest > docker
curl -L https://github.com/docker/machine/releases/download/v0.2.0/docker-machine_darwin-amd64 > docker-machine
curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > docker-compose

chmod +x docker*
mv docker* /usr/local/bin/
docker-machine create --driver virtualbox dev

Evaluate the docker environment variables for your shell.

eval "$(docker-machine env dev)"

Setting up Koop and PostGIS

Change directory to koop-docker

cd koop-docker

Editing environmentalv variables

Rename docker-compose.yml.example

mv docker-compose.yml.example docker.compose.yml

Edit the file and add in your API Key

PostGIS

Start up the PostGIS container using docker-compose.

docker-compose up -d postgis

Start the koop server.

docker-compose up --no-deps koopPG

You can test that everything's working fine with a simple curl. Or checkout what you can do with the FDA provider

curl -XGET 127.0.0.1:8002/status

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

License

Apache-2.0

Docker Pull Command
Owner
esridc
Source Repository