Remove default settings for gunicorn
This commit is contained in:
		@@ -122,7 +122,7 @@ write_files:
 | 
				
			|||||||
runcmd:
 | 
					runcmd:
 | 
				
			||||||
  - update-ca-certificates
 | 
					  - update-ca-certificates
 | 
				
			||||||
  - pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
 | 
					  - pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
 | 
				
			||||||
  - gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN:---workers 4 --threads 4} --preload --access-logfile - morss
 | 
					  - gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - morss
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Run
 | 
					## Run
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								app.json
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								app.json
									
									
									
									
									
								
							@@ -5,8 +5,8 @@
 | 
				
			|||||||
			"value": 1,
 | 
								"value": 1,
 | 
				
			||||||
			"required": false
 | 
								"required": false
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		"WORKERS": {
 | 
							"GUNICORN": {
 | 
				
			||||||
			"value": 4,
 | 
								"value": "",
 | 
				
			||||||
			"required": false
 | 
								"required": false
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		"CACHE": {
 | 
							"CACHE": {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@ if [ "$1" = "sh" ] || [ "$1" = "bash" ]; then
 | 
				
			|||||||
	exec $@
 | 
						exec $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
elif [ -z "$1" ] || [ "$@" = "run" ]; then
 | 
					elif [ -z "$1" ] || [ "$@" = "run" ]; then
 | 
				
			||||||
	gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN:---workers 4 --threads 4} --preload --access-logfile - morss
 | 
						gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - morss
 | 
				
			||||||
 | 
					
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	morss $@
 | 
						morss $@
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user