-
Notifications
You must be signed in to change notification settings - Fork 44
/
docker-compose.yml
58 lines (53 loc) · 1.25 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
49
50
51
52
53
54
55
56
57
58
version: '3.3'
services:
db:
image: mariadb:10.5
restart: on-failure
environment:
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes:
- db:/var/lib/mysql
wordpress-unit-tests:
container_name: wordpress_test
depends_on:
- db
build:
context: ./tests/bin
ports:
- 8085:80
restart: on-failure
environment:
WORDPRESS_DB_HOST:
WORDPRESS_DB_NAME:
WORDPRESS_DB_USER:
WORDPRESS_DB_PASSWORD:
WORDPRESS_TABLE_PREFIX: wp_test_
WP_CORE_DIR: /var/www/html
WP_TESTS_DIR: /tmp/wordpress-tests-lib
volumes:
- './:/var/www/html/wp-content/plugins/woocommerce-germanized'
- wordpress:/var/www/html
wordpress-www:
depends_on:
- db
build:
context: ./bin/docker/wordpress
ports:
- ${WORDPRESS_PORT}:80
restart: on-failure
environment:
WORDPRESS_DB_HOST:
WORDPRESS_DB_NAME:
WORDPRESS_DB_USER:
WORDPRESS_DB_PASSWORD:
WORDPRESS_TABLE_PREFIX: wp_
WORDPRESS_DEBUG: 1
volumes:
- "./:/var/www/html/wp-content/plugins/woocommerce-germanized"
- wordpress:/var/www/html
volumes:
db:
wordpress: