-
Notifications
You must be signed in to change notification settings - Fork 286
feat: add SeaweedFS template #630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
5f10a1b to
20fb084
Compare
4a16ab9 to
58bfb46
Compare
| 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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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