This commit is contained in:
Marco Pedone 2026-05-14 10:46:42 +02:00
parent 938092a8eb
commit 68bddb8d3c

View file

@ -1,6 +1,7 @@
services:
seaweedfs:
image: chrislusf/seaweedfs:latest
restart: unless-stopped
expose:
- 9333
- 8333
@ -9,12 +10,8 @@ services:
- dokploy-network
volumes:
- seaweedfs_data:/data
- ./s3.json:/data/s3.json:ro
- ./security.toml:/data/security.toml:ro
# command: >
# server -dir=/data -filer
# -s3 -s3.config=/data/s3.json
# -iam.config=/data/security.toml
- ./s3.json:/etc/seaweedfs/config.json
command: "weed server -dir=/data -s3 -s3.config=/etc/seaweedfs/config.json"
healthcheck:
test: ["CMD-SHELL",
"curl -sf http://localhost:9333/cluster/status && curl -sf http://localhost:8888/"]