-
Notifications
You must be signed in to change notification settings - Fork 0
/
seaweedfs.dev.yml
99 lines (92 loc) · 2.03 KB
/
seaweedfs.dev.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
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
version: "3.9"
services:
seaweedts:
image: seaweedts
hostname: seaweed
networks:
- all
container_name: seaweedts
restart: always
command: [
"./wait-for-it.sh", "s3:8333", "-t", "30", "--",
"./wait-for-it.sh", "volume:8080", "-t", "30", "--",
"npm", "run", "coverage"
]
volumes:
- ./src:/seaweed/src
master:
image: chrislusf/seaweedfs
hostname: master
container_name: master
networks:
- all
restart: always
ports:
- 9333:9333
- 19333:19333
command: "-v=1 master -volumeSizeLimitMB=8192 -resumeState=false -ip=master -port=9333 -peers=master:9333 -mdir=/data"
volume:
image: chrislusf/seaweedfs
restart: always
networks:
- all
hostname: volume
container_name: volume
ports:
- 8080:8080
- 18080:18080
command: 'volume -dataCenter=dc1 -max=1000 -rack=v1 -mserver="master:9333" -port=8080 -ip=volume -publicUrl=localhost:8080 -preStopSeconds=1'
depends_on:
- master
volumes:
- volume1:/data
filer:
image: chrislusf/seaweedfs
restart: always
hostname: filer
container_name: filer
networks:
- all
ports:
- 8888:8888
- 18888:18888
- 8111:8111
command: 'filer -defaultReplicaPlacement=000 -iam -master="master:9333"'
depends_on:
- master
- volume
s3:
image: chrislusf/seaweedfs
restart: always
hostname: s3
container_name: s3
networks:
- all
ports:
- 8333:8333
command: 's3 -filer="filer:8888" -ip.bind=0.0.0.0 -allowEmptyFolder=true -allowDeleteBucketNotEmpty=false'
depends_on:
- master
- volume
- filer
webdav:
image: chrislusf/seaweedfs
restart: always
hostname: webdav
container_name: webdav
networks:
- all
ports:
- 7333:7333
command: 'webdav -filer="filer:8888"'
depends_on:
- master
- volume
- filer
networks:
all:
driver: bridge
attachable: true
volumes:
volume1:
driver: local