-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
60 lines (60 loc) · 1.44 KB
/
docker-compose.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
version: '3'
services:
mfsmaster:
image: katharostech/lizardfs
command: master
restart: on-failure
volumes:
- /var/lib/mfs
mfsmaster-shadow:
image: katharostech/lizardfs
command: master
restart: on-failure
environment:
MFSMASTER_PERSONALITY: shadow
volumes:
- /var/lib/mfs
metalogger:
image: katharostech/lizardfs
command: metalogger
restart: on-failure
volumes:
- /var/lib/mfs
chunkserver:
image: katharostech/lizardfs
command: chunkserver
restart: on-failure
environment:
# This lets you run the chunkserver with less available disk space
MFSCHUNKSERVER_HDD_LEAVE_SPACE_DEFAULT: 20Mi # 4Gi is the default
MFSHDD_1: /mnt/mfshdd
volumes:
- /mnt/mfshdd
cgiserver:
image: katharostech/lizardfs
command: cgiserver
restart: on-failure
ports:
- 8080:80
client1:
image: katharostech/lizardfs
command: client /mnt/mfs
restart: on-failure
# Required permissions and devices for container to mount filesystem
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse:/dev/fuse
security_opt:
- apparmor:unconfined
client2:
image: katharostech/lizardfs
command: client /mnt/mfs
restart: on-failure
# Required permissions and devices for container to mount filesystem
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse:/dev/fuse
security_opt:
- apparmor:unconfined