Two docker images of the simple-file-mirror by FP Complete
Configure the remote client by setting the listening port, and a mirrored destination directory. The simple-file-mirror tool will listen on the specified port and connect to the server over TCP in a conduit transaction. A conduit is an enumerator/iteratee or a pipes client-server communication model.
#!/bin/sh # this is directories, remember? mkdir remote # run in a docker container docker run \ -e REMOTE_PORT=(set wanted port) \ -v $PWD/remote:/destination:Z \ -d simple-file-mirror:remote
Run the local server by setting the remote's host name and port, and mounting a broadcast source directory. You can run multiple instances of this service via docker to broadcast to other hosts.
#!/bin/sh # still directories mkdir broadcast docker run \ -e REMOTE_HOST=(set to remote ipaddr) \ -e REMOTE_PORT=(set to remote port) \ -v $PWD/broadcast:/source:Z \ -d simple-file-mirror:local
- Docker Compose simple-file-mirror data-center orchestration builder
- A DSL for building remote
- A DSL for building local
- Hashicorp Consul support
- Build up community. You can join sooner.