@ -0,0 +1,15 @@
#!/bin/bash
host=$(options-get host) || exit 1
port=$(options-get port) || exit 1
secure=$(options-get secure) || exit 1
user=$(options-get user) || exit 1
password=$(options-get password) || exit 1
relation-set host "$host" || exit 1
relation-set port "$port" || exit 1
relation-set secure "$secure" || exit 1
relation-set user "$user" || exit 1
relation-set password "$password" || exit 1
@ -0,0 +1,4 @@
type: run-once
docker-image: docker.0k.io/alpine:3.18
provides:
smtp-server: