Skip to content

Instantly share code, notes, and snippets.

@chrisji
Forked from CraigChilds94/README.md
Last active November 20, 2018 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisji/4690246fbed26a3b6a38f4760b9cfcb5 to your computer and use it in GitHub Desktop.
Save chrisji/4690246fbed26a3b6a38f4760b9cfcb5 to your computer and use it in GitHub Desktop.
Running Twofishes with Docker

Place the Docker Compose config file in the root of a project folder.

Ensure you've got your Docker Machine setup to use a large enough amount of memory, try 8GB.

Then run docker-compose up (or docker-compose up -d to run in detatched state)

Once you've seen the serving http/json on port 8081 message come up, run curl http://0.0.0.0:8081/\?query\=Twatt,Scotland

version: "2"
services:
twofishes:
privileged: true
image: doda/twofishes-geocoder
container_name: twofishes
mem_limit: 8g
ports:
- 8081:8081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment