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
@@ -52,6 +52,65 @@ I won't go in to too much detail here but here are the basics for someone new to
52
52
3. Configure your domain name details to point to your home, either with a static ip or a service like DuckDNS or [Amazon Route53](https://github.com/jc21/route53-ddns)
53
53
4. Use the Nginx Proxy Manager as your gateway to forward to your other web based services
Copy file name to clipboardExpand all lines: docs/setup/README.md
+60-6Lines changed: 60 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Full Setup Instructions
2
2
3
-
###MySQL Database
3
+
## MySQL Database
4
4
5
5
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:
6
6
@@ -16,7 +16,7 @@ When using a `mariadb` database, the NPM configuration file should still use the
16
16
17
17
:::
18
18
19
-
###Running the App
19
+
## Running the App
20
20
21
21
Via `docker-compose`:
22
22
@@ -72,7 +72,7 @@ Then:
72
72
docker-compose up -d
73
73
```
74
74
75
-
### Running on Raspberry PI / ARM devices
75
+
## Running on Raspberry PI / ARM devices
76
76
77
77
The docker images support the following architectures:
78
78
- amd64
@@ -89,8 +89,62 @@ for a list of supported architectures and if you want one that doesn't exist,
89
89
Also, if you don't know how to already, follow [this guide to install docker and docker-compose](https://manre-universe.net/how-to-run-docker-and-docker-compose-on-raspbian/)
90
90
on Raspbian.
91
91
92
+
Via `docker-compose`:
93
+
94
+
```yml
95
+
version: "3"
96
+
services:
97
+
app:
98
+
image: 'jc21/nginx-proxy-manager:latest'
99
+
restart: always
100
+
ports:
101
+
# Public HTTP Port:
102
+
- '80:80'
103
+
# Public HTTPS Port:
104
+
- '443:443'
105
+
# Admin Web Port:
106
+
- '81:81'
107
+
environment:
108
+
# These are the settings to access your db
109
+
DB_MYSQL_HOST: "db"
110
+
DB_MYSQL_PORT: 3306
111
+
DB_MYSQL_USER: "changeuser"
112
+
DB_MYSQL_PASSWORD: "changepass"
113
+
DB_MYSQL_NAME: "npm"
114
+
# If you would rather use Sqlite uncomment this
115
+
# and remove all DB_MYSQL_* lines above
116
+
# DB_SQLITE_FILE: "/data/database.sqlite"
117
+
# Uncomment this if IPv6 is not enabled on your host
118
+
# DISABLE_IPV6: 'true'
119
+
volumes:
120
+
- ./data/nginx-proxy-manager:/data
121
+
- ./letsencrypt:/etc/letsencrypt
122
+
depends_on:
123
+
- db
124
+
db:
125
+
image: ghcr.io/linuxserver/mariadb
126
+
restart: unless-stopped
127
+
environment:
128
+
PUID: 1001
129
+
PGID: 1001
130
+
TZ: "Europe/London"
131
+
MYSQL_ROOT_PASSWORD: "changeme"
132
+
MYSQL_DATABASE: "npm"
133
+
MYSQL_USER: "changeuser"
134
+
MYSQL_PASSWORD: "changepass"
135
+
volumes:
136
+
- ./data/mariadb:/config
137
+
```
138
+
139
+
_Please note, that `DB_MYSQL_*` environment variables will take precedent over `DB_SQLITE_*` var>
140
+
141
+
Then:
142
+
143
+
```bash
144
+
docker-compose up -d
145
+
```
92
146
93
-
### Initial Run
147
+
## Initial Run
94
148
95
149
After the app is running for the first time, the following will happen:
96
150
@@ -101,7 +155,7 @@ After the app is running for the first time, the following will happen:
101
155
This process can take a couple of minutes depending on your machine.
102
156
103
157
104
-
### Default Administrator User
158
+
## Default Administrator User
105
159
106
160
```
107
161
Email: admin@example.com
@@ -110,7 +164,7 @@ Password: changeme
110
164
111
165
Immediately after logging in with this default user you will be asked to modify your details and change your password.
0 commit comments