sto
This commit is contained in:
parent
938092a8eb
commit
68bddb8d3c
1 changed files with 3 additions and 6 deletions
|
|
@ -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/"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue