-
Notifications
You must be signed in to change notification settings - Fork 84
/
docker-compose.ci.yml
49 lines (48 loc) · 1.09 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
version: '3.3'
services:
mysql:
platform: linux/x86_64
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
cli:
privileged: true
image: wordpress:cli
restart: always
volumes:
- wpcore:/var/www/html
- ./bin:/var/www/html/bin
- ./:/tmp/repo/neve
depends_on:
- mysql
- 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
depends_on:
- mysql
image: wordpress:latest
volumes:
- wpcore:/var/www/html
- ./bin:/var/www/html/bin
- ./:/tmp/repo/neve
restart: always
environment:
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_ROOT_PASSWORD: wordpress
WORDPRESS_DEBUG: 1
volumes:
wpcore: