From c1bf6af7ee43f22ac419d245d9c807368802ee71 Mon Sep 17 00:00:00 2001 From: KodekaTeam Date: Sat, 11 Jul 2026 21:10:47 +0700 Subject: [PATCH] docs(readme): update install instruction for online installing --- README.id-ID.md | 26 ++++++++++++++++++++++++++ README.md | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/README.id-ID.md b/README.id-ID.md index 1575312..314addf 100644 --- a/README.id-ID.md +++ b/README.id-ID.md @@ -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 diff --git a/README.md b/README.md index ab1c207..ba57ca8 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,32 @@ To get started, run the following command on a VPS: curl -sSL https://doktainer.com/install.sh | sh ``` +For Update + +```bash +curl -fsSL https://doktainer.com/install.sh | sh -s -- update +``` + +To update to a specific version: + +```bash +curl -fsSL https://doktainer.com/install.sh | DOKTAINER_VERSION=v0.1.4 sh -s -- update +``` + +Or if using a dedicated image registry: + +```bash +curl -fsSL https://doktainer.com/install.sh | \ + DOKTAINER_IMAGE=ghcr.io/organisasi/doktainer:v0.1.4 sh -s -- update +``` + +Before updating, it is recommended to back up the configuration: + +```bash +cp /etc/doktainer/.env.docker /etc/doktainer/.env.docker.backup +cp /etc/doktainer/docker-compose.yml /etc/doktainer/docker-compose.yml.backup +``` + ## Local Quick Start ### Clone the repository