-
Notifications
You must be signed in to change notification settings - Fork 18
/
phplist.yml
50 lines (46 loc) · 1.19 KB
/
phplist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.5'
services:
dbhost:
container_name: phplist_dbhost
image: mariadb:10.1
volumes:
- dbhost_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
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:
- ${IMAGES:-images}:/var/www/phpList3/public_html/images
ports:
- "${PORT:-8000}:80"
restart: always
environment:
DB_HOST: phplist_dbhost
DB_USER: ${MYSQL_USER}
DB_PASSWORD: ${MYSQL_PASSWORD}
DB_NAME: ${MYSQL_DATABASE}
ADMIN_NAME: ${PHPLIST_ADMINNAME}
ADMIN_PASSWORD: ${PHPLIST_ADMINPASSWORD}
ADMIN_EMAIL: ${PHPLIST_ADMINEMAIL}
HOSTNAME: ${HOSTNAME}
PORT: ${PORT}
MAILHOST: mailhog
volumes:
dbhost_data:
images:
plugins: