PHP FPM for use in combination with nginx. Includes mysqli extension and SSMTP.
4.1K
This image is based on the official PHP image (7.2-fpm-alpine). It has only 2 additions:
mail() function can be usedA custom php.ini can be linked to /usr/local/etc/php/php.ini
To use SSMTP, link the configuration file to /etc/ssmtp/ssmtp.conf
Example for ssmtp.conf:
# Where should local mail for UID<1000 go?
[email protected]
# The mail server that should be used. ":port" is optional.
mailhub=smtp.mymailprovider.com:port
# The domain that is appended to local user names.
rewriteDomain=mymaildomain.com
# The full hostname of the local system.
hostname=myhost.mydomain.com
# Use SSL/TLS?
UseTLS=Yes
UseSTARTTLS=Yes
# User name and password, if SMTP server requires authentication. Comment out otherwise.
AuthUser=username
AuthPass=password
AuthMethod=LOGIN
# Should 'From' headers override the default domain?
FromLineOverride=yes
Content type
Image
Digest
Size
114.4 MB
Last updated
about 7 years ago
docker pull chindocaine/php