浏览代码

Update docs

Jamie Curnow 2 年之前
父节点
当前提交
8fdb8ac853
共有 2 个文件被更改,包括 3 次插入52 次删除
  1. 1 3
      docs/advanced-config/README.md
  2. 2 49
      docs/setup/README.md

+ 1 - 3
docs/advanced-config/README.md

@@ -96,9 +96,7 @@ services:
       # DB_MYSQL_PASSWORD: "npm"  # use secret instead
       # DB_MYSQL_PASSWORD: "npm"  # use secret instead
       DB_MYSQL_PASSWORD__FILE: /run/secrets/MYSQL_PWD
       DB_MYSQL_PASSWORD__FILE: /run/secrets/MYSQL_PWD
       DB_MYSQL_NAME: "npm"
       DB_MYSQL_NAME: "npm"
-      # If you would rather use Sqlite uncomment this
-      # and remove all DB_MYSQL_* lines above
-      # DB_SQLITE_FILE: "/data/database.sqlite"
+      # If you would rather use Sqlite, remove all DB_MYSQL_* lines above
       # Uncomment this if IPv6 is not enabled on your host
       # Uncomment this if IPv6 is not enabled on your host
       # DISABLE_IPV6: 'true'
       # DISABLE_IPV6: 'true'
     volumes:
     volumes:

+ 2 - 49
docs/setup/README.md

@@ -122,13 +122,12 @@ Please note that the `jc21/mariadb-aria:latest` image might have some problems o
 
 
 After the app is running for the first time, the following will happen:
 After the app is running for the first time, the following will happen:
 
 
-1. The database will initialize with table structures
-2. GPG keys will be generated and saved in the configuration file
+1. GPG keys will be generated and saved in the data folder
+2. The database will initialize with table structures
 3. A default admin user will be created
 3. A default admin user will be created
 
 
 This process can take a couple of minutes depending on your machine.
 This process can take a couple of minutes depending on your machine.
 
 
-
 ## Default Administrator User
 ## Default Administrator User
 
 
 ```
 ```
@@ -138,49 +137,3 @@ Password: changeme
 
 
 Immediately after logging in with this default user you will be asked to modify your details and change your password.
 Immediately after logging in with this default user you will be asked to modify your details and change your password.
 
 
-## Configuration File
-
-::: warning
-
-This section is meant for advanced users
-
-:::
-
-If you would like more control over the database settings you can define a custom config JSON file.
-
-
-Here's an example for `sqlite` configuration as it is generated from the environment variables:
-
-```json
-{
-  "database": {
-    "engine": "knex-native",
-    "knex": {
-      "client": "sqlite3",
-      "connection": {
-        "filename": "/data/database.sqlite"
-      },
-      "useNullAsDefault": true
-    }
-  }
-}
-```
-
-You can modify the `knex` object with your custom configuration, but note that not all knex clients might be installed in the image.
-
-Once you've created your configuration file you can mount it to `/app/config/production.json` inside you container using:
-
-```
-[...]
-services:
-  app:
-    image: 'jc21/nginx-proxy-manager:latest'
-    [...]
-    volumes:
-      - ./config.json:/app/config/production.json
-      [...]
-[...]
-```
-
-**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.