This image contains minimal unison install created primarily for developement
Only exposed port is with unison --socket 5000
WORKDIR is set to /sync, but can be overriden
Two environment variables are set for creating files on the docker side:
WORKUIDWORKGIDEasiest way to start is with docker-compose
nginx:
image: "nginx:1.9.9"
ports:
- "80:80"
volumes_from:
- unison
unison:
image: "dvorakluk/unison:2.48.3"
environment:
WORKUID: 33
WORKGID: 33
ports:
- "5123:5000" # first is the socket port you are connecting to with unison
volumes:
- /usr/share/nginx/html
working_dir: /usr/share/nginx/html # synced folder
unison . socket://<docker_host_ip>:5123/ -auto -repeat watch
Content type
Image
Digest
Size
4.5 MB
Last updated
over 10 years ago
docker pull dvorakluk/unison