A baseimage based on Phusion's base image
Bits and pieces have been sourced from other fine Docker images
PUID- Changes the uid of the app user, default 911PGID- Changes the gid of the app group, default 911SMTP_HOST- Change the SMTP relay server used by ssmtp (sendmail)SMTP_USER- Username for the SMTP relay serverSMTP_PASS- Password for the SMTP relay serverSMTP_PORT- Outgoing SMTP port, default 587SMTP_SECURE- Does the SMTP server requires a secure connection, default TRUE if SMTP_USER is set.SMTP_TLS- Use STARTTLS, default TRUE (if SMTP_TLS is FALSE and SMTP_SECURE is true, SMTP over SSL will be used)SMTP_MASQ- Masquerade outbound emails using this domain, default empty
If you need to send mail and cannot use SMTP directly, ssmtp is installed to provide /usr/bin/sendmail and is configured using the SMTP_ variables.
If SMTP_USER is not set, unauthenticated SMTP will be used and SSL/TLS is disabled.
Generally I store configuration data in /config and store it in a volume. If an application does not permit changing the location of its configuration data, add a script to /etc/my_init.d which changes the app user's $HOME