Skip to content

Commit 6e29716

Browse files
author
Andres
committed
Updated w/ Docker Info
1 parent 464fc55 commit 6e29716

1 file changed

Lines changed: 43 additions & 2 deletions

File tree

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,41 @@ A self-hosted moving inventory tracker built with Blazor Server on .NET 10. Trac
2929
**Persistence**
3030
- Inventory is saved to a local `inventory.json` file — no database required
3131

32+
## Docker
33+
34+
The easiest way to run MoveIT is via Docker. The image is published to Docker Hub at [`ayeeandre/moveit`](https://hub.docker.com/r/ayeeandre/moveit).
35+
36+
**Run with Docker:**
37+
```bash
38+
docker run -d -p 8080:8080 --name moveit ayeeandre/moveit:latest
39+
```
40+
Then open `http://localhost:8080` in your browser.
41+
42+
**Run with Docker Compose:**
43+
```yaml
44+
services:
45+
moveit:
46+
image: ayeeandre/moveit:latest
47+
ports:
48+
- "8080:8080"
49+
restart: unless-stopped
50+
```
51+
52+
**Portainer:** Pull `ayeeandre/moveit:latest` and map host port `8080` → container port `8080`.
53+
54+
> **Note on persistence:** The inventory is stored inside the container at `/app/inventory.json`. To persist data across container restarts, mount a volume:
55+
> ```bash
56+
> docker run -d -p 8080:8080 -v moveit_data:/app --name moveit ayeeandre/moveit:latest
57+
> ```
58+
59+
**Build from source:**
60+
```bash
61+
git clone https://github.com/AndresCyberReady/MoveIT.git
62+
cd MoveIT
63+
docker build -t moveit:latest .
64+
docker run -d -p 8080:8080 moveit:latest
65+
```
66+
3267
## Tech Stack
3368

3469
| Layer | Technology |
@@ -40,10 +75,16 @@ A self-hosted moving inventory tracker built with Blazor Server on .NET 10. Trac
4075

4176
## Getting Started
4277

43-
**Prerequisites:** [.NET 10 SDK](https://dotnet.microsoft.com/download)
78+
**Quickest way — Docker:**
79+
```bash
80+
docker run -d -p 8080:8080 ayeeandre/moveit:latest
81+
```
82+
Open `http://localhost:8080`.
83+
84+
**Run from source — Prerequisites:** [.NET 10 SDK](https://dotnet.microsoft.com/download)
4485

4586
```bash
46-
git clone https://github.com/your-username/MoveIT.git
87+
git clone https://github.com/AndresCyberReady/MoveIT.git
4788
cd MoveIT/MoveIT
4889
dotnet run
4990
```

0 commit comments

Comments
 (0)