-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1001 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 1001 Bytes
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
services:
wordpress:
depends_on:
- db
- mailpit
build: .
restart: always
ports:
- 8082:80
- 7445:443
environment:
WORDPRESS_DEBUG: true
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
- .:/var/www/html/wp-content/plugins/lean-smtp
- ./logs/:/var/log/apache2
# Local SMTP sink. Configure Lean SMTP to exercise the plugin end-to-end:
# Mailer: SMTP · Host: mailpit · Port: 1025 · Encryption: None · Auth: off
# Everything wp_mail() sends then lands in the Mailpit UI at http://localhost:8027.
mailpit:
image: axllent/mailpit
restart: always
ports:
- 8027:8025
db:
image: mariadb:10.11
restart: always
ports:
- 3308:3306
environment:
MARIADB_ROOT_PASSWORD: somewordpress
MARIADB_DATABASE: wordpress
MARIADB_USER: wordpress
MARIADB_PASSWORD: wordpress