-
Notifications
You must be signed in to change notification settings - Fork 41
/
docker-compose.yml
63 lines (59 loc) · 1.45 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
version: '3.3'
services:
app:
depends_on:
- app_db
image: wpgatsby-app:latest
volumes:
- '.:/var/www/html/wp-content/plugins/wp-gatsby'
- './.log/app:/var/log/apache2'
environment:
WP_URL: 'http://localhost:8091'
WP_DOMAIN: 'localhost:8091'
DB_HOST: app_db
DB_NAME: wordpress
DB_USER: wordpress
DB_PASSWORD: wordpress
WP_DOMAIN: localhost
ADMIN_EMAIL: [email protected]
ADMIN_USERNAME: admin
ADMIN_PASSWORD: password
INCLUDE_WPGRAPHIQL: 1
IMPORT_WC_PRODUCTS: 1
STRIPE_GATEWAY: 1
ports:
- '8091:80'
networks:
local:
app_db:
image: mysql:5.7
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: wpgatsby-testing:latest
volumes:
- '.:/var/www/html/wp-content/plugins/wp-gatsby'
- './.log/testing:/var/log/apache2'
- './codeception.dist.yml:/var/www/html/wp-content/plugins/wp-gatsby/codeception.yml'
env_file: .env.dist
environment:
XDEBUG_CONFIG: remote_host=host.docker.internal remote_port=9000 remote_enable=1
DB_HOST: app_db
WP_URL: 'http://localhost'
WP_DOMAIN: 'localhost'
STRIPE_GATEWAY: 1
networks:
testing:
networks:
local:
testing: