Skip to content

Commit

Permalink
fix: use correct syntax for env vars (#8)
Browse files Browse the repository at this point in the history
- Update DRUPAL_ROOT and DRUPAL_SITE_DIR to use DOCROOT_SUBDIR instead of
  DRUPAL_ROOT for consistency and clarity.
  • Loading branch information
esolitos authored May 21, 2024
1 parent 8e1183e commit 97219ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/drupal-cron/default.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ ENV APP_ROOT=/var/www/html
ENV DOCROOT_SUBDIR=drupal

ENV DRUPAL_SITE=default
ENV DRUPAL_ROOT=${APP_ROOT}/${DRUPAL_ROOT}
ENV DRUPAL_SITE_DIR=$(DRUPAL_ROOT)/sites/$(DRUPAL_SITE)
ENV DRUPAL_ROOT=${APP_ROOT}/${DOCROOT_SUBDIR}
ENV DRUPAL_SITE_DIR=${DRUPAL_ROOT}/sites/${DRUPAL_SITE}
ENV DRUPAL_FILES_DIR=${DRUPAL_SITE_DIR}/files
ENV DRUPAL_FILES_SYNC_SALT=not-in-use-but-required
ENV DRUPAL_PHP_STORAGE_DIR=/tmp/php
Expand Down
4 changes: 2 additions & 2 deletions templates/drupal-php/default.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ ENV APP_ROOT=/var/www/html
ENV DOCROOT_SUBDIR=drupal

ENV DRUPAL_SITE=default
ENV DRUPAL_ROOT=${APP_ROOT}/${DRUPAL_ROOT}
ENV DRUPAL_SITE_DIR=$(DRUPAL_ROOT)/sites/$(DRUPAL_SITE)
ENV DRUPAL_ROOT=${APP_ROOT}/${DOCROOT_SUBDIR}
ENV DRUPAL_SITE_DIR=${DRUPAL_ROOT}/sites/${DRUPAL_SITE}
ENV DRUPAL_FILES_DIR=${DRUPAL_SITE_DIR}/files
ENV DRUPAL_FILES_SYNC_SALT=not-in-use-but-required
ENV DRUPAL_PHP_STORAGE_DIR=/tmp/php
Expand Down

0 comments on commit 97219ba

Please sign in to comment.