Created
December 13, 2023 16:36
-
-
Save timkelty/e260de9516cae6db28b5963759b455c1 to your computer and use it in GitHub Desktop.
Bref service for DDEV
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
services: | |
bref: | |
build: | |
context: bref | |
image: bref/php-82-fpm-dev:2 | |
container_name: ddev-${DDEV_SITENAME}-bref | |
expose: | |
- "8000" | |
volumes: | |
- ${DDEV_APPROOT}:/var/task:ro | |
- ./bref/php:/var/task/php | |
labels: | |
com.ddev.site-name: ${DDEV_SITENAME} | |
com.ddev.approot: $DDEV_APPROOT | |
env_file: | |
- ~/Dev/cloud-extension-yii2/.env.cloud | |
environment: | |
HANDLER: web/index.php | |
DOCUMENT_ROOT: web | |
VIRTUAL_HOST: $DDEV_HOSTNAME | |
HTTP_EXPOSE: "8000:8000" | |
HTTPS_EXPOSE: "8081:8000" | |
PHP_IDE_CONFIG: serverName=bref |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment