docker-compose.yml in UI Patterns Settings 8
File
docker-compose.yml
View source
- version: "2"
-
- services:
-
- mariadb:
- 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
-
- php:
- image: wodby/drupal-php:${TRAVIS_PHP_VERSION}-4.15.9
- environment:
- DB_HOST: mariadb
- DB_USER: drupal
- DB_PASSWORD: drupal
- DB_NAME: drupal
- DB_DRIVER: mysql
- PHP_XDEBUG: 1
- PHP_XDEBUG_DEFAULT_ENABLE: 1
- PHP_XDEBUG_REMOTE_CONNECT_BACK: 1
- PHP_XDEBUG_REMOTE_HOST: "10.254.254.254"
- PHP_XDEBUG_IDEKEY: "PHPSTORM"
- PHP_IDE_CONFIG: "serverName=ui_patterns"
- volumes:
- - ./:/var/www/html
-
- nginx:
- image: wodby/nginx:1.15-5.0.0
- 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/build
- NGINX_VHOST_PRESET: drupal8
- volumes:
- - ./:/var/www/html
- ports:
- - "8080:80"
-
- # If you would like to see what is going on you can run the following on your host:
- # docker run --rm -p 4444:4444 -p 5900:5900 --network="host" selenium/standalone-chrome-debug:latest
- # Newer version of this image might run into this issue:
- # @link https://github.com/elgalu/docker-selenium/issues/20
- selenium:
- image: selenium/standalone-chrome-debug:3.11
- expose:
- - '4444'
- environment:
- - DISPLAY=:99
- - SE_OPTS=-debug
- - SCREEN_WIDTH=1280
- - SCREEN_HEIGHT=800
- - VNC_NO_PASSWORD=1
- ports:
- - '4444:4444'
- - "5900:5900"
- volumes:
- - /dev/shm:/dev/shm
-
- volumes:
- codebase: