Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crisward/dokku-filesync

syncs files between dokku containers
https://github.com/crisward/dokku-filesync

Last synced: 7 days ago
JSON representation

syncs files between dokku containers

Awesome Lists containing this project

README

        

#Dokku Filesync

Simple plugin to allow the syncing of files in two docker containers.
This works by pipe tared files into a shared volume held in the apps folder.
This is a bit specific, but the principle could be extended to be more adaptable.

##Installing

cd /var/lib/dokku/plugins/
git clone https://github.com/crisward/dokku-filesync.git

##Basic Usage

###Sync files between containers

ssh [email protected] sync:down yourapp | ssh [email protected] sync:up yourapp

###Upload a local directory

cd /your-dir
tar cfm - ./* | ssh [email protected] sync:up yourapp

###Download to a local directory

cd /your-dir
ssh [email protected] sync:down yourapp | tar xfvm - -C .