-
Notifications
You must be signed in to change notification settings - Fork 4
Docker
Vasily Korytov edited this page Nov 13, 2020
·
7 revisions
jsonmon's Docker image contains Alpine Linux with busybox, curl and jsonmon
- Create a configuration file at
/srv/jsonmon/config.yml
.
You may want to put additional scripts to/srv/jsonmon
as well. docker run -p 3000:3000 --rm -v /srv/jsonmon:/etc/jsonmon chillum/jsonmon:3
/usr/sbin/sendmail
from busybox assumes a SMTP relay is on 127.0.0.1:25
.
Be sure to provide it if you need built-in e-mail notifications.
You may want to include additional software to your custom Docker image. Like this:
FROM chillum/jsonmon
USER root
RUN ["apk", "--no-cache", "add", "nodejs"]
USER nobody