-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·60 lines (55 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
executable file
·60 lines (55 loc) · 1.28 KB
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
51
52
53
54
55
56
57
58
59
60
version: '2'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8080:80
depends_on:
- db
environment:
PMA_HOST: db
wordpress:
depends_on:
- db
image: wordpress:php7.0
ports:
- '80:80'
environment:
DB_HOST: db
DB_USER: wordpress
DB_PASSWORD: wordpress
DB_NAME: wordpress
MULTISITE_DOMAIN: carnegieinternational.test
MAIL_HOST: mailhog
MAIL_PORT: 1025
MAIL_USER: wordpress
MAIL_PASS: wordpress
MAIL_SMTPAUTH: 0
MAIL_SECURITY: tls
S3_UPLOADS_USE_LOCAL: 1
S3_UPLOADS_DISABLE_REPLACE_UPLOAD_URL: 1
WP_ENV: development
volumes:
- .:/var/www/html/wp-content/themes/ci2018
- ../../plugins:/var/www/html/wp-content/plugins
- ../../uploads:/var/www/html/wp-content/uploads
- ../../../vendor:/var/www/html/vendor
- ../../../wp-config.php:/var/www/html/wp-config.php
mailhog:
image: mailhog/mailhog
ports:
- '8025:8025'
- '1025:1025'
volumes:
? db_data