forked from wp-graphql/wpgraphql-acf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (56 loc) · 1.23 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
version: '3.3'
services:
app:
depends_on:
- app_db
build:
context: .
dockerfile: docker/Dockerfile
image: wp-graphql-acf:latest-wp${WP_VERSION}-php${PHP_VERSION}
volumes:
- '.:/var/www/html/wp-content/plugins/wpgraphql-acf'
- './.log/app:/var/log/apache2'
env_file:
- .env
environment:
USING_XDEBUG: ${USING_XDEBUG:-}
ports:
- '8091:80'
networks:
local:
app_db:
image: mariadb:10.2
env_file:
- .env
ports:
- '3306'
networks:
local:
testing:
depends_on:
- testing_db
build:
context: .
dockerfile: docker/Dockerfile.testing
image: wp-graphql-acf-testing:latest-wp${WP_VERSION}-php${PHP_VERSION}
volumes:
- '.:/var/www/html/wp-content/plugins/wpgraphql-acf'
- './.log/testing:/var/log/apache2'
- './codeception.dist.yml:/var/www/html/wp-content/plugins/wpgraphql-acf/codeception.yml'
env_file:
- .env.testing
environment:
WP_URL: http://localhost
USING_XDEBUG: ${USING_XDEBUG:-}
networks:
local:
testing_db:
image: mariadb:10.2
env_file:
- .env.testing
ports:
- '3306'
networks:
local:
networks:
local: