Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/crisward/dokku-filesync
- Owner: crisward
- Created: 2014-04-22T17:06:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T20:16:26.000Z (about 10 years ago)
- Last Synced: 2024-04-17T04:01:51.010Z (10 months ago)
- Language: Shell
- Size: 160 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 .