github readme sucks xd

This commit is contained in:
2025-10-13 18:41:09 +02:00
parent 78af7b2906
commit bd65177a25

View File

@@ -51,16 +51,15 @@ services:
ports:
- '8080:8080'
```
```bash
```bash
docker run -d \
-p 8080:8080 \
-v /path/to/your/data:/usr/src/app/data \
--name my-unknownbin \
ghcr.io/mrunknownde/unknownbin:main
```
```
**Explanation:**
**Explanation:**
* `-d`: Runs the container in the background (detached mode).
* `-p 8080:8080`: Maps port 8080 on your host to port 8080 in the container. You can change the first number (e.g., `-p 3000:8080`) to use a different host port.
* `-v /path/to/your/data:/usr/src/app/data`: **(Important!)** Mounts a directory from your host machine into the container to persist paste data. **Replace `/path/to/your/data`** with an actual path on your server (e.g., `/opt/unknownbin/data`).