Commit 2d26d928 by Mike Dikan Committed by mikedikan

Adding marketing site override capaibility using .env file to enable local debugging

parent 46929ffe
# Change the value to the IP address of your machine/browser to enable debugging.
XDEBUG_IP_ADDRESS=127.0.0.1
# Provides local environment overrides if used. See docker.settings.private.php.example for details
DRUPAL_EXTRA_SETTINGS=/var/www/html/sites/default/docker.settings.private.php
...@@ -92,4 +92,8 @@ ENV/ ...@@ -92,4 +92,8 @@ ENV/
.idea/ .idea/
.dev/ .dev/
# Docker
.docker-sync/ .docker-sync/
.env
...@@ -16,9 +16,15 @@ services: ...@@ -16,9 +16,15 @@ services:
- DB_NAME=edxmktg - DB_NAME=edxmktg
- DB_PASSWORD=password - DB_PASSWORD=password
- DB_USER=edxmktg001 - DB_USER=edxmktg001
- DRUPAL_EXTRA_SETTINGS=/var/www/html/sites/default/docker.settings.php
- LMS_HOST=http://localhost:18000 - LMS_HOST=http://localhost:18000
- MEMCACHE_HOST=edx.devstack.memcached - MEMCACHE_HOST=edx.devstack.memcached
# Used by PhpStorm to attach the debug connection
- PHP_IDE_CONFIG=serverName=edx.docker
# For the settings below, see .env.example to provide values (default is after the ':-')
# Provides local environment overrides. (PRIVATE_SETTINGS set in .env file)
- DRUPAL_EXTRA_SETTINGS=${DRUPAL_EXTRA_SETTINGS:-/var/www/html/sites/default/docker.settings.php}
# IP address of your machine to enable debugging (IP_ADDRESS set in .env file)
- XDEBUG_CONFIG=remote_host=${XDEBUG_IP_ADDRESS:-127.0.0.1}
image: edxops/edx-mktg:latest image: edxops/edx-mktg:latest
ports: ports:
- "8080:80" - "8080:80"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment