-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
54 lines (50 loc) · 1.16 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
version: '3.3'
services:
app:
depends_on:
- app_db
image: wp-graphql-facetwp:latest-wp${WP_VERSION-6.5}-php${PHP_VERSION-8.1}
volumes:
- .:/var/www/html/wp-content/plugins/wp-graphql-facetwp
- ./.log/app:/var/log/apache2
env_file:
- .env
sysctls:
- net.ipv4.ip_unprivileged_port_start=0
environment:
WP_URL: http://localhost:8091
USING_XDEBUG: ${USING_XDEBUG:-}
ports:
- '8091:80'
networks:
local:
app_db:
image: mariadb:10.2
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-facetwp-testing:latest-wp${WP_VERSION-6.5}-php${PHP_VERSION-8.1}
volumes:
- .:/var/www/html/wp-content/plugins/wp-graphql-facetwp
- ./.log/testing:/var/log/apache2
env_file:
- .env
environment:
SUITES: ${SUITES:-}
sysctls:
- net.ipv4.ip_unprivileged_port_start=0
networks:
testing:
networks:
local:
testing: