Skip to content

Instantly share code, notes, and snippets.

@vladfaust
Last active September 2, 2016 16:33
Show Gist options
  • Save vladfaust/49958c0d0fc4b68c5280541cc7f5f56c to your computer and use it in GitHub Desktop.
Save vladfaust/49958c0d0fc4b68c5280541cc7f5f56c to your computer and use it in GitHub Desktop.
Running a FreeGeoIP instance and linking it to a Dokku app
  1. docker run -d fiorix/freegeoip -http :80
  2. dokku docker-options:add myapp run "--link container_name:alias"
  3. dokku docker-options:add myapp deploy "--link container_name:alias"
  4. Inside dokku app: curl alias/json/1.2.3.4
  5. 👍
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment