Skip to content

Commit

Permalink
Pass the working directory path from the host to the dev environment …
Browse files Browse the repository at this point in the history
…containers.
  • Loading branch information
johnbillion committed Jan 20, 2025
1 parent 29df2d5 commit 45cbabb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ services:
- PHP_FPM_GID=${PHP_FPM_GID-1000}
- GITHUB_REF=${GITHUB_REF-false}
- GITHUB_EVENT_NAME=${GITHUB_EVENT_NAME-false}
- HOST_PATH=${PWD-}/${LOCAL_DIR-src}

volumes:
- ./tools/local-env/php-config.ini:/usr/local/etc/php/conf.d/php-config.ini
Expand Down Expand Up @@ -101,6 +102,7 @@ services:
- LOCAL_PHP_MEMCACHED=${LOCAL_PHP_MEMCACHED-false}
- PHP_FPM_UID=${PHP_FPM_UID-1000}
- PHP_FPM_GID=${PHP_FPM_GID-1000}
- HOST_PATH=${PWD-}/${LOCAL_DIR-src}

volumes:
- ./:/var/www
Expand Down

0 comments on commit 45cbabb

Please sign in to comment.