- Configuration template. - Render configuration template in entrypoint. - Storage volumes. - slapd volume for ldapi:/// connection. - Execute the sogod instead of apache, not sure what I'm going to do with Apache.
#!/bin/sh set -eu # shellcheck disable=SC1091 . /lib/lsb/init-functions envsubst < /usr/local/share/sogo/sogo.conf.template > /etc/sogo/sogo.conf eval exec "$@"