mirror of
https://github.com/wireadmin/wireadmin
synced 2025-02-26 05:48:44 +00:00
fix(docs): rearrange installation steps (#9)
This commit is contained in:
parent
eb45ccc91e
commit
0fabc4a2de
32
README.md
32
README.md
@ -20,7 +20,22 @@
|
|||||||
|
|
||||||
- [Docker Engine](https://docs.docker.com/engine/install/)
|
- [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
|
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.
|
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
|
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
|
### 4. Run
|
||||||
|
|
||||||
When creating each server, ensure that you add the port exposure through Docker. In the below command, the port `51820`
|
When creating each server, ensure that you add the port exposure through Docker. In the below command, the port `51820`
|
||||||
|
Loading…
Reference in New Issue
Block a user