-
Notifications
You must be signed in to change notification settings - Fork 207
/
docker-compose.yml
38 lines (38 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
services:
wordpress:
build: ./docker/wordpress_xdebug
image: wordpress-xdebug
container_name: woocommerce_stripe_wordpress
depends_on:
- db
links:
- db:mysql
ports:
- "8082:80"
env_file:
- default.env
volumes:
- ./docker/wordpress:/var/www/html/
- ./docker/logs/apache2/:/var/log/apache2
- .:/var/www/html/wp-content/plugins/woocommerce-gateway-stripe
- ./tests/phpunit:/var/www/html/wp-content/plugins/woocommerce-gateway-stripe/tests/phpunit
- ./docker/dev-php.ini:/usr/local/etc/php/conf.d/dev-php.ini
- ./docker/bin:/var/scripts
extra_hosts:
- "host.docker.internal:host-gateway"
db:
container_name: woocommerce_stripe_mysql
image: mariadb:latest
ports:
- "5678:3306"
env_file:
- default.env
volumes:
- ./docker/data:/var/lib/mysql
phpMyAdmin:
container_name: woocommerce_stripe_phpmyadmin
image: phpmyadmin/phpmyadmin:latest
ports:
- "8083:80"
env_file:
- default.env