-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.02 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
version: '3.3'
services:
app:
depends_on:
- app_db
image: wp-graphql:latest-wp${WP_VERSION-6.2}-php${PHP_VERSION-8.2}
volumes:
- '.:/var/www/html/wp-content/plugins/wp-graphql'
- './.log/app:/var/log/apache2'
env_file:
- .env
environment:
WP_URL: http://localhost:8091
USING_XDEBUG: ${USING_XDEBUG:-}
ports:
- '8091:80'
networks:
local:
app_db:
image: mariadb:10
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
ports:
- '3306'
networks:
testing:
local:
testing:
depends_on:
- app_db
image: wp-graphql-testing:latest-wp${WP_VERSION-6.2}-php${PHP_VERSION-8.2}
volumes:
- '.:/var/www/html/wp-content/plugins/wp-graphql'
- './.log/testing:/var/log/apache2'
env_file:
- .env
environment:
SUITES: ${SUITES:-}
networks:
testing:
networks:
local:
testing: