This repository wraps phplist in a Docker image for enabling modern deployment models.
Built images are available at Docker Hub.
Database host including port in format: localhost:3306
.
Database database name.
Database username.
Database password. You must supply a database password either through environment variable DATABASE_PASSWORD
or Docker Secret introduced below. If both are supplied, the environment variable value is ignored.
Whether to run phplist in test mode. Can be one of the following:
- true
- false
Defaults to false
Whether to use SSL for database connection. Can be one of the following:
- true
- false
Defaults to true
Message envelope email address.
Protocol for handling bounces. Can be one of the following:
- pop
- mbox
Defaults to pop
Bonuce mailbox POP3 host. Used when BOUNCE_PROTOCOL
is pop
.
Example:
outlook.office365.com
Bonuce mailbox POP3 username. Used when BOUNCE_PROTOCOL
is pop
.
Bonuce mailbox POP3 password. Used when BOUNCE_PROTOCOL
is pop
. If a Docker Secret with target BOUNCE_MAILBOX_PASSWORD
is present, this environment variable is ignored.
Bonuce mailbox POP3 port. Used when BOUNCE_PROTOCOL
is pop
.
Example:
995/pop3/ssl
Path to mbox file used for bonuces. Used when BOUNCE_PROTOCOL
is mbox
.
If you're deploying this image in Docker Swarm, you can set the following config options with Docker Secret:
DATABASE_PASSWORD
BOUNCE_MAILBOX_PASSWORD
Simply set the secret target
to the option name (e.g. DATABASE_PASSWORD
).