Last active
April 2, 2019 11:25
-
-
Save undertext/18351168c79269de8c4ec0ab2f4e0c36 to your computer and use it in GitHub Desktop.
Drupal docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
mariadb: | |
container_name: "drupal_testing_mariadb" | |
image: wodby/mariadb | |
container_name: "mariadb" | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: drupal | |
MYSQL_USER: drupal | |
MYSQL_PASSWORD: drupal | |
php: | |
container_name: "drupal_testing_php" | |
image: wodby/drupal-php | |
environment: | |
PHP_FPM_USER: wodby | |
PHP_FPM_GROUP: wodby | |
volumes: | |
- ./:/var/www/html | |
nginx: | |
container_name: "drupal_testing_nginx" | |
image: wodby/nginx | |
depends_on: | |
- php | |
environment: | |
NGINX_BACKEND_HOST: php | |
NGINX_SERVER_ROOT: /var/www/html/web | |
NGINX_VHOST_PRESET: drupal8 | |
volumes: | |
- ./:/var/www/html | |
ports: | |
- "80:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment