-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
compose.yaml
32 lines (30 loc) · 1.07 KB
/
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
services:
wordpress:
build: .
restart: always
ports:
- "8099:80" # HTTP
environment:
SERVER_NAME: ${SERVER_NAME:-:80}
WORDPRESS_DB_HOST: ${DB_HOST:-db}
WORDPRESS_DB_USER: ${DB_USER:-exampleuser}
WORDPRESS_DB_PASSWORD: ${DB_PASSWORD:-examplepass}
WORDPRESS_DB_NAME: ${DB_NAME:-exampledb}
WORDPRESS_DEBUG: ${WP_DEBUG:-false}
WORDPRESS_TABLE_PREFIX: ${DB_TABLE_PREFIX:-wp_}
CACHE_LOC: ${CACHE_LOC:-/var/www/html/wp-content/cache}
TTL: ${TTL:-80000}
PURGE_PATH: ${PURGE_PATH:-/__cache/purge}
PURGE_KEY: ${PURGE_KEY:-}
BYPASS_HOME: ${BYPASS_HOME:-false}
BYPASS_PATH_PREFIXES: ${BYPASS_PATH_PREFIXES:-/wp-admin,wp-includes}
CACHE_RESPONSE_CODES: ${CACHE_RESPONSE_CODES:-2XX,404,403}
CADDY_GLOBAL_OPTIONS: |
email myemail@sample.com
auto_https disable_redirects
WORDPRESS_CONFIG_EXTRA: |
define('WP_SITEURL', 'http://localhost:8099');
define('WP_HOME', 'http://localhost:8099');
volumes:
- ./app:/var/www/html
tty: true