Fix some issues found in real world testing
This commit is contained in:
parent
191ea44791
commit
75ea3a0493
|
@ -269,18 +269,22 @@ firewall:
|
||||||
proto: icmp
|
proto: icmp
|
||||||
host: any
|
host: any
|
||||||
|
|
||||||
|
# SeaweedFS volume
|
||||||
- port: 8080
|
- port: 8080
|
||||||
proto: tcp
|
proto: tcp
|
||||||
host: any
|
host: any
|
||||||
|
|
||||||
|
# SeaweedFS volume
|
||||||
- port: 18080
|
- port: 18080
|
||||||
proto: tcp
|
proto: tcp
|
||||||
host: any
|
host: any
|
||||||
|
|
||||||
|
# SeaweedFS filer
|
||||||
- port: 8888
|
- port: 8888
|
||||||
proto: tcp
|
proto: tcp
|
||||||
host: any
|
host: any
|
||||||
|
|
||||||
|
# SeaweedFS filer
|
||||||
- port: 18888
|
- port: 18888
|
||||||
proto: tcp
|
proto: tcp
|
||||||
host: any
|
host: any
|
||||||
|
|
|
@ -15,6 +15,7 @@ services:
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
|
- /dev/fuse
|
||||||
environment:
|
environment:
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
- LIGHTHOUSE=false
|
- LIGHTHOUSE=false
|
||||||
|
|
|
@ -4,9 +4,12 @@ BIN_DIR=/app
|
||||||
MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
|
MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
|
||||||
NODE_IP=$(/app/nebula-cert print -path /etc/nebula/host.crt -json | jq -r '.details.ips[0] | split("/")[0]')
|
NODE_IP=$(/app/nebula-cert print -path /etc/nebula/host.crt -json | jq -r '.details.ips[0] | split("/")[0]')
|
||||||
|
|
||||||
|
mkdir /storage/raw
|
||||||
|
|
||||||
if test "${LIGHTHOUSE}" == "true"; then
|
if test "${LIGHTHOUSE}" == "true"; then
|
||||||
${BIN_DIR}/weed master -mdir=/storage/raw -peers=${MASTERS} -ip="${NODE_IP}" &
|
${BIN_DIR}/weed master -mdir=/storage/raw -peers=${MASTERS} -ip="${NODE_IP}" &
|
||||||
else
|
else
|
||||||
|
mkdir /storage/filer
|
||||||
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${MASTERS} -ip="${NODE_IP}" &
|
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${MASTERS} -ip="${NODE_IP}" &
|
||||||
${BIN_DIR}/weed filer -master=${MASTERS} -ip="${NODE_IP}" -encryptVolumeData &
|
${BIN_DIR}/weed filer -master=${MASTERS} -ip="${NODE_IP}" -encryptVolumeData &
|
||||||
# ${BIN_DIR}/weed filer.remote.sync -dir=/test/ &
|
# ${BIN_DIR}/weed filer.remote.sync -dir=/test/ &
|
||||||
|
|
Loading…
Reference in a new issue