Build on git.eeqj.de/sneak/baseimage:2026-11-05 with the docker CLI copied from docker:cli. A runit service sleeps INTERVAL seconds (default 1200), then runs the reporter with --since INTERVAL --submit; DOCKER_CONTAINER_NAME and IPABUSEDB_API_KEY come from the container environment. Add .dockerignore, make image, and README section; fix the binary name in .gitignore.
6 lines
234 B
Bash
6 lines
234 B
Bash
# Copy to .env (gitignored). Variables already set in your shell win.
|
|
IPABUSEDB_API_KEY=
|
|
DOCKER_CONTAINER_NAME=sshd
|
|
# Point the docker CLI at a remote daemon; credentials above stay local.
|
|
DOCKER_HOST=ssh://user@sshd-host.example.com
|