Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
devstack
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
devstack
Commits
2d26d928
Commit
2d26d928
authored
May 02, 2017
by
Mike Dikan
Committed by
mikedikan
May 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding marketing site override capaibility using .env file to enable local debugging
parent
46929ffe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletions
+16
-1
.env.example
+5
-0
.gitignore
+4
-0
docker-compose-marketing-site.yml
+7
-1
No files found.
.env.example
0 → 100644
View file @
2d26d928
# 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
.gitignore
View file @
2d26d928
...
@@ -92,4 +92,8 @@ ENV/
...
@@ -92,4 +92,8 @@ ENV/
.idea/
.idea/
.dev/
.dev/
# Docker
.docker-sync/
.docker-sync/
.env
docker-compose-marketing-site.yml
View file @
2d26d928
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment