Compare commits

...

6 commits

Author SHA1 Message Date
f
627a25ac4b Merge branch 'antifascista' of https://gitea.nulo.in/Sutty/containers-monit into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-10 13:16:38 -03:00
f
d8ef27a7d6 Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2023-05-10 12:41:55 -03:00
f
fedf64f2b9 feat: alpine 3.18 2023-05-10 12:41:25 -03:00
f
3af76ddeec fix: use new ipv4 subnet 2023-04-19 14:36:16 -03:00
f
8cdc7138fe feat: configurable smtp 2023-04-19 14:35:47 -03:00
f
1eae4208e8 feat: provide external configuration 2023-04-19 14:34:19 -03:00
4 changed files with 7 additions and 2 deletions

View file

@ -21,6 +21,9 @@ pipeline:
event: "push"
matrix:
include:
- ALPINE_VERSION: "3.18.0"
RUBY_VERSION: "3.2"
RUBY_PATCH: "2"
- ALPINE_VERSION: "3.17.3"
RUBY_VERSION: "3.1"
RUBY_PATCH: "4"

View file

@ -18,3 +18,4 @@ check program zeroconf
if status = 0 then unmonitor
include /etc/monit.d/*.conf
include /etc/monit.d/external/*.conf

View file

@ -1,5 +1,5 @@
set mmonit http://@@MMONIT@@/collector
set mailserver postfix port 25 using hostname @@HOSTNAME@@
set mailserver @@POSTFIX@@ port 25 using hostname @@HOSTNAME@@
set alert @@EMAIL@@
@ -11,6 +11,6 @@ set mail-format {
set httpd port 2812
allow localhost
allow 172.0.0.0/8
allow 10.13.12.0/24
allow "fd00:acab::/32"
allow @@CREDENTIALS@@

View file

@ -13,6 +13,7 @@ sed -re "s/@@EMAIL@@/${EMAIL}/" \
-e "s/@@HOSTNAME@@/${EMAIL_FROM#*@}/" \
-e "s/@@MMONIT@@/${MMONIT}/" \
-e "s/@@CREDENTIALS@@/${CREDENTIALS}/" \
-e "s/@@POSTFIX@@/${POSTFIX:-postfix}/" \
/etc/zeroconf.conf > /etc/monit.d/zeroconf.conf
monit -t