Mount some test SeaweedFS mount points

This commit is contained in:
Scott Wallace 2022-04-05 21:17:58 +01:00
parent 84c50212a0
commit 5fb1695569
Signed by: scott
GPG key ID: AA742FDC5AFE2A72
4 changed files with 24 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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