Coder Social home page Coder Social logo

dokku-tor's Introduction

Tor plugin for Dokku

dokku-tor is a plugin for dokku that runs a tor+privoxy container linked to all deployed apps

Requirements

  • Dokku version 0.4.x or higher

Installation & Example

# installation
$ dokku plugin:install https://github.com/michaelshobbs/dokku-tor.git
# example
# rebuild or deploy your app
$ dokku ps:restart test-app
...snip...
$ dokku enter test-app web
# use $DOKKU_TOR_PORT_8118_TCP_ADDR and $DOKKU_TOR_PORT_8118_TCP_PORT in your app
$ curl -i --proxy $DOKKU_TOR_PORT_8118_TCP_ADDR:$DOKKU_TOR_PORT_8118_TCP_PORT https://dokku.github.io/
HTTP/1.1 200 Connection established
Proxy-Agent: Privoxy/3.0.23

HTTP/1.1 200 OK
Server: GitHub.com
Content-Type: text/html; charset=utf-8
Last-Modified: Tue, 19 Apr 2016 18:59:11 GMT
Access-Control-Allow-Origin: *
Expires: Wed, 20 Apr 2016 21:20:31 GMT
Cache-Control: max-age=600
X-GitHub-Request-Id: B91F1124:2087:150FB42A:5717F047
Content-Length: 3126
Accept-Ranges: bytes
Date: Wed, 20 Apr 2016 21:10:55 GMT
Via: 1.1 varnish
Age: 24
Connection: keep-alive
X-Served-By: cache-fra1222-FRA
X-Cache: HIT
X-Cache-Hits: 1
X-Timer: S1461186655.352564,VS0,VE0
Vary: Accept-Encoding
X-Fastly-Request-ID: 5ff88c63578f8bc5caf0c83128a4d1c30b455473

Commands

$ dokku help
    tor:destroy                                destroy tor container
    tor:info                                   show status of running container
    tor:start                                  start tor container
    tor:stop                                   stop tor container
    tor:update                                 updates the tor docker image

Contributing

Feel free to fork and create a Pull Request. (Please add your name to AUTHORS)

License

MIT

dokku-tor's People

Contributors

michaelshobbs avatar rct-k avatar stickler-ci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dokku-tor's Issues

No such container: dokku.tor

If you run dokku-tor on modern Dokku server according to current instructions in Readme.md, this error produces:

dokku ps:restart my_dokku_app
-----> Deploying web (count=1)
Error response from daemon: could not get container for dokku.tor: No such container: dokku.tor
parallel: This job failed:
/var/lib/dokku/plugins/available/scheduler-docker-local/bin/scheduler-deploy-process-container gate herokuish dokku/gate:latest latest web 1 1
 !     exit status 1

Plugin was installed successfully though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.