forked from khs1994-docker/lnmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mutagen.example.yml
73 lines (67 loc) · 1.47 KB
/
mutagen.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# sync:
# defaults:
# mode: ...
# maxEntryCount: ...
# maxStagingFileSize: ...
# probeMode: ...
# scanMode: ...
# stageMode: ...
# symlink:
# mode: ...
# watch:
# mode: ...
# pollingInterval: ...
# ignore:
# paths:
# - ...
# - ...
# vcs: ...
# permissions:
# defaultFileMode: ...
# defaultDirectoryMode: ...
# defaultOwner: ...
# defaultGroup: ...
# forward:
# defaults:
# socket:
# overwriteMode: ...
# owner: ...
# group: ...
# permissionMode: ...
sync:
# wsl2:
# mode: one-way-safe
# ignore:
# vcs: true
# alpha: "./app/demo"
# beta: "khs1994@localhost:/home/khs1994/app/demo"
wsl2:
mode: one-way-safe
ignore:
vcs: true
paths:
- /docker/
- /cn.vuejs.org/
- /zz-test/
- /pcit/
alpha: "./app"
# alpha: "../app"
beta: "docker://lnmp_mutagen-wsl2_1/app"
permissions:
defaultFileMode: 0666
defaultDirectoryMode: 777
# defaultOwner: www-data
# defaultGroup: id:33
# forward:
# wsl2:
# source: tcp:0.0.0.0:8080
# destination: tcp:localhost:80
# $ mutagen project start
# $ mutagen project list
# $ mutagen project terminate
beforeCreate:
- powershell lnmp-docker.ps1 up mutagen-wsl2
# - pwsh lnmp-docker.ps1 up mutagen-wsl2
afterTerminate:
- powershell lnmp-docker.ps1 stop mutagen-wsl2
# - pwsh lnmp-docker.ps1 stop mutagen-wsl2