6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-04 19:03:39 +00:00
Go to file
2017-07-24 11:34:27 +02:00
lms Simplify migrations and static collection 2017-07-23 19:27:25 +02:00
nginx Change LMS url to http://openedx.localhost 2017-07-19 09:25:00 +02:00
.gitignore 🌅 2017-07-03 12:39:19 +02:00
docker-compose.yml Simplify migrations and static collection 2017-07-23 19:27:25 +02:00
Makefile Simplify migrations and static collection 2017-07-23 19:27:25 +02:00
README.md Remove useless directory creation step in README 2017-07-24 11:34:27 +02:00

[WIP] Docker-compose Open edX production stack

This is a work-in-progress.

The production stack is composed of Nginx, MySQL, MongoDB, Memcache and an LMS container.

Lauch a production stack

docker-compose up --build

The LMS will be reachable at the following url: http://openedx.localhost.

On the first run you will need to migrate the database and collect static assets:

make migrate
make assets

Development tips & tricks

Open a bash in the lms:

docker-compose run lms bash

How to find the IP address of a running docker:

docker container ls
docker inspect a0fc4cc602f8

TODO

  • Add a CMS container
  • Add rabbitmq and celery worker containers
  • Make sure that secret keys are not shared with the entire world
  • Fix TODOs