-
Notifications
You must be signed in to change notification settings - Fork 69
/
docker-compose.yml
executable file
·49 lines (47 loc) · 1.29 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
version: '3'
volumes:
## Kludge for not having the ./docker directory bound recursively
dockerdirectory:
services:
wordpress:
build:
context: .
dockerfile: ./docker/wordpress_xdebug/Dockerfile
args:
- XDEBUG_REMOTE_PORT=9000 # IDE/Editor's listener port
container_name: woocommerce_payments_wordpress
image: woocommerce_payments_wordpress
restart: always
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-payments
- ./docker/wc-payments-php.ini:/usr/local/etc/php/conf.d/wc-payments-php.ini
- dockerdirectory:/var/www/html/wp-content/plugins/woocommerce-payments/docker
- ./docker/bin:/var/scripts
extra_hosts:
- "host.docker.internal:host-gateway"
db:
container_name: woocommerce_payments_mysql
image: mariadb:10.5.8
ports:
- "5678:3306"
env_file:
- default.env
volumes:
- ./docker/data:/var/lib/mysql
phpMyAdmin:
container_name: woocommerce_payments_phpmyadmin
image: phpmyadmin/phpmyadmin:latest
ports:
- "8083:80"
env_file:
- default.env