-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.mutagen.yml
More file actions
131 lines (128 loc) · 4.08 KB
/
docker-compose.mutagen.yml
File metadata and controls
131 lines (128 loc) · 4.08 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
x-mutagen:
sync:
defaults:
mode: "two-way-resolved"
ignore:
vcs: true
paths:
- ".git"
- ".github"
- ".vscode"
- ".idea"
- ".docker"
permissions:
defaultOwner: "id:1000"
defaultGroup: "id:1000"
defaultFileMode: "0644"
defaultDirectoryMode: "0755"
symlink:
mode: "posix-raw"
watch:
mode: "portable"
php-data:
alpha: "."
beta: "volume://php-data"
ignore:
paths:
- "*" # Ignore everything by default
- "!bin/**" # Then explicitly un-ignore the paths we want
- "!config/**"
- "!src/**"
- "!templates/**"
- "!tests"
- "!tests/Application"
- "!tests/Application/bin/**"
- "!tests/Application/config/**"
- "!tests/Application/public/.htaccess"
- "!tests/Application/public/index.php"
- "!tests/Application/src/**"
- "!tests/Application/templates/**"
- "!tests/Application/translations/**"
- "!tests/Application/.env"
- "!tests/Application/.env.test"
- "!tests/Application/composer.json"
- "!tests/Application/Kernel.php"
- "!tests/bootstrap.php"
- "!translations/**"
- "!composer.json"
- "!composer.lock"
- "!phpstan.neon"
# tests
- "!ecs.php"
- "!behat.yml.dist"
- "!phpunit.xml.dist"
- "!features/**"
- "!tests/Behat/**"
- "!tests/Integration/**"
- "!tests/Unit/**"
node-data:
alpha: "."
beta: "volume://node-data"
ignore:
paths:
- "*" # Ignore everything by default
- "!assets/**" # Then explicitly un-ignore the paths we want
- "!build/**"
- "!etc/**"
- "!public/**"
- "!tests"
- "!tests/Application"
- "!tests/Application/assets/**"
- "!tests/Application/node_modules/**"
- "!tests/Application/package.json"
- "!tests/Application/webpack.config.js"
- "!tests/Application/yarn.lock"
- "!package.json"
public:
alpha: "./tests/Application/public"
beta: "volume://public"
ignore:
paths:
- "build"
- "media/cache"
public-build:
alpha: "./tests/Application/public/build"
beta: "volume://public-build"
public-media-cache:
alpha: "./tests/Application/public/media"
beta: "volume://public-media-cache"
symfony-logs:
mode: "one-way-replica"
beta: "./var/log"
alpha: "volume://symfony-logs"
vendor:
alpha: "./vendor"
beta: "volume://vendor"
services:
php:
volumes:
- php-data:/srv/sylius:rw,cached
- symfony-cache:/srv/sylius/tests/Application/var:rw,delegated
- symfony-logs:/srv/sylius/tests/Application/var/log:rw,delegated
- public:/srv/sylius/tests/Application/public:rw,cached
- public-build:/srv/sylius/tests/Application/public/build:ro,cached
- public-media-cache:/srv/sylius/tests/Application/public/media/cache:rw,delegated
- vendor:/srv/sylius/vendor:rw,delegated
nginx:
volumes:
- public:/srv/sylius/tests/Application/public:rw,cached
- public-build:/srv/sylius/tests/Application/public/build:ro,cached
- public-media-cache:/srv/sylius/tests/Application/public/media/cache:ro,cached
nodejs:
volumes:
- node-data:/srv/sylius:rw,cached
- public-build:/srv/sylius/tests/Application/public/build:rw,delegated
- vendor:/srv/sylius/vendor:ro,cached
volumes:
php-data:
node-data:
vendor:
public:
public-build:
public-media-cache:
symfony-logs: # Regular persistent volume for logs
symfony-cache: # Tmpfs volume for cache
driver: local
driver_opts:
type: tmpfs
device: tmpfs