47d335cf8c 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: Send commands to weed shell from the docker image.  
							
							
 
							
							
							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"
``` 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22362f6495 
								
							
								 
							
						 
						
							
							
								
								avoid too many logs in tmp folder  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73e3e77904 
								
							
								 
							
						 
						
							
							
								
								deprecate all cronjob module related code  
							
							
 
							
							
							related to https://github.com/chrislusf/seaweedfs/issues/2483  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf5b795717 
								
							
								 
							
						 
						
							
							
								
								fix outdated cron job scripts  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1881  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 $@" 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d116432775 
								
							
								 
							
						 
						
							
							
								
								POSIX shell compatibility  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab4c9ac221 
								
							
								 
							
						 
						
							
							
								
								allow optionally change volume max count  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e64dbcb98 
								
							
								 
							
						 
						
							
							
								
								Revert "allow overwrite flags"  
							
							
 
							
							
							This reverts commit 232b0f0e 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								232b0f0e6e 
								
							
								 
							
						 
						
							
							
								
								allow overwrite flags  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c5ddc740d 
								
							
								 
							
						 
						
							
							
								
								docker: entrypoint skip ip address detection  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3775211962 
								
							
								 
							
						 
						
							
							
								
								optimize entrypoint for docker  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06ff984786 
								
							
								 
							
						 
						
							
							
								
								set master ip in docker compose yaml file  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1118  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								784141c5e6 
								
							
								 
							
						 
						
							
							
								
								adjust script parameter  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd4ef58d99 
								
							
								 
							
						 
						
							
							
								
								skip setting ip address for filer  
							
							
 
							
							
							related to https://github.com/chrislusf/seaweedfs/issues/960  
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89f97777d9 
								
							
								 
							
						 
						
							
							
								
								docker adjust cronjob schedule, add volume.balance job  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3895c86812 
								
							
								 
							
						 
						
							
							
								
								Add cronjob Mode For The Docker Container  
							
							
 
							
							
							fixes  #907  
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43e9dc3cf2 
								
							
								 
							
						 
						
							
							
								
								docker: add the /data/filerdb folder  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b444d58ee 
								
							
								 
							
						 
						
							
							
								
								create filerdb folder  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13715fb851 
								
							
								 
							
						 
						
							
							
								
								adjust docker builds  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								68028ee876 
								
							
								 
							
						 
						
							
							
								
								clean up  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f84eb801ff 
								
							
								 
							
						 
						
							
							
								
								fix mkdir path  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4b15a98c6 
								
							
								 
							
						 
						
							
							
								
								ensure folder /data/filerdb  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe3805d1cb 
								
							
								 
							
						 
						
							
							
								
								Revert "use /data for filer"  
							
							
 
							
							
							This reverts commit 469afddc80 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								469afddc80 
								
							
								 
							
						 
						
							
							
								
								use /data for filer  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3078cb96a9 
								
							
								 
							
						 
						
							
							
								
								docker filer default to /data/filerdb  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a508d56021 
								
							
								 
							
						 
						
							
							
								
								docker entry point fix for s3  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39bf274a83 
								
							
								 
							
						 
						
							
							
								
								WIP  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e899bfc68 
								
							
								 
							
						 
						
							
							
								
								add s3 for docker  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc025d5305 
								
							
								 
							
						 
						
							
							
								
								add filer to docker-compose and entrypoint, build from local Dockerfile  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48a24559a3 
								
							
								 
							
						 
						
							
							
								
								Update entrypoint.sh  
							
							
 
							
							
							Running application becomes container's PID 1 allow to receives Unix signals 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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.  
							
							
								
 
							
							
						 
						9 years ago