leighmcculloch / docker-unison

A docker data container using Unison for fast folder sync. An alternative to slow boot2docker volumes on OS X.
GNU General Public License v3.0
167 stars 26 forks source link

Make the Unison working directory configurable. #6

Closed leighmcculloch closed 8 years ago

leighmcculloch commented 8 years ago

What

Make the directory that gets synced configurable, instead of hardcoding it as /unison.

Why

@smith64fx suggested this change in #5, so that they could could change it for their use cases. Makes sense to make this available as there's no reason not to and doesn't increase setup with a default still set to /unison.

jumoel commented 8 years ago

This PR would be great for my use. At the moment I've solved it with a symbolic link, but that is a bit ugly :smiley: