You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/INSTALL.md
+23-19Lines changed: 23 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
There's a few ways to configure this app depending on:
4
4
5
5
- Whether you use `docker-compose` or vanilla docker
6
-
- Which Database you want to use (mysql or postgres)
7
6
- Which architecture you're running it on (raspberry pi also supported)
8
7
9
8
### Configuration File
@@ -12,9 +11,9 @@ There's a few ways to configure this app depending on:
12
11
13
12
Don't worry, this is easy to do.
14
13
15
-
The app requires a configuration file to let it know what database you're using and where it is.
14
+
The app requires a configuration file to let it know what database you're using.
16
15
17
-
Here's an example configuration for `mysql`:
16
+
Here's an example configuration for `mysql` (or mariadb):
18
17
19
18
```json
20
19
{
@@ -29,22 +28,6 @@ Here's an example configuration for `mysql`:
29
28
}
30
29
```
31
30
32
-
and here's one for `postgres`:
33
-
34
-
```json
35
-
{
36
-
"database": {
37
-
"engine": "pg",
38
-
"version": "7.2",
39
-
"host": "127.0.0.1",
40
-
"name": "nginxproxymanager",
41
-
"user": "nginxproxymanager",
42
-
"password": "password123",
43
-
"port": 5432
44
-
}
45
-
}
46
-
```
47
-
48
31
Once you've created your configuration file it's easy to mount it in the docker container, examples below.
49
32
50
33
**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
@@ -138,3 +121,24 @@ docker run -d \
138
121
-v /path/to/letsencrypt:/etc/letsencrypt \
139
122
jc21/nginx-proxy-manager:2-armhf
140
123
```
124
+
125
+
126
+
### Initial Run
127
+
128
+
After the app is running for the first time, the following will happen:
129
+
130
+
- The database will initialize with table structures
131
+
- GPG keys will be generated and saved in the configuration file
132
+
- A default admin user will be created
133
+
134
+
This process can take a couple of minutes depending on your machine.
135
+
136
+
137
+
### Default Administrator User
138
+
139
+
```
140
+
Email: admin@example.com
141
+
Password: changeme
142
+
```
143
+
144
+
Immediately after logging in with this default user you will be asked to modify your details and change your password.
0 commit comments