drupal_yext-8.x-1.0/docker-compose.yml
docker-compose.yml
---
version: '2'
services:
drupal:
build:
context: .
dockerfile: Dockerfile
volumes:
- ".:/var/www/html/modules/custom/drupal_yext"
- "./docker-resources:/docker-resources"
ports:
- "80"
links:
- mysql:mysql
working_dir: /var/www/html/modules/custom/drupal_yext
# Database server
mysql:
image: mariadb
environment:
MYSQL_DATABASE: drupal
MYSQL_ROOT_PASSWORD: drupal
MYSQL_ALLOW_EMPTY_PASSWORD: 'no'
