2026-01-31 17:53:26 +00:00
|
|
|
services:
|
|
|
|
|
dockcheck:
|
2026-03-17 08:58:51 +01:00
|
|
|
container_name: dockcheck
|
|
|
|
|
hostname: dockerHostXYZ # The name that will be used in notifications
|
|
|
|
|
build: . # Currently building locally for testing before publishing
|
|
|
|
|
# image: dockcheck:latest
|
2026-01-31 17:53:26 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
CRON_SCHEDULE: "0 * * * *"
|
|
|
|
|
DOCKCHECK_ARGS: "-mniI -x 10"
|
|
|
|
|
CRON_SCHEDULE_1: "30 1 * * *"
|
|
|
|
|
DOCKCHECK_ARGS_1: "-milap -x 1"
|
|
|
|
|
volumes:
|
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
- ./dockcheck.config:/app/dockcheck.config
|
2026-03-14 01:25:00 +00:00
|
|
|
- /path/to/projects/docker:/path/to/projects/docker:ro # add a volume (or volumes, if needed) mapping your Docker project directories to the container
|
2026-03-17 08:58:51 +01:00
|
|
|
- ./urls.list/:/app/urls.list # optional volume to enable displaying releasenote urls, can also reference the `./notify_templates/urls.list`
|