From 5fb16955693dab9e3d9ad85284d5492ca76e5598 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Tue, 5 Apr 2022 21:17:58 +0100 Subject: [PATCH] Mount some test SeaweedFS mount points --- config-node.yaml | 16 ++++++++++++++++ docker-compose-lighthouse.yaml | 3 ++- docker-compose-node.yaml | 3 ++- seaweedfs-start.sh | 4 ++++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/config-node.yaml b/config-node.yaml index 8e3e9fb..5639f28 100644 --- a/config-node.yaml +++ b/config-node.yaml @@ -268,3 +268,19 @@ firewall: - port: any proto: icmp 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 diff --git a/docker-compose-lighthouse.yaml b/docker-compose-lighthouse.yaml index 840782f..821ce85 100644 --- a/docker-compose-lighthouse.yaml +++ b/docker-compose-lighthouse.yaml @@ -5,7 +5,8 @@ services: container_name: infranet image: dcr.wallace.sh/scott/infranet:latest 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 cap_add: - NET_ADMIN diff --git a/docker-compose-node.yaml b/docker-compose-node.yaml index 2c51d43..05c4582 100644 --- a/docker-compose-node.yaml +++ b/docker-compose-node.yaml @@ -5,7 +5,8 @@ services: container_name: infranet image: dcr.wallace.sh/scott/infranet:latest 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 cap_add: - NET_ADMIN diff --git a/seaweedfs-start.sh b/seaweedfs-start.sh index 86115ad..cddba88 100755 --- a/seaweedfs-start.sh +++ b/seaweedfs-start.sh @@ -9,6 +9,10 @@ else ${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${SEAWEEDFS_MASTERS} & ${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} -encryptVolumeData & ${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 wait