forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-marketing-site.yml
34 lines (32 loc) · 1.15 KB
/
docker-compose-marketing-site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "2.1"
services:
lms:
environment:
- ENABLE_MARKETING_SITE=1
- MARKETING_SITE_ROOT="http://localhost:8080"
marketing:
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.marketing"
depends_on:
- mysql
- memcached
environment:
- DB_HOST=edx.devstack.mysql
- DB_NAME=edxmktg
- DB_PASSWORD=password
- DB_USER=edxmktg001
- LMS_HOST=http://localhost:18000
- 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:${OPENEDX_RELEASE:-latest}
networks:
default:
aliases:
- edx.devstack.marketing
ports:
- "8080:80"