2026-05-14 10:25:57 +02:00
|
|
|
services:
|
|
|
|
|
seaweedfs:
|
|
|
|
|
image: chrislusf/seaweedfs:latest
|
2026-05-14 10:32:36 +02:00
|
|
|
expose:
|
|
|
|
|
- 9333
|
|
|
|
|
- 8333
|
|
|
|
|
- 8888
|
2026-05-14 10:25:57 +02:00
|
|
|
networks:
|
|
|
|
|
- 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
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL",
|
|
|
|
|
"curl -sf http://localhost:9333/cluster/status && curl -sf http://localhost:8888/"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 30s
|
|
|
|
|
labels:
|
|
|
|
|
- "traefik.enable=true"
|
|
|
|
|
- "traefik.http.routers.filer.rule=Host(`fs.marcopedone.it`)"
|
|
|
|
|
- "traefik.http.routers.filer.entrypoints=websecure"
|
|
|
|
|
- "traefik.http.routers.filer.tls.certresolver=letsencrypt"
|
|
|
|
|
- "traefik.http.services.filer.loadbalancer.server.port=8888"
|
|
|
|
|
- "traefik.http.routers.filer.middlewares=filer-auth"
|
2026-05-14 10:39:39 +02:00
|
|
|
- "traefik.http.middlewares.filer-auth.basicauth.users=admin:$$2a$$12$$2w9VLBATy0eHhU4IAIg8t.bz9/ZSzS9yf5uv4Hn1nUhp28ZY7An8y"
|
2026-05-14 10:25:57 +02:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
seaweedfs_data:
|