@@ -122,13 +122,12 @@ Please note that the `jc21/mariadb-aria:latest` image might have some problems o
122122
123123After the app is running for the first time, the following will happen :
124124
125- 1. The database will initialize with table structures
126- 2. GPG keys will be generated and saved in the configuration file
125+ 1. GPG keys will be generated and saved in the data folder
126+ 2. The database will initialize with table structures
1271273. A default admin user will be created
128128
129129This process can take a couple of minutes depending on your machine.
130130
131-
132131# # Default Administrator User
133132
134133```
@@ -138,49 +137,3 @@ Password: changeme
138137
139138Immediately after logging in with this default user you will be asked to modify your details and change your password.
140139
141- ## Configuration File
142-
143- ::: warning
144-
145- This section is meant for advanced users
146-
147- :::
148-
149- If you would like more control over the database settings you can define a custom config JSON file.
150-
151-
152- Here's an example for `sqlite` configuration as it is generated from the environment variables:
153-
154- ```json
155- {
156- "database": {
157- "engine": "knex-native",
158- "knex": {
159- "client": "sqlite3",
160- "connection": {
161- "filename": "/data/database.sqlite"
162- },
163- "useNullAsDefault": true
164- }
165- }
166- }
167- ```
168-
169- You can modify the ` knex ` object with your custom configuration, but note that not all knex clients might be installed in the image.
170-
171- Once you've created your configuration file you can mount it to ` /app/config/production.json ` inside you container using:
172-
173- ```
174- [...]
175- services:
176- app:
177- image: 'jc21/nginx-proxy-manager:latest'
178- [...]
179- volumes:
180- - ./config.json:/app/config/production.json
181- [...]
182- [...]
183- ```
184-
185- ** Note:** After the first run of the application, the config file will be altered to include generated encryption keys unique to your installation.
186- These keys affect the login and session management of the application. If these keys change for any reason, all users will be logged out.
0 commit comments