-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.efs.yml
59 lines (59 loc) · 1.35 KB
/
.lando.efs.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
services:
appserver:
overrides:
volumes:
- type: volume
source: wp_uploads
target: /media
read_only: true
volume:
nocopy: true
- type: volume
source: wp_content
target: /content
read_only: false
build_as_root:
- adduser www-data xfs
run_as_root:
- /app/scripts/build-scripts/link-efs-themes-plugins.sh
cron:
services:
volumes:
- type: volume
source: wp_uploads
target: /media
read_only: true
volume:
nocopy: true
- type: volume
source: wp_content
target: /content
read_only: false
volumes:
wp_uploads:
driver: local
driver_opts:
type: nfs
o: addr=10.98.11.28,ro,nfsvers=4
device: ":/"
wp_content:
driver: local
driver_opts:
type: nfs
o: addr=10.98.11.233,rw,fsc,nfsvers=4
device: ":/"
appserver_nginx:
overrides:
volumes:
- type: volume
source: wp_uploads
target: /media
read_only: true
volume:
nocopy: true
- type: volume
source: wp_content
target: /content
read_only: false
build_as_root:
- adduser daemon www-data