From 0fabc4a2deb2e162bc3bd52d16cd78d1e0087d7b Mon Sep 17 00:00:00 2001 From: Shahrad Elahi Date: Sat, 27 Apr 2024 01:17:14 +0330 Subject: [PATCH] fix(docs): rearrange installation steps (#9) --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8c7af38..36d646f 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,22 @@ - [Docker Engine](https://docs.docker.com/engine/install/) -### 2. Persistent Data +### 2. Docker Image + +#### Build from source + +```bash +git clone https://github.com/shahradelahi/wireadmin +docker buildx build --tag litehex/wireadmin ./wireadmin +``` + +#### Pull from Docker Hub (recommended) + +```bash +docker pull litehex/wireadmin +``` + +### 4. Persistent Data WireAdmin store configurations at `/data`. It's important to mount a volume at this location to ensure that your data is not lost during container restarts or updates. @@ -31,21 +46,6 @@ your data is not lost during container restarts or updates. docker volume create wireadmin-data --driver local ``` -### 3. Download Image - -#### Build from source - -```bash -git clone https://github.com/shahradelahi/wireadmin -docker buildx build --tag litehex/wireadmin . -``` - -#### Pull from Docker Hub (recommended) - -```bash -docker pull litehex/wireadmin -``` - ### 4. Run When creating each server, ensure that you add the port exposure through Docker. In the below command, the port `51820`