Mount some test SeaweedFS mount points
This commit is contained in:
parent
84c50212a0
commit
5fb1695569
|
@ -268,3 +268,19 @@ firewall:
|
||||||
- port: any
|
- port: any
|
||||||
proto: icmp
|
proto: icmp
|
||||||
host: any
|
host: any
|
||||||
|
|
||||||
|
- port: 8080
|
||||||
|
proto: tcp
|
||||||
|
host: any
|
||||||
|
|
||||||
|
- port: 18080
|
||||||
|
proto: tcp
|
||||||
|
host: any
|
||||||
|
|
||||||
|
- port: 8888
|
||||||
|
proto: tcp
|
||||||
|
host: any
|
||||||
|
|
||||||
|
- port: 18888
|
||||||
|
proto: tcp
|
||||||
|
host: any
|
||||||
|
|
|
@ -5,7 +5,8 @@ services:
|
||||||
container_name: infranet
|
container_name: infranet
|
||||||
image: dcr.wallace.sh/scott/infranet:latest
|
image: dcr.wallace.sh/scott/infranet:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/infranet/config:/etc/nebula
|
- /path/to/infranet/config/nebula:/etc/nebula
|
||||||
|
- /path/to/infranet/config/seaweedfs:/etc/seaweedfs
|
||||||
- /path/to/infranet/filestore:/storage
|
- /path/to/infranet/filestore:/storage
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
|
|
@ -5,7 +5,8 @@ services:
|
||||||
container_name: infranet
|
container_name: infranet
|
||||||
image: dcr.wallace.sh/scott/infranet:latest
|
image: dcr.wallace.sh/scott/infranet:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/infranet/config:/etc/nebula
|
- /path/to/infranet/config/nebula:/etc/nebula
|
||||||
|
- /path/to/infranet/config/seaweedfs:/etc/seaweedfs
|
||||||
- /path/to/infranet/filestore:/storage
|
- /path/to/infranet/filestore:/storage
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
|
|
@ -9,6 +9,10 @@ else
|
||||||
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${SEAWEEDFS_MASTERS} &
|
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${SEAWEEDFS_MASTERS} &
|
||||||
${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} -encryptVolumeData &
|
${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} -encryptVolumeData &
|
||||||
${BIN_DIR}/weed filer.remote.sync -dir=/test/ &
|
${BIN_DIR}/weed filer.remote.sync -dir=/test/ &
|
||||||
|
|
||||||
|
${BIN_DIR}/weed mount -dir=/data -dirAutoCreate
|
||||||
|
${BIN_DIR}/weed mount -dir=/test -dirAutoCreate -filer.path=/test/
|
||||||
|
${BIN_DIR}/weed mount -dir=/blah -dirAutoCreate -filer.path=/root/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
Loading…
Reference in a new issue