Skip to content

Instantly share code, notes, and snippets.

@CraigChilds94
Created June 11, 2018 16:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CraigChilds94/79837e42cea92ca35f450bd7afab1c68 to your computer and use it in GitHub Desktop.
Save CraigChilds94/79837e42cea92ca35f450bd7afab1c68 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 amount of memory, try 8GB.

Then run docker-compose up.

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
ports:
- 8081:8081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment