Commit graph

169 commits

Author SHA1 Message Date
Chris Lu 0cea84e7ab make it easy with setting up multiple masters in a clcuster 2020-10-23 18:18:46 -07:00
suika e932262b07 Allow custom command arguments to override default values in docker
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-21 01:47:29 +02:00
Chris Lu da6b9e673b add build version 2020-10-18 21:28:19 -07:00
Chris Lu b843358d65 adjust 2020-10-18 21:27:07 -07:00
Chris Lu a47e8f4c06 adjust 2020-10-18 21:07:37 -07:00
Chris Lu bff99ecc75 build add git version 2020-10-18 21:02:08 -07:00
user d116432775 POSIX shell compatibility 2020-10-08 19:40:18 +09:00
Chris Lu b5add9b8f9 docker adds large disk version 2020-09-14 20:58:05 -07:00
Robin Grönberg bad2771802 Update docker README with docker buildx instructions. 2020-06-30 23:38:00 +02:00
Robin Grönberg a6a46ae503 Use alpine base image instead of glib image. 2020-06-30 23:27:10 +02:00
Robin Grönberg 64d451bdca Make Dockerfile multiarch.
Support for:
- amd64
- arm64
- armv7
- armv6
2020-06-30 22:22:29 +02:00
Chris Lu ab4c9ac221 allow optionally change volume max count 2020-05-22 10:37:04 -07:00
Chris Lu 1e64dbcb98 Revert "allow overwrite flags"
This reverts commit 232b0f0e
2020-05-22 10:30:46 -07:00
Chris Lu 232b0f0e6e allow overwrite flags 2020-05-21 22:19:09 -07:00
nevermore1000 d4db0db220
some typos 2020-05-13 19:16:03 +08:00
Chris Lu 5c5ddc740d docker: entrypoint skip ip address detection 2020-03-25 14:39:43 -07:00
Chris Lu 3775211962 optimize entrypoint for docker 2020-03-22 18:35:45 -07:00
Chris Lu 4dec5e0e4a fix dockerhub build 2020-03-01 18:23:07 -08:00
Chris Lu f69a1694e7 clean up waitForFiler option 2020-02-26 16:50:40 -08:00
Chris Lu c4de814347 docker: add cluster mode 2020-02-26 16:46:29 -08:00
Chris Lu ca4ca1ae6f update docker local dev env 2020-02-25 21:56:15 -08:00
Chris Lu 0c298ef890 Update README.md 2020-01-26 13:27:25 -08:00
Chris Lu 8d372f7394 update docker readme 2020-01-26 13:24:43 -08:00
Chris Lu 3f6e0e34cb Revert "use docker built binaries for faster automated release"
This reverts commit 9863f51cc8.
2020-01-25 08:17:59 -08:00
Chris Lu 9863f51cc8 use docker built binaries for faster automated release 2020-01-25 08:04:45 -08:00
Chris Lu 94526f8e10 2-stage docker dev image build
fix https://github.com/chrislusf/seaweedfs/issues/1047
2020-01-25 07:50:54 -08:00
Chris Lu 09bf256fc6 less logs for volume servers 2020-01-24 20:07:12 -08:00
Chris Lu 8e071c2fa6 docker: tweaking docker file 2020-01-24 17:56:46 -08:00
Chris Lu 2401168c13 fix dev build 2020-01-01 11:00:02 -08:00
Chris Lu e40a051d4b fix dev docker build 2020-01-01 09:47:25 -08:00
Chris Lu 06ff984786 set master ip in docker compose yaml file
fix https://github.com/chrislusf/seaweedfs/issues/1118
2019-12-11 21:38:54 -08:00
Chris Lu 15ecf4e3bf filer: default to leveldb2 2019-06-30 00:44:57 -07:00
Chris Lu 784141c5e6 adjust script parameter 2019-06-05 01:48:03 -07:00
Chris Lu dd4ef58d99 skip setting ip address for filer
related to https://github.com/chrislusf/seaweedfs/issues/960
2019-05-14 23:35:39 -07:00
Chris Lu 89f97777d9 docker adjust cronjob schedule, add volume.balance job 2019-05-05 21:42:41 -07:00
Zicklag 3895c86812 Add cronjob Mode For The Docker Container
fixes #907
2019-04-09 13:22:46 -05:00
Chris Lu 43e9dc3cf2 docker: add the /data/filerdb folder 2019-03-15 00:54:01 -07:00
Chris Lu 5cbe7392a3 weed server: mkdir first 2019-03-15 00:33:51 -07:00
Chris Lu a4e8aa98a0 weed server: mkdir first, and set the master ip address
fix https://github.com/chrislusf/seaweedfs/issues/885
2019-03-15 00:32:42 -07:00
Chris Lu 023f447d56 add directory /data/filerdb
fix https://github.com/chrislusf/seaweedfs/issues/885
2019-03-14 23:48:53 -07:00
Chris Lu 2b3cef7780 fix docker to work with master grpc port 2019-01-18 14:32:02 -08:00
Chris Lu 68eacc2226 adjust local build 2018-12-27 16:41:22 -08:00
Chris Lu 1818e7d997 renaming to docker/seaweedfs-compose.yml 2018-12-27 16:22:26 -08:00
Chris Lu 4b444d58ee create filerdb folder 2018-12-27 15:30:41 -08:00
Chris Lu 13715fb851 adjust docker builds 2018-12-27 15:15:33 -08:00
Chris Lu 68028ee876 clean up 2018-12-27 15:13:58 -08:00
Chris Lu f84eb801ff fix mkdir path 2018-12-27 14:41:00 -08:00
Chris Lu c4b15a98c6 ensure folder /data/filerdb 2018-12-27 14:35:41 -08:00
Chris Lu fe3805d1cb Revert "use /data for filer"
This reverts commit 469afddc80.
2018-12-27 14:29:34 -08:00
Chris Lu 469afddc80 use /data for filer 2018-12-27 14:28:28 -08:00
Chris Lu 3cb2333679 separate docker-compose.yml into local and remote images 2018-12-27 14:01:47 -08:00
Chris Lu 069c641d7c use latest frolvlad/alpine-glibc 2018-12-26 20:53:30 -08:00
Chris Lu 3078cb96a9 docker filer default to /data/filerdb 2018-12-26 20:46:07 -08:00
Chris Lu a508d56021 docker entry point fix for s3 2018-12-25 14:27:48 -08:00
Chris Lu 39bf274a83 WIP 2018-12-16 22:39:39 -08:00
Chris Lu 13e79892d1 add s3 to docker-compose.yml 2018-12-16 15:58:59 -08:00
Chris Lu 3e899bfc68 add s3 for docker 2018-12-16 15:40:52 -08:00
Chris Lu 556382ff5f adding basic grpc to volume server 2018-10-11 01:16:33 -07:00
hans-strudle bcd06304cc changed filer.toml to leveldb, added comments in docker-compose 2018-09-11 16:05:27 -07:00
Author Name 2bd2959ac3 add filer.toml 2018-09-11 12:41:38 -07:00
jenkins.ow bc025d5305 add filer to docker-compose and entrypoint, build from local Dockerfile 2018-09-11 12:37:27 -07:00
BruceWangNo1 7c1008e5e5 some minor fixes to docker/Dockerfile 2017-09-14 22:42:28 +08:00
vancepym 543476cba1 Update Dockerfile
Bump docker base image version to alpine 3.5
2017-02-07 22:50:09 +08:00
vancepym 4f28876c8d Update Dockerfile
Replace with Alpine Linux based image
2017-01-05 21:52:55 +08:00
Chris Lu 47b6ce93f8 download from github release page 2017-01-04 00:29:58 -08:00
Amin Cheloh 54bd1c406a Update Dockerfile
Move COPY /entrypoint.sh to bottom and make sure entrypoint.sh have execute permission
2016-10-12 17:10:38 +07:00
Amin Cheloh 48a24559a3 Update entrypoint.sh
Running application becomes container's PID 1 allow to receives Unix signals
2016-10-12 16:47:56 +07:00
Felipe Roberto 0fbec28858 how to use with docker 2016-09-23 13:49:38 -03:00
Jesper Zedlitz 1c36706306 Changed Dockerfile so it uses a special entrypoint script. All parameters are passed through to weed. Depending on the command the entrypoint.sh script adds parameters to link containers. 2016-09-08 09:19:06 +02:00