Skip to content

SwagDevOps/alluvion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

239 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alluvion

Commands:
  alluvion help [COMMAND]  # Describe available commands or one specific command
  alluvion synchro:done    # Execute synchro (done)
  alluvion synchro:todo    # Execute synchro (todo)

Requirements

Alluvion uses rsync (as default) to synchronize files.

Config

Minimal configuration

url: 'ssh://user@example.org:22'
paths:
  local:
    done: '/var/alluvion/done'
    todo: '/var/alluvion/todo'
  remote:
    done: '/var/alluvion/done'
    todo: '/var/alluvion/todo'

Environment

Config supports environment variables, using ERB-like syntax:

url: 'ssh://<%= @SYNCHRO_USER%>@<%= @SYNCHRO_HOST%>:22'
timeout: <%= ENV['SYNCHRO_TIMEOUT']&.to_i || 5 %>
paths:
  local:
    done: '<%= @SYNCHRO_VOLUME %>/done'
    todo: '<%= @SYNCHRO_VOLUME %>/todo'
  remote:
    done: '<%= @SYNCHRO_REMOTE_PATH %>/done'
    todo: '<%= @SYNCHRO_REMOTE_PATH %>/done'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors