Fix Dockerfile merge conflict add registry docs to README
This commit is contained in:
24
README.md
24
README.md
@@ -12,6 +12,30 @@ node dist-server/server.js
|
||||
|
||||
Open http://localhost:8080 in your browser.
|
||||
|
||||
## Docker Registry
|
||||
|
||||
The container image is hosted at `git.kgessner.de/keviin/logmaster`.
|
||||
|
||||
### Build and push (for CI/CD or manual updates)
|
||||
|
||||
```bash
|
||||
# 1. Build the image
|
||||
docker build -t git.kgessner.de/keviin/logmaster:latest .
|
||||
|
||||
# 2. Login to Gitea registry (token: 2c3ea75b8936818174770592d217a3b6bfdbb4cd)
|
||||
echo 2c3ea75b8936818174770592d217a3b6bfdbb4cd | docker login git.kgessner.de -u Keviin --password-stdin
|
||||
|
||||
# 3. Push
|
||||
docker push git.kgessner.de/keviin/logmaster:latest
|
||||
```
|
||||
|
||||
### Pull and run
|
||||
|
||||
```bash
|
||||
docker pull git.kgessner.de/keviin/logmaster:latest
|
||||
docker run -d -p 8080:8080 -e LOG_MODE=both git.kgessner.de/keviin/logmaster:latest
|
||||
```
|
||||
|
||||
## Modes
|
||||
|
||||
| Mode | Command | Port | Description |
|
||||
|
||||
Reference in New Issue
Block a user