onnimonni / docker-unison

Lightweight Docker unison server based on alpine linux for file synchronization
GNU General Public License v3.0
63 stars 27 forks source link

add /data volume in the example, use actual path in the example #18

Closed scytacki closed 6 years ago

scytacki commented 6 years ago

If a user is just following these commands, the -v /data needs to be added so it works. The /var/www/project is what is used in the docker compose snippet, so it seems the text should refer to that.

One thing to note which is that with these examples the /unison volume gets mounted along $UNISON_DIR. This is because the Dockerfile creates this /unison volume and volumes-from mounts that volume along with the /data or /var/www/project volume.