Phplist
Newsletter and email marketing with advanced management of subscribers, bounces, and plugins.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: '3.5'
networks:
default:
ipam:
driver: default
config:
- subnet: 172.18.0.0/16
services:
dbhost:
container_name: phplist_dbhost
image: phplist/testdata:medium
volumes:
- dbhost_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: phplist
restart: always
mailhog:
container_name: phplist_mailhog
image: mailhog/mailhog:latest
ports:
- 8025:8025
environment:
MH_SMTP_BIND_ADDR: 0.0.0.0:25
phplist:
container_name: phplist
depends_on:
- dbhost
- mailhog
image: phplist/phplist:${PHPLIST_VERSION:-latest}
volumes:
- ${CODE_PATH}:/var/www/phpList3
- images:/var/www/phpList3/public_html/images
- ${THEME_DEV_PATH}:/var/www/phpList3/public_html/lists/admin/ui/
- ${PLUGIN_DEV_PATH}:/var/www/phpList3/public_html/lists/admin/plugins/
ports:
- "${PORT}:80"
restart: always
environment:
DB_HOST: dbhost
DB_USER: phplist
DB_PASSWORD: phplist
DB_NAME: phplistdb
HOSTNAME: ${HOSTNAME}
PORT: ${PORT}
MAILHOST: mailhog
volumes:
images:
dbhost_data:.env
PHPLIST_ADMINNAME="Your Name"
PHPLIST_ADMINPASSWORD="SomeRandomPassword"
PHPLIST_ADMINEMAIL=YourEmail@Yourdomain.com
PORT=8000
HOSTNAME=localhostResources
Website: https://www.phplist.org/
GitHub: https://github.com/phpList/phplist3
Docker Hub: https://hub.docker.com/r/phplist/phplist
Configuration: https://github.com/phpList/phplist-docker