-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
48 lines (46 loc) · 1.16 KB
/
docker-compose.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
version: '3'
services:
fpm:
build: php7fpm
restart: always
volumes:
- ./wordpress.matbra.com/:/var/www/wordpress.matbra.com
- ./php7fpm/sendmail.mc:/usr/share/sendmail/cf/debian/sendmail.mc
- ./php7fpm/gmail-auth.db:/etc/mail/authinfo/gmail-auth.db
- ./logs/sendmail/:/var/log/sendmail
ports:
- "9000:9000"
links:
- mariadb
hostname: boarders.com.br
nginx:
image: nginx:1.10.1-alpine
restart: always
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/app.vhost:/etc/nginx/conf.d/default.conf
- ./logs/nginx:/var/log/nginx
- ./wordpress.matbra.com/:/var/www/wordpress.matbra.com
- ./jekyll.matbra.com/:/var/www/jekyll.matbra.com
ports:
- "80:80"
- "443:443"
links:
- fpm
mariadb:
image: mariadb
restart: always
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=
volumes:
- ./data/db:/var/lib/mysql
wpcli:
image: wordpress:cli
volumes:
- ./wordpress.matbra.com/:/var/www/html
- ./backups:/var/www/backups
links:
- mariadb
#entrypoint: wp
#command: "--info"