Skip to content

Conversation

@quochuydev
Copy link
Contributor

@quochuydev quochuydev commented Dec 26, 2025

What is this PR about?

New PR of SeaweedFS

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

closes #629

Screenshots or Videos

Screenshot 2025-12-26 at 15 22 31 Screenshot 2025-12-26 at 15 23 50

@github-actions
Copy link

github-actions bot commented Dec 26, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 925988c

Comment on lines 3 to 114
image: chrislusf/seaweedfs:latest
command: >
-v=0
master
-volumeSizeLimitMB=10240
-ip=master
-ip.bind=0.0.0.0
-port=9333
-mdir=/data/master
volumes:
- seaweedfs-master:/data/master
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9333"]
interval: 30s
timeout: 10s
retries: 3
expose:
- 9333
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 256M

volume:
image: chrislusf/seaweedfs:latest
command: >
-v=0
volume
-mserver="master:9333"
-port=8080
-dir=/data/volume
-max=100
volumes:
- seaweedfs-volume:/data/volume
depends_on:
master:
condition: service_healthy
restart: unless-stopped
expose:
- 8080
deploy:
resources:
limits:
memory: 1G
reservations:
memory: 512M

filer:
image: chrislusf/seaweedfs:latest
command: >
-v=0
filer
-defaultReplicaPlacement=000
-master="master:9333"
-ip=filer
-ip.bind=0.0.0.0
-port=8888
environment:
- WEED_MASTER=master:9333
volumes:
- seaweedfs-filer:/data
depends_on:
- master
- volume
restart: unless-stopped
# # Secure the GUI with username/password
# labels:
# # htpasswd -nb admin admin
# - "traefik.http.middlewares.basic-auth.basicauth.users=admin:$$apr1$$aLLYxhdC$$ZAW26eJfBRC8qWjCkcZns."
# - "traefik.http.routers.service-name.middlewares=basic-auth"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8888"]
interval: 30s
timeout: 10s
retries: 3
deploy:
resources:
limits:
memory: 1G
reservations:
memory: 512M
expose:
- 8888

s3:
image: chrislusf/seaweedfs:latest
command: >
-v=0
s3
-filer="filer:8888"
-ip.bind=0.0.0.0
-port=8333
environment:
- AWS_ACCESS_KEY_ID=${S3_ACCESS_KEY}
- AWS_SECRET_ACCESS_KEY=${S3_SECRET_KEY}
restart: unless-stopped
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 256M
expose:
- 8333

volumes:
seaweedfs-master:
seaweedfs-volume:
seaweedfs-filer:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use defined versions instead of latest? in this way we prevent to templates break in the future

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 updated with docker image version chrislusf/seaweedfs:4.02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Template Request: SeaweedFS

2 participants