Publish image to Gitea registry
This commit is contained in:
22
README.md
22
README.md
@@ -44,6 +44,28 @@ GET /api/check?stack=example
|
||||
|
||||
## Docker Compose
|
||||
|
||||
For Dockge, use the registry-backed compose file from this repository:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
dockge-image-update-checker:
|
||||
image: git.wilkensxl.de/mrsphay/dockge-image-update-checker:latest
|
||||
container_name: dockge-image-update-checker
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
STACKS_DIR: /opt/stacks
|
||||
CHECK_INTERVAL_SECONDS: 3600
|
||||
volumes:
|
||||
- /opt/stacks:/opt/stacks:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
```
|
||||
|
||||
If your Dockge stacks directory is not `/opt/stacks`, change both the host-side volume path and `STACKS_DIR`.
|
||||
|
||||
For local development you can still build from source:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
dockge-image-update-checker:
|
||||
|
||||
Reference in New Issue
Block a user