github.com/resonatecoop/id@v1.1.0-43/docker-sync.yml (about) 1 version: "2" 2 3 options: 4 compose-file-path: 'docker-compose.yml' 5 6 compose-dev-file-path: 'docker-compose-dev.yml' 7 8 max_attempt: 5 9 10 project_root: 'pwd' 11 12 syncs: 13 default-sync: 14 sync_strategy: 'native_osx' 15 # which folder to watch / sync from - you can use tilde, it will get expanded. 16 # the contents of this directory will be synchronized to the Docker volume with the name of this sync entry ('default-sync' here) 17 src: './' 18 19 host_disk_mount_mode: 'cached' # see https://docs.docker.com/docker-for-mac/osxfs-caching/#cached 20 # other unison options can also be specified here, which will be used when run under osx, 21 # and ignored when run under linux 22 23 oauth-app-sync: 24 # enable terminal_notifier. On every sync sends a Terminal Notification regarding files being synced. ( Mac Only ). 25 # good thing in case you are developing and want to know exactly when your changes took effect. 26 # be aware in case of unison this only gives you a notification on the initial sync, not the syncs after changes. 27 notify_terminal: true 28 29 sync_host_port: 10871 30 31 # which folder to watch / sync from - you can use tilde (~), it will get expanded. Be aware that the trailing slash makes a difference 32 # if you add them, only the inner parts of the folder gets synced, otherwise the parent folder will be synced as top-level folder 33 src: './' 34 35 sync_excludes: ['Gemfile.lock', 'Gemfile', 'config.rb', '.sass-cache', 'sass', 'sass-cache', 'composer.json' , 'bower.json', 'package.json', 'Gruntfile*', 'bower_components', 'node_modules', '.gitignore', '.git', '*.coffee', '*.scss', '*.sass'] 36 37 # optional, default can be either rsync or unison See Strategies in the wiki for explanation 38 sync_strategy: 'rsync' 39 40 watch_excludes: ['.*/.git', '.*/node_modules', '.*/bower_components', '.*/sass-cache', '.*/.sass-cache', '.*/.sass-cache', '.coffee', '.scss', '.sass', '.gitignore']