This commit is contained in:
		
							
								
								
									
										8
									
								
								docker/docker-entrypoint.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								docker/docker-entrypoint.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| #!/bin/sh | ||||
| set -e | ||||
| echo "Configure tinyproxy" | ||||
| dockerize -template /etc/tinyproxy/tinyproxy.conf.template:/etc/tinyproxy/tinyproxy.conf | ||||
| echo "Done." | ||||
|  | ||||
| exec "$@" | ||||
|  | ||||
| @@ -1,6 +0,0 @@ | ||||
| [program:tinyproxy] | ||||
| command=/usr/bin/tinyproxy -d | ||||
| autorestart=true | ||||
| stdout_logfile=/dev/stdout | ||||
| stdout_logfile_maxbytes=0 | ||||
| redirect_stderr=true | ||||
							
								
								
									
										4
									
								
								docker/etc/tinyproxy/tinyproxy.conf.template
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								docker/etc/tinyproxy/tinyproxy.conf.template
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| Port 8888 | ||||
| Timeout {{ default .Env.TINYPROXY_TIMEOUT "60" }} | ||||
| LogLevel Info | ||||
| MaxClients {{ default .Env.TINYPROXY_MAXCLIENTS "100" }} | ||||
		Reference in New Issue
	
	Block a user