-
Notifications
You must be signed in to change notification settings - Fork 221
Expand file tree
/
Copy pathcompose.yml
More file actions
53 lines (48 loc) · 1.21 KB
/
compose.yml
File metadata and controls
53 lines (48 loc) · 1.21 KB
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
services:
mariadb:
image: wodby/mariadb:$MARIADB_TAG
environment:
MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
MYSQL_DATABASE: $DB_NAME
MYSQL_USER: $DB_USER
MYSQL_PASSWORD: $DB_PASSWORD
php:
image: "wodby/wordpress:6-${PHP_VER}-${WORDPRESS_STABILITY_TAG}"
environment:
DB_HOST: $DB_HOST
DB_NAME: $DB_NAME
DB_USER: $DB_USER
DB_PASSWORD: $DB_PASSWORD
DEBUG: 1
WP_VERSION: 6
PHP_SENDMAIL_PATH: '/bin/true'
BASE_URL: http://$PROJECT_BASE_URL
PHP_FPM_USER: wodby
PHP_FPM_GROUP: wodby
volumes:
- codebase:/var/www/html/
- ./tests.sh:/usr/local/bin/tests.sh
nginx:
image: wodby/nginx:$NGINX_TAG
environment:
NGINX_STATIC_OPEN_FILE_CACHE: "off"
NGINX_ERROR_LOG_LEVEL: debug
NGINX_BACKEND_HOST: php
NGINX_VHOST_PRESET: wordpress
volumes:
- codebase:/var/www/html/
depends_on:
- php
varnish:
image: wodby/varnish:$VARNISH_TAG
depends_on:
- nginx
environment:
VARNISH_SECRET: secret
VARNISH_BACKEND_HOST: nginx
VARNISH_BACKEND_PORT: 80
VARNISH_CONFIG_PRESET: wordpress
valkey:
image: wodby/valkey:$VALKEY_TAG
volumes:
codebase: