Docker image with Apache and SSMTP installed.
462
Docker image with Apache and SSMTP installed. You need to pass the /etc/ssmtp/ssmtp.conf file as a volume to confirgure your instance.
version: '3'
services:
web-php:
image: navysu/php-apache-ssmtp
container_name: ${CONTAINER_NAME}
ports:
- "${HTTP_PORT}:80"
restart:
always
volumes:
- ./conf/ssmtp.conf:/etc/ssmtp/ssmtp.conf
- ./web:/var/www/html
CONTAINER_NAME=myweb
HTTP_PORT=80
docker-compose up
Enjony!
Content type
Image
Digest
Size
129.3 MB
Last updated
over 7 years ago
docker pull navysu/php-apache-ssmtp