This commit is contained in:
Marco Pedone 2026-05-14 16:06:58 +02:00
parent 99100d3eeb
commit 0493c5e5d0
4 changed files with 0 additions and 82 deletions

View file

@ -1,33 +0,0 @@
services:
seaweedfs:
image: chrislusf/seaweedfs:latest
ports:
- "9333:9333"
- "8333:8333"
- "8888:8888"
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"
- "traefik.http.middlewares.filer-auth.basicauth.users=admin:$2a$12$2w9VLBATy0eHhU4IAIg8t.bz9/ZSzS9yf5uv4Hn1nUhp28ZY7An8y"
volumes:
seaweedfs_data:

View file

@ -1,32 +0,0 @@
services:
seaweedfs:
image: chrislusf/seaweedfs:latest
restart: unless-stopped
expose:
- 9333
- 8333
- 8888
networks:
- dokploy-network
volumes:
- seaweedfs_data:/data
- ./s3.json:/etc/seaweedfs/config.json
command: "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/"]
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"
- "traefik.http.middlewares.filer-auth.basicauth.users=admin:$$2a$$12$$2w9VLBATy0eHhU4IAIg8t.bz9/ZSzS9yf5uv4Hn1nUhp28ZY7An8y"
volumes:
seaweedfs_data:

View file

@ -1,15 +0,0 @@
{
"identities": [
{
"name": "nextjs-go-app",
"credentials": [
{
"accessKey": "my_secure_access_key",
"secretKey": "my_super_secret_key"
}
],
"actions": ["Admin", "Read", "Write"]
}
],
"signingKey": "QW*VK^mTbuB90L6.onBNelnvvXccKi=*"
}

View file

@ -1,2 +0,0 @@
[jwt]
filer_signing.key = "QW*VK^mTbuB90L6.onBNelnvvXccKi=*"