4 # More info at https://github.com/wodby/mariadb
6 image: wodby/mariadb:${MARIADB_TAG-10.1}
7 container_name: ${PROJECT_NAME-unish}_mariadb
10 MYSQL_ROOT_PASSWORD: password
12 - mariadb-datavolume:/var/lib/mysql
14 # More info at https://github.com/wodby/php
15 # We don't want their drupal-php image as that ships with a Drush inside.
17 image: wodby/php:${PHP_TAG-7.2-dev}
18 container_name: ${PROJECT_NAME-unish}_drupal
20 PHP_SENDMAIL_PATH: /dev/null
21 UNISH_DB_URL: ${UNISH_DB_URL-mysql://root:password@mariadb}
23 COLUMNS: ${COLUMNS-80} # Set 80 columns for docker exec -it.
24 ## Read instructions at https://wodby.com/stacks/drupal/docs/local/xdebug/
26 PHP_XDEBUG_DEFAULT_ENABLE:
28 PHP_XDEBUG_REMOTE_HOST:
30 - ./:/var/www/html:${VOLUME_FLAGS-cached}
31 - ./.docker/zz-php.ini:/usr/local/etc/php/conf.d/zz-php.ini
33 # More info at https://github.com/wodby/postgres
35 image: wodby/postgres:${POSTGRES_TAG-10.5}
36 container_name: unish_postgres
37 stop_grace_period: 30s
39 POSTGRES_PASSWORD: unish
40 POSTGRES_DB: unish_dev
43 - postgres-datavolume:/var/lib/postgresql/data
45 #data volumes https://docs.docker.com/storage/volumes/