weaveworks-experiments / docker-plugin

Deprecated, part of Weave Net now
https://github.com/weaveworks/weave
Apache License 2.0
33 stars 9 forks source link

Enable a way to switch crypto on #10

Closed errordeveloper closed 9 years ago

errordeveloper commented 9 years ago

Will just write it down here for now.

squaremo commented 9 years ago

In general I should be passing environment values along to weave launch. Possibly this will be obviated if I take weave launch out of the plugin's remit; i.e., let the user start both weave and the plugin themselves.

squaremo commented 9 years ago

I've put the launching of the router (in #13) in the script rather than in the plugin code. The script passes environment variables including WEAVE_PASSWORD and can be given WEAVE_ARGS to append to the launch command line. Alternatively, you can just treat the script as an example and start weave and the plugin with your own scripts.