mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Updated doc for sqlite
This commit is contained in:
		| @@ -5,16 +5,6 @@ | ||||
| 			"client": "sqlite3", | ||||
| 			"connection": { | ||||
| 				"filename": "/data/database.sqlite" | ||||
| 			}, | ||||
| 			"pool": { | ||||
| 				"min": 0, | ||||
| 				"max": 1, | ||||
| 				"createTimeoutMillis": 3000, | ||||
| 				"acquireTimeoutMillis": 30000, | ||||
| 				"idleTimeoutMillis": 30000, | ||||
| 				"reapIntervalMillis": 1000, | ||||
| 				"createRetryIntervalMillis": 100, | ||||
| 				"propagateCreateError": false | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
| @@ -23,15 +23,31 @@ Here's an example configuration for `mysql` (or mariadb) that is compatible with | ||||
| } | ||||
| ``` | ||||
|  | ||||
| Alternatively if you would like to use a Sqlite database file: | ||||
|  | ||||
| ```json | ||||
| { | ||||
|   "database": { | ||||
|     "engine": "knex-native", | ||||
|     "knex": { | ||||
|       "client": "sqlite3", | ||||
|       "connection": { | ||||
|         "filename": "/data/database.sqlite" | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
| ``` | ||||
|  | ||||
| Once you've created your configuration file it's easy to mount it in the docker container. | ||||
|  | ||||
| **Note:** After the first run of the application, the config file will be altered to include generated encryption keys unique to your installation. These keys | ||||
| affect the login and session management of the application. If these keys change for any reason, all users will be logged out. | ||||
|  | ||||
|  | ||||
| ### Database | ||||
| ### MySQL Database | ||||
|  | ||||
| This app doesn't come with a database, you have to provide one yourself. Currently only `mysql/mariadb` is supported for the minimum versions: | ||||
| If you opt for the MySQL configuration you will have to provide the database server yourself. You can also use MariaDB. Here are the minimum supported versions: | ||||
|  | ||||
| - MySQL v5.7.8+ | ||||
| - MariaDB v10.2.7+ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user