23 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
# The number of workers the server will use. Flask recommends (cpu count * 2) as a baseline.
 | 
						|
WORKERS=4
 | 
						|
# The secret key used for tokens. You can generate one with (for example) `openssl rand -base64 48`.
 | 
						|
SECRET_KEY=change-me-insecure!-Fj+4Y8afr3TzLpG1bkSYQxEVrhGPr5nokxBs9JPxfuvv
 | 
						|
# The database file used. Note that this is automatically set by the docker compose file.
 | 
						|
DATABASE=data/db.sqlite
 | 
						|
 | 
						|
# The base URL used for uploaded files.
 | 
						|
# This should include the schema (http:// or https://) and not have a trailing slash.
 | 
						|
BASE_URL=http://localhost:5000
 | 
						|
 | 
						|
# The storage backend used, can be 'local' or 's3'
 | 
						|
STORAGE_BACKEND=local
 | 
						|
# The directory files are uploaded to with the local setting, relative to the working directory.
 | 
						|
STORAGE_LOCAL_DIR=data/uploads
 | 
						|
 | 
						|
# The maximum uploaded file size, in megabytes. Setting this to 0 or a negative number allows unlimited file sizes.
 | 
						|
MAX_FILE_SIZE=15
 | 
						|
# The maximum content length Flask will accept. This should generally be slightly higher than MAX_FILE_SIZE.
 | 
						|
MAX_CONTENT_LENGTH=16
 | 
						|
 | 
						|
# Whether to echo all SQL queries to stdout.
 | 
						|
ECHO_QUERIES=false
 |