-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
66 lines (63 loc) · 1.84 KB
/
docker-compose.yaml
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
64
65
66
version: "3.1"
services:
wordpress:
container_name: wordpress
extra_hosts:
- "portal.localhost:host-gateway"
image: wordpress:6.7-php8.2-apache
restart: always
ports:
- 8888:80
environment:
WORDPRESS_DB_HOST: mariadb
WORDPRESS_DB_USER: twocommerce
WORDPRESS_DB_PASSWORD: twocommerce
WORDPRESS_DB_NAME: twocommerce
WORDPRESS_HOME: "http://localhost:8888"
WORDPRESS_SITEURL: "http://localhost:8888"
WORDPRESS_DEBUG: "true"
volumes:
- ./volumes/wordpress:/var/www/html
- .:/var/www/html/wp-content/plugins/tillit-payment-gateway
- ./volumes/log/:/var/log/apache2/
depends_on:
- mariadb
wpcli:
container_name: wpcli
image: wordpress:cli-2.11.0-php8.2
user: "33:33"
entrypoint: /opt/tillit-payment-gateway/docker/wpcli.sh
restart: always
environment:
WORDPRESS_DB_HOST: mariadb
WORDPRESS_DB_USER: twocommerce
WORDPRESS_DB_PASSWORD: twocommerce
WORDPRESS_DB_NAME: twocommerce
WORDPRESS_URL: "http://localhost:8888"
WORDPRESS_TITLE: "Twocommerce Wordpress"
WORDPRESS_ADMIN_USER: admin
WORDPRESS_ADMIN_PASSWORD: twoinb2b
WORDPRESS_ADMIN_EMAIL: [email protected]
WOOCOM_PLUGIN_CONFIG_JSON: ${WOOCOM_PLUGIN_CONFIG_JSON}
WOOCOM_CURRENCY: EUR
WOOCOM_DEFAULT_COUNTRY: NL
# WOOCOM_VERSION: 9.4.2
# WOOCOM_VERSION: 8.9.3
WOOCOM_VERSION: 7.9.1
volumes:
- ./volumes/wordpress:/var/www/html
- .:/opt/tillit-payment-gateway
depends_on:
- mariadb
- wordpress
mariadb:
container_name: mariadb
image: mariadb:10.2
restart: always
environment:
MYSQL_DATABASE: twocommerce
MYSQL_USER: twocommerce
MYSQL_PASSWORD: twocommerce
MYSQL_RANDOM_ROOT_PASSWORD: "1"
volumes:
- ./volumes/mariadb:/var/lib/mysql