-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
46 lines (46 loc) · 1.61 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
services:
wc_db:
image: mariadb:10.5
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${WORDPRESS_DB_ROOTPASS:-ABC123}
MYSQL_DATABASE: ${WORDPRESS_DB_NAME:-wordpress}
MYSQL_USER: ${WORDPRESS_DB_USER:-wordpress}
MYSQL_PASSWORD: ${WORDPRESS_DB_PASS:-wordpress}
# volumes:
# - ./data/wc_db:/var/lib/mysql
woocommerce:
container_name: woocommerce
build:
context: docker/wordpress/
dockerfile: Dockerfile
depends_on:
- wc_db
ports:
- ${PORT_HTTP:-8001}:80
- ${PORT_SSL:-8443}:443
volumes:
- ./:/tmp/plugin:ro
# - ./data/woocommerce:/var/www/html
environment:
WORDPRESS_DB_HOST: ${WORDPRESS_DB_HOST:-wc_db}
WORDPRESS_DB_NAME: ${WORDPRESS_DB_NAME:-wordpress}
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER:-wordpress}
WORDPRESS_DB_PASS: ${WORDPRESS_DB_PASS:-wordpress}
WORDPRESS_TABLE_PREFIX: "wp_"
WORDPRESS_DEBUG: 1
WORDPRESS_LOCALE: ${WORDPRESS_LOCALE:-en_US}
WORDPRESS_TITLE: ${WORDPRESS_TITLE:-QSHOP}
WORDPRESS_ADMIN_USER: ${WORDPRESS_ADMIN_USER:-admin}
WORDPRESS_ADMIN_PASS: ${WORDPRESS_ADMIN_PASS:-admin123}
WORDPRESS_ADMIN_EMAIL: ${WORDPRESS_ADMIN_EMAIL:[email protected]}
WORDPRESS_URL: ${WORDPRESS_HOST}
PLUGIN_VERSION: ${PLUGIN_VERSION}
PLUGIN_URL: ${PLUGIN_URL:-local}
NGROK_TOKEN: ${NGROK_TOKEN}
OVERRIDE_API_URL: ${OVERRIDE_API_URL}
GITHUB_SERVER_URL: ${GITHUB_SERVER_URL}
GITHUB_REPOSITORY: ${GITHUB_REPOSITORY}
GITHUB_WORKSPACE: ${GITHUB_WORKSPACE}
GITHUB_SHA: ${GITHUB_SHA}
GITHUB_REF: ${GITHUB_REF}