forked from jhedstrom/drupalextension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (66 loc) · 1.63 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "2"
services:
php:
image: wodby/drupal-php:${PHP_VERSION}
environment:
DB_HOST: db
DB_USER: drupal
DB_PASSWORD: drupal
DB_NAME: drupal
DB_DRIVER: mysql
PHP_FPM_USER: wodby
PHP_FPM_GROUP: wodby
PHP_FPM_CLEAR_ENV: "yes"
PHP_OPCACHE_PRELOAD_USER: wodby
PHP_XDEBUG_MODE: "off"
PHP_XDEBUG_REMOTE_CONNECT_BACK: 1
PHP_XDEBUG_REMOTE_HOST: "10.254.254.254"
PHP_XDEBUG_IDEKEY: "PHPSTORM"
PHP_IDE_CONFIG: "serverName=drupalextension"
volumes:
- ./:/var/www/html
drupal:
image: wodby/nginx:1.16-5.11.3
depends_on:
- php
environment:
NGINX_STATIC_OPEN_FILE_CACHE: "off"
NGINX_ERROR_LOG_LEVEL: debug
NGINX_BACKEND_HOST: php
NGINX_SERVER_ROOT: /var/www/html/drupal
NGINX_VHOST_PRESET: drupal9
volumes:
- ./:/var/www/html
ports:
- "8080:80"
blackbox:
image: wodby/nginx:1.16-5.11.3
environment:
NGINX_STATIC_OPEN_FILE_CACHE: "off"
NGINX_ERROR_LOG_LEVEL: debug
NGINX_SERVER_ROOT: /var/www/html/fixtures/blackbox
NGINX_VHOST_PRESET: html
volumes:
- ./:/var/www/html
ports:
- "8081:80"
db:
image: wodby/mariadb:10.3-3.8.4
stop_grace_period: 30s
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
node:
image: node:latest
user: "node"
working_dir: /home/node/app
environment:
- NODE_ENV="production npm run production"
- SHELL=bash
volumes:
- ./:/home/node/app
command: "sleep infinity"
volumes:
codebase: