forked from woocommerce/woocommerce-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (77 loc) · 1.85 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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
args:
WOO_INSTALL_VERSION: ${WOO_VERSION}
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
- WOO_VERSION
volumes:
- "./:/var/www/html/wp-content/plugins/woocommerce-gutenberg-products-block"
- wordpress:/var/www/html
wordpress-www:
depends_on:
- db
build:
context: ./bin/docker/wordpress
args:
WP_VERSION: ${WP_VERSION}
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-gutenberg-products-block"
- wordpress:/var/www/html
wordpress-cli:
depends_on:
- db
- wordpress-www
build:
context: ./bin/docker/wp-cli
restart: on-failure
environment:
WORDPRESS_HOST:
WORDPRESS_TITLE:
WORDPRESS_LOGIN:
WORDPRESS_PASSWORD:
WORDPRESS_PORT:
WORDPRESS_EMAIL:
DOMAIN_NAME:
GUTENBERG_LATEST:
volumes:
- ./:/var/www/html/wp-content/plugins/woocommerce-gutenberg-products-block
- wordpress:/var/www/html
volumes:
db:
wordpress: