mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Improvements for docker / gunicorn (#4031)
* Additional options for gunicorn configuration file (in docker): Ref: https://pythonspeed.com/articles/gunicorn-in-docker/ * Catch potential error on startup * Tweak log message for docker * Wrap news feed update in try block
This commit is contained in:
		| @@ -20,7 +20,7 @@ fi | ||||
|  | ||||
| # Check if "config.yaml" has been copied into the correct location | ||||
| if test -f "$INVENTREE_CONFIG_FILE"; then | ||||
|     echo "$INVENTREE_CONFIG_FILE exists - skipping" | ||||
|     echo "Loading config file : $INVENTREE_CONFIG_FILE" | ||||
| else | ||||
|     echo "Copying config file to $INVENTREE_CONFIG_FILE" | ||||
|     cp $INVENTREE_HOME/InvenTree/config_template.yaml $INVENTREE_CONFIG_FILE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user