aboutsummaryrefslogtreecommitdiff
path: root/docker/entrypoint.sh
AgeCommit message (Collapse)AuthorFilesLines
2025-12-01Enable FIPS 140-3 compliant crypto by default (#7590)Chris Lu1-0/+4
* Enable FIPS 140-3 compliant crypto by default Addresses #6889 - Enable GOEXPERIMENT=systemcrypto by default in all Makefiles - Enable GOEXPERIMENT=systemcrypto by default in all Dockerfiles - Go 1.24+ has native FIPS 140-3 support via this setting - Users can disable by setting GOEXPERIMENT= (empty) Algorithms used (all FIPS approved): - AES-256-GCM for data encryption - AES-256-CTR for SSE-C - HMAC-SHA256 for S3 signatures - TLS 1.2/1.3 for transport encryption * Fix: Remove invalid GOEXPERIMENT=systemcrypto Go 1.24 uses GODEBUG=fips140=on at runtime, not GOEXPERIMENT at build time. - Remove GOEXPERIMENT=systemcrypto from all Makefiles - Remove GOEXPERIMENT=systemcrypto from all Dockerfiles FIPS 140-3 mode can be enabled at runtime: GODEBUG=fips140=on ./weed server ... * Add FIPS 140-3 support enabled by default Addresses #6889 - FIPS 140-3 mode is ON by default in Docker containers - Sets GODEBUG=fips140=on via entrypoint.sh - To disable: docker run -e GODEBUG=fips140=off ...
2025-11-08docker: fix /data ownership and permission (#7451)Chris Lu1-2/+30
* docker: fix /data ownership and permission * chown if not owned by seaweed user * fix github tests * comments * fix the unquoted variables in the case pattern matching * Update docker/entrypoint.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update docker/entrypoint.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update entrypoint.sh * Update entrypoint.sh * Update docker/entrypoint.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2022-06-01feat: Send commands to weed shell from the docker image.Kaiwalya Joshi1-0/+6
Add the ability to send commands to weed shell from the docker image. Allows an operator to perform maintenance commands like so: ``` docker run \ --rm \ -e SHELL_FILER=localhost:8888 \ -e SHELL_MASTER=localhost:9333 \ chrislusf/seaweedfs:local \ "shell" \ "fs.configure -locationPrefix=/buckets/foo -volumeGrowthCount=3 -replication=002 -apply" ```
2022-02-27avoid too many logs in tmp folderorigin/original_weed_mountchrislu1-5/+5
2021-12-05deprecate all cronjob module related codechrislu1-10/+0
related to https://github.com/chrislusf/seaweedfs/issues/2483
2021-03-09fix outdated cron job scriptsChris Lu1-2/+2
fix https://github.com/chrislusf/seaweedfs/issues/1881
2020-10-21Allow custom command arguments to override default values in dockersuika1-5/+10
Depending on a setup, 1GB volume limit is not the preferable size. As weed can process multiple arguements and the later argument is the one to be used, it is relatively easy to override the arguments defined in the entrypoint. The arguments passed to the script will be shifted and appended at the end of the command. Since the first argument will fall into specific case, the argument can be predefined and the whole argument array shifted. Allowing to do "volume/server/master/etc $ARGS $@"
2020-10-08POSIX shell compatibilityuser1-2/+21
2020-05-22allow optionally change volume max countChris Lu1-0/+6
2020-05-22Revert "allow overwrite flags"Chris Lu1-5/+5
This reverts commit 232b0f0e
2020-05-21allow overwrite flagsChris Lu1-5/+5
2020-03-25docker: entrypoint skip ip address detectionChris Lu1-1/+1
2020-03-22optimize entrypoint for dockerChris Lu1-20/+3
2019-12-11set master ip in docker compose yaml fileChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/1118
2019-06-05adjust script parameterChris Lu1-1/+1
2019-05-14skip setting ip address for filerChris Lu1-1/+1
related to https://github.com/chrislusf/seaweedfs/issues/960
2019-05-05docker adjust cronjob schedule, add volume.balance jobChris Lu1-2/+4
2019-04-09Add cronjob Mode For The Docker ContainerZicklag1-0/+8
fixes #907
2019-03-15docker: add the /data/filerdb folderChris Lu1-1/+0
2018-12-27create filerdb folderChris Lu1-0/+1
2018-12-27adjust docker buildsChris Lu1-1/+1
2018-12-27clean upChris Lu1-2/+1
2018-12-27fix mkdir pathChris Lu1-1/+1
2018-12-27ensure folder /data/filerdbChris Lu1-1/+1
2018-12-27Revert "use /data for filer"Chris Lu1-0/+1
This reverts commit 469afddc80ce7af45e2415c21798bbd3f41cd599.
2018-12-27use /data for filerChris Lu1-1/+0
2018-12-26docker filer default to /data/filerdbChris Lu1-1/+2
2018-12-25docker entry point fix for s3Chris Lu1-1/+1
2018-12-16WIPChris Lu1-1/+1
2018-12-16add s3 for dockerChris Lu1-0/+8
2018-09-11add filer to docker-compose and entrypoint, build from local Dockerfilejenkins.ow1-0/+8
2016-10-12Update entrypoint.shAmin Cheloh1-5/+5
Running application becomes container's PID 1 allow to receives Unix signals
2016-09-08Changed Dockerfile so it uses a special entrypoint script. All parameters ↵Jesper Zedlitz1-0/+34
are passed through to weed. Depending on the command the entrypoint.sh script adds parameters to link containers.