-
Notifications
You must be signed in to change notification settings - Fork 29
/
docker-compose.ci.yml
executable file
·50 lines (48 loc) · 1.16 KB
/
docker-compose.ci.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.7'
services:
mysql:
image: mariadb:lts
volumes:
- ./bin/mysql:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
ports:
- 3306:3306
cli:
privileged: true
image: wordpress:cli
volumes:
- ./bin:/var/www/html/bin
- wpcore:/var/www/html/
- .:/var/www/html/wp-content/plugins/visualizer/
depends_on:
- wordpress
environment:
- WORDPRESS_DB_NAME=wordpress
- WORDPRESS_DB_USER=root
- WORDPRESS_DB_PASSWORD=wordpress
- WORDPRESS_DB_ROOT_PASSWORD=wordpress
- WORDPRESS_DEBUG=1
wordpress:
privileged: true
ports:
- 8080:80
- 8889:80
depends_on:
- mysql
image: wordpress:latest
volumes:
- ./bin:/var/www/html/bin
- wpcore:/var/www/html/
- .:/var/www/html/wp-content/plugins/visualizer/
environment:
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_ROOT_PASSWORD: wordpress
WORDPRESS_DEBUG: 1
volumes:
wpcore: