Commit f3871b78 by Edward Zarecor

WIP docker compose devstack

parent ce416ccc
......@@ -26,6 +26,23 @@ service management on your behalf.
__ https://github.com/edx/edx-platform
__ https://github.com/edx/configuration/wiki/edX-Developer-Stack
Runing with Docker Compose
----
Need docker > 1.9
Need docker-compose > 1.5.1
sudo docker daemon --dns 8.8.8.8
DOCKER_DATA_ROOT is the directory that stores data for persistence services like MySQL or MongoDB. The
data will survive container restarts and allow continuity during development.
DOCKER_EDX_ROOT is the directory into which you checkout edX source code. We recommend that you checkout
all edX projects into this directory.
DOCKER_DATA_ROOT=/var/docker DOCKER_EDX_ROOT=/home/me/git/edx ~/bin/docker-compose --x-networking up
Running Tests
----
To run tests, do ``bundle exec rspec``. Append ``--help`` or see rspec documentation
......
db:
container_name: db
image: edxops/mysql:v1
environment:
- MYSQL_ROOT_PASSWORD=''
hostname: db
ports:
- 3306:3306
mongo:
container_name: mongo
image: edxops/mongo:v2
volumes:
- ${DOCKER_DATA_ROOT}/mongo/data:/data
es:
container_name: es
image: edxops/elasticsearch:v1
volumes:
- ${DOCKER_DATA_ROOT}/elasticsearch/data:/es-data
memcache:
container_name: memcache
image: memcached:1.4.24
forums:
container_name: forums
image: edxops/forums:opencraft
ports:
- 4567:4567
#nginx:
# build: ../build/nginx
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