forked from open-webui/open-webui
		
	backend: make the data directory and the artifacts from the frontend customizable using environment variables
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
		
							parent
							
								
									e3503d6617
								
							
						
					
					
						commit
						5b26d2a686
					
				
					 4 changed files with 16 additions and 14 deletions
				
			
		|  | @ -1,4 +1,6 @@ | |||
| from peewee import * | ||||
| from config import DATA_DIR | ||||
| 
 | ||||
| DB = SqliteDatabase("./data/ollama.db") | ||||
| 
 | ||||
| DB = SqliteDatabase(str(DATA_DIR / "ollama.db")) | ||||
| DB.connect() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 lucasew
						lucasew