当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 6 Fork 5

indextank/hg_dnmp
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-sync.yml 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
indextank 提交于 2020-01-21 17:04 . HG_DNMP_v1.0.5版本
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/indextank/hg_dnmp.git
[email protected]:indextank/hg_dnmp.git
indextank
hg_dnmp
hg_dnmp
master

搜索帮助