mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	sqlite3 and psql support
This commit is contained in:
		
							
								
								
									
										26
									
								
								backend/config/sqlite-test-db.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								backend/config/sqlite-test-db.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| { | ||||
|   "database": { | ||||
|       "engine": "knex-native", | ||||
|       "knex": { | ||||
|         "client": "sqlite3", | ||||
|         "connection": { | ||||
|           "filename": "/app/backend/config/mydb.sqlite" | ||||
|         }, | ||||
|         "pool": { | ||||
|           "min": 0, | ||||
|           "max": 1, | ||||
|           "createTimeoutMillis": 3000, | ||||
|           "acquireTimeoutMillis": 30000, | ||||
|           "idleTimeoutMillis": 30000, | ||||
|           "reapIntervalMillis": 1000, | ||||
|           "createRetryIntervalMillis": 100, | ||||
|           "propagateCreateError": false | ||||
|         }, | ||||
|         "migrations": { | ||||
|           "tableName": "migrations", | ||||
|           "stub": "src/backend/lib/migrate_template.js", | ||||
|           "directory": "src/backend/migrations" | ||||
|         } | ||||
|       } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user