sto
This commit is contained in:
parent
938092a8eb
commit
68bddb8d3c
1 changed files with 3 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
services:
|
services:
|
||||||
seaweedfs:
|
seaweedfs:
|
||||||
image: chrislusf/seaweedfs:latest
|
image: chrislusf/seaweedfs:latest
|
||||||
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- 9333
|
- 9333
|
||||||
- 8333
|
- 8333
|
||||||
|
|
@ -9,12 +10,8 @@ services:
|
||||||
- dokploy-network
|
- dokploy-network
|
||||||
volumes:
|
volumes:
|
||||||
- seaweedfs_data:/data
|
- seaweedfs_data:/data
|
||||||
- ./s3.json:/data/s3.json:ro
|
- ./s3.json:/etc/seaweedfs/config.json
|
||||||
- ./security.toml:/data/security.toml:ro
|
command: "weed server -dir=/data -s3 -s3.config=/etc/seaweedfs/config.json"
|
||||||
# command: >
|
|
||||||
# server -dir=/data -filer
|
|
||||||
# -s3 -s3.config=/data/s3.json
|
|
||||||
# -iam.config=/data/security.toml
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL",
|
test: ["CMD-SHELL",
|
||||||
"curl -sf http://localhost:9333/cluster/status && curl -sf http://localhost:8888/"]
|
"curl -sf http://localhost:9333/cluster/status && curl -sf http://localhost:8888/"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue