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
@@ -70,7 +70,7 @@ Then:
70
70
docker-compose up -d
71
71
```
72
72
73
-
### Running on Raspberry PI / ARM devices
73
+
## Running on Raspberry PI / ARM devices
74
74
75
75
The docker images support the following architectures:
76
76
- amd64
@@ -87,8 +87,62 @@ for a list of supported architectures and if you want one that doesn't exist,
87
87
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/)
88
88
on Raspbian.
89
89
90
+
Via `docker-compose`:
91
+
92
+
```yml
93
+
version: "3"
94
+
services:
95
+
app:
96
+
image: 'jc21/nginx-proxy-manager:latest'
97
+
restart: always
98
+
ports:
99
+
# Public HTTP Port:
100
+
- '8080:80'
101
+
# Public HTTPS Port:
102
+
- '4443:443'
103
+
# Admin Web Port:
104
+
- '8181:81'
105
+
environment:
106
+
# These are the settings to access your db
107
+
DB_MYSQL_HOST: "db"
108
+
DB_MYSQL_PORT: 3306
109
+
DB_MYSQL_USER: "changeuser"
110
+
DB_MYSQL_PASSWORD: "changepass"
111
+
DB_MYSQL_NAME: "npm"
112
+
# If you would rather use Sqlite uncomment this
113
+
# and remove all DB_MYSQL_* lines above
114
+
# DB_SQLITE_FILE: "/data/database.sqlite"
115
+
# Uncomment this if IPv6 is not enabled on your host
116
+
# DISABLE_IPV6: 'true'
117
+
volumes:
118
+
- ./data/nginx-proxy-manager:/data
119
+
- ./letsencrypt:/etc/letsencrypt
120
+
depends_on:
121
+
- db
122
+
db:
123
+
image: ghcr.io/linuxserver/mariadb
124
+
restart: unless-stopped
125
+
environment:
126
+
PUID: 1001
127
+
PGID: 1001
128
+
TZ: "Europe/London"
129
+
MYSQL_ROOT_PASSWORD: "changeme"
130
+
MYSQL_DATABASE: "npm"
131
+
MYSQL_USER: "changeuser"
132
+
MYSQL_PASSWORD: "changepass"
133
+
volumes:
134
+
- ./data/mariadb:/config
135
+
```
136
+
137
+
_Please note, that `DB_MYSQL_*` environment variables will take precedent over `DB_SQLITE_*` var>
138
+
139
+
Then:
140
+
141
+
```bash
142
+
docker-compose up -d
143
+
```
90
144
91
-
### Initial Run
145
+
## Initial Run
92
146
93
147
After the app is running for the first time, the following will happen:
94
148
@@ -99,7 +153,7 @@ After the app is running for the first time, the following will happen:
99
153
This process can take a couple of minutes depending on your machine.
100
154
101
155
102
-
### Default Administrator User
156
+
## Default Administrator User
103
157
104
158
```
105
159
Email: admin@example.com
@@ -108,7 +162,7 @@ Password: changeme
108
162
109
163
Immediately after logging in with this default user you will be asked to modify your details and change your password.
0 commit comments