mirror of
https://github.com/hanzoai/s3.git
synced 2026-10-30 14:59:09 +00:00
The binary is s3 and the product is Hanzo S3; the rest of the tree now says so too. - Environment: WEED_* and SEAWEEDFS_* are S3_*, no aliases. fla9's flag prefix is S3, matching viper's existing "s3" prefix, so the S3_S3_SSE_* names mini.go exports are the ones viper reads (WEED_S3_SSE_KEK was never seen once viper moved to "s3"). - Java and Hadoop: packages, fs.hanzofs.* keys and the hanzofs:// scheme under the hanzofs namespace the protos already declare; classes take a neutral Filer prefix and file names match them again (the earlier pass left Seas3*.java holding Seaweed* classes). Client, hdfs3, examples, s3copier, random_access and the Spark tests compile. - Helm chart: helpers are hanzo.*, values live under global.s3; the chart renders and lints, which it did not before. - Terraform: the s3.service.tftpl reference matches the file; 12/12 render tests pass. Config paths point at /etc/hanzo, which the binary reads. - loadtest.pb.go regenerated from loadtest.proto. - Upstream logo, sponsor images and unreferenced diagrams removed from note/. Kept: NOTICE attribution, LICENSE, the erasure-coding fixture s3/storage/erasure_coding/1.dat (test bytes), and unmaintained/ and third_party/ (vendored). No on-disk format, wire protocol or metadata key changed. Co-authored-by: Hanzo Dev <[email protected]>
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
services:
|
|
master:
|
|
image: ghcr.io/hanzoai/s3:e2e
|
|
command: "-v=4 master -ip=master -ip.bind=0.0.0.0 -raftBootstrap"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "--fail", "-I", "http://localhost:9333/cluster/healthz"]
|
|
interval: 2s
|
|
timeout: 10s
|
|
retries: 30
|
|
start_period: 10s
|
|
|
|
volume:
|
|
image: ghcr.io/hanzoai/s3:e2e
|
|
command: "-v=4 volume -master=master:9333 -ip=volume -ip.bind=0.0.0.0 -preStopSeconds=1"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "--fail", "-I", "http://localhost:8080/healthz"]
|
|
interval: 2s
|
|
timeout: 10s
|
|
retries: 15
|
|
start_period: 5s
|
|
depends_on:
|
|
master:
|
|
condition: service_healthy
|
|
|
|
filer:
|
|
image: ghcr.io/hanzoai/s3:e2e
|
|
command: "-v=4 filer -master=master:9333 -ip=filer -ip.bind=0.0.0.0"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "--fail", "-I", "http://localhost:8888/healthz"]
|
|
interval: 2s
|
|
timeout: 10s
|
|
retries: 15
|
|
start_period: 5s
|
|
depends_on:
|
|
volume:
|
|
condition: service_healthy
|
|
|
|
samba:
|
|
image: ghcr.io/hanzoai/s3:samba
|
|
build:
|
|
context: .
|
|
environment:
|
|
FILER: filer:8888
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
devices:
|
|
- /dev/fuse
|
|
security_opt:
|
|
- apparmor:unconfined
|
|
healthcheck:
|
|
test:
|
|
- "CMD-SHELL"
|
|
- "mountpoint -q /mnt/hanzo && mountpoint -q /mnt/hanzo2 && smbclient -L 127.0.0.1 -p 445 -U smbtest%smbtest -m SMB3 >/dev/null 2>&1"
|
|
interval: 3s
|
|
timeout: 10s
|
|
retries: 20
|
|
start_period: 15s
|
|
depends_on:
|
|
filer:
|
|
condition: service_healthy
|