代码拉取完成,页面将自动刷新
version: '2'
# https://docker-sync.readthedocs.io/en/latest/getting-started/configuration.html#docker-compose-yml
# https://github.com/EugenMayer/docker-sync-boilerplate
options:
# 是否打开调试,true为打开,false为关闭
verbose: false
max_attempt: 5
# optional, default auto, can be docker-sync, thor or auto and defines how the sync will be invoked on the cli. Mostly depending if your are using docker-sync solo, scaffolded or in development ( thor )
cli_mode: 'auto'
# optional, default: pwd, root directory to be used when transforming sync src into absolute path, accepted values: pwd (current working directory), config_path (the directory where docker-sync.yml is found)
project_root: 'pwd'
syncs:
mac-sync: #tip: add -sync and you keep consistent names als a convention
src: ${GLOBAL_WEB_PATH}
sync_strategy: 'unison'
sync_host_port: 10872
sync_userid: 1000
host_disk_mount_mode: 'cached'
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']
sync_args:
- "-ignore='Path .idea'"
- "-ignore='Path .git'"
- "-ignore='BelowPath .git'"
- "-ignore='Path var/cache/*'"
- "-ignore='Path var/sessions/*'"
- "-ignore='Path node_modules/*'"
sync_host_ip: 'auto'
notify_terminal: true
linux-sync:
src: ${GLOBAL_WEB_PATH}
sync_strategy: 'unison'
sync_host_port: 10872
sync_userid: '1000'
host_disk_mount_mode: 'cached'
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']
sync_args:
- "-ignore='Path .idea'"
- "-ignore='Path .git'"
- "-ignore='BelowPath .git'"
- "-ignore='Path var/cache/*'"
- "-ignore='Path var/sessions/*'"
- "-ignore='Path node_modules/*'"
sync_host_ip: 'auto'
notify_terminal: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。