mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-06 21:12:34 +02:00
Updated Installation (markdown)
parent
758790c803
commit
8218e94f9a
1 changed files with 9 additions and 19 deletions
|
@ -1,6 +1,12 @@
|
||||||
|
## Installer via cli
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -o kuma_install.sh https://raw.githubusercontent.com/louislam/uptime-kuma/master/install.sh && sudo bash kuma_install.sh
|
||||||
|
```
|
||||||
|
|
||||||
## Manual Installation
|
## Manual Installation
|
||||||
|
|
||||||
### Docker
|
### 🐳 Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create a volume
|
# Create a volume
|
||||||
|
@ -12,18 +18,13 @@ docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name upti
|
||||||
|
|
||||||
Browse to http://localhost:3001 after started.
|
Browse to http://localhost:3001 after started.
|
||||||
|
|
||||||
Change Port and Volume
|
|
||||||
|
|
||||||
```bash
|
If you want to change **port** and **volume**, or need to browse via a reserve proxy, please read <a href="https://github.com/louislam/uptime-kuma/wiki/Installation#docker">wiki</a>.
|
||||||
docker run -d --restart=always -p <YOUR_PORT>:3001 -v <YOUR_DIR OR VOLUME>:/app/data --name uptime-kuma louislam/uptime-kuma:1
|
|
||||||
```
|
|
||||||
|
|
||||||
### Without Docker (x86/x64 only)
|
### 💪🏻 Without Docker (Recommended for x86/x64 only)
|
||||||
|
|
||||||
Required Tools: Node.js >= 14, git and pm2.
|
Required Tools: Node.js >= 14, git and pm2.
|
||||||
|
|
||||||
(**Not recommanded for ARM CPU users.** Since there is no prebuilt for node-sqlite3, it is hard to get it running)
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/louislam/uptime-kuma.git
|
git clone https://github.com/louislam/uptime-kuma.git
|
||||||
cd uptime-kuma
|
cd uptime-kuma
|
||||||
|
@ -37,17 +38,6 @@ npm run start-server
|
||||||
# Install PM2 if you don't have: npm install pm2 -g
|
# Install PM2 if you don't have: npm install pm2 -g
|
||||||
pm2 start npm --name uptime-kuma -- run start-server
|
pm2 start npm --name uptime-kuma -- run start-server
|
||||||
|
|
||||||
# Listen to different port or hostname
|
|
||||||
pm2 start npm --name uptime-kuma -- run start-server -- --port=80 --hostname=0.0.0.0
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
More useful commands if you have installed.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pm2 start uptime-kuma
|
|
||||||
pm2 restart uptime-kuma
|
|
||||||
pm2 stop uptime-kuma
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Browse to http://localhost:3001 after started.
|
Browse to http://localhost:3001 after started.
|
Loading…
Add table
Reference in a new issue