docs(readme): update install instruction for online installing
This commit is contained in:
1 parent
392f9683e4
commit
c1bf6af7ee
2 files changed
+52
No files matched your search
@@ -54,6 +54,32 @@ Untuk memulai, jalankan perintah berikut di VPS:
|
||||
curl -sSL https://doktainer.com/install.sh | sh
|
||||
```
|
||||
|
||||
Untuk update:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://doktainer.com/install.sh | sh -s -- update
|
||||
```
|
||||
|
||||
Untuk update spesifik versi:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://doktainer.com/install.sh | DOKTAINER_VERSION=v0.1.4 sh -s -- update
|
||||
```
|
||||
|
||||
Atau jika menggunakan image registry:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://doktainer.com/install.sh | \
|
||||
DOKTAINER_IMAGE=ghcr.io/organisasi/doktainer:v0.1.4 sh -s -- update
|
||||
```
|
||||
|
||||
Sebelum update, sangat direkomendasikan untuk melakukan backup konfigurasi:
|
||||
|
||||
```bash
|
||||
cp /etc/doktainer/.env.docker /etc/doktainer/.env.docker.backup
|
||||
cp /etc/doktainer/docker-compose.yml /etc/doktainer/docker-compose.yml.backup
|
||||
```
|
||||
|
||||
## Mulai Cepat (Lokal)
|
||||
|
||||
### Clone repositori
|
||||
|
||||
Reference in new issue
Block a user