File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ services:
99 MYSQL_USER : drupal
1010 MYSQL_PASSWORD : drupal
1111# command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci # The simple way to override the mariadb config.
12- # volumes:
13- # - ./docker/mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
12+ volumes :
13+ - ./docker/mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
1414
1515 php :
1616# image: wodby/drupal-php:7.0-1.0.0
17- image : wodby/drupal-php:5.6-1.0.0
18- # build:
19- # dockerfile: ./docker/php/Dockerfile
20- # context: ./
17+ # image: wodby/drupal-php:5.6-1.0.0
18+ build :
19+ dockerfile : ./docker/php/Dockerfile
20+ context : ./
2121 environment :
2222 PHP_SITE_NAME : dev
2323 PHP_HOST_NAME : localhost:8999
24- PHP_DOCROOT : web # Relative path inside the /var/www/html/ directory.
24+ # PHP_DOCROOT: web # Relative path inside the /var/www/html/ directory.
2525 PHP_SENDMAIL_PATH : /usr/sbin/sendmail -t -i -S mailhog:1025
2626 PHP_XDEBUG_ENABLED : 1
2727 PHP_XDEBUG_AUTOSTART : 1
@@ -36,7 +36,7 @@ services:
3636 environment :
3737 NGINX_SERVER_NAME : localhost
3838 NGINX_UPSTREAM_NAME : php
39- NGINX_DOCROOT : web # Relative path inside the /var/www/html/ directory.
39+ # NGINX_DOCROOT: web # Relative path inside the /var/www/html/ directory.
4040 DRUPAL_VERSION : 8 # Allowed: 7, 8.
4141 volumes_from :
4242 - php
Original file line number Diff line number Diff line change @@ -2,7 +2,4 @@ FROM wodby/drupal-php:5.6-1.0.0
22
33MAINTAINER Igor Semenyuk <igor.semenyuk@rolique.io>
44
5- RUN curl https://drupalconsole.com/installer -L -o drupal.phar \
6- && php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar \
7- && mv drupal.phar /usr/local/bin/drupal \
8- && chmod +x /usr/local/bin/drupal
5+ COPY ./docker/php/settings.php /var/www/tmp/settings.php
You can’t perform that action at this time.
0 commit comments