6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 20:29:02 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Régis Behmo
58320e1e0f Workers need to share data with LMS/CMS
Hence, shared volumes must be identical.

Close #74.
2018-10-02 08:06:07 +02:00
Régis Behmo
30b23462d1 Fix broken celery tasks in CMS
Duplicate "environment" statement in the docker-compose.yml was causing
the first one to be forgotten. Hence, the cms celery worker was running
with LMS settings.

Close #72
2018-09-30 19:19:05 +02:00
Régis Behmo
d3bd288231 Fix "invalid operator '$slice'" mongodb error
$slice operator was introduced in version 3.2:
https://docs.mongodb.com/manual/release-notes/3.2/

This addresses part of issue #54.
2018-08-27 14:53:17 +02:00
Régis Behmo
8e46b4ca2b Make Xqueue an optional feature
Xqueue is no longer run by default. Instead, add the ACTIVATE_XQUEUE
environment variable to add it to the platform.
2018-08-19 14:49:14 +02:00
Régis Behmo
c883af35f7 Add HTTPS support
HTTPS is now fully supported. The ACTIVATE_HTTPS feature flag needs to
be set. Required domain names are LMS_HOST, preview.LMS_HOST and
CMS_HOST.

Close #46.
2018-08-19 14:49:14 +02:00
Régis Behmo
ac7fe77280 hawthorn.1 release
From a deployment perspective, this release comes with an upgrade of the
cs_comments_service (forums) and a change to the logging configuration.
2018-08-08 15:02:49 +02:00
Régis Behmo
43a97e5fe3 Add xqueue services
Xqueue containers consist of two services: a gunicorn service, that
receives requests from LMS/CMS, and a worker service. I guess the worker
service receives orders from the gunicorn service, through rabbitmq.
(but I'm less than certain about that).

While adding xqueue containers, we refactored the way mysql databases
are created, and how the root password is loaded. Also, we silenced some
options from the configure script.
2018-06-04 23:41:22 -04:00
Régis Behmo
f5a407cae7 🤡 Activate discussion forums 2018-05-28 00:25:56 -04:00
Régis Behmo
f37702fc8d 🐛 Fix critical nginx error
Nginx was simply not booting.
2018-05-27 20:24:32 -04:00
Régis Behmo
bfbc0c2b5b Switch docker hub username 2018-05-16 19:35:18 +02:00
Régis Behmo
b488bcf8ec Download, don't build
Images are no longer built locally, Instead, they are downloaded from
docker hub. This completely changes config file organisation. In
particular, we no longer copy configuration files to the original docker
image.
2018-05-16 19:07:31 +02:00
Régis Behmo
b6dd4130e6 Load config files as mounted volumes
This allows changing the openedx config without rebuilding the image.
2018-04-27 23:33:48 +02:00
Régis Behmo
e8d916920c Do not build nginx image
Instead, just import the base image and customise it with volumes.
2018-04-27 19:07:02 +02:00
Régis Behmo
4252de9340 Allow nginx not to depend on lms/cms
By using variables in the nginx configuration to point to lms/cms, we
allow nginx not to require that lms and cms are up to run. This is
convenient for debugging production settings: just launch an nginx, then
runserver in an lms.
2018-04-20 09:36:38 +02:00
Régis Behmo
bda9e042f9 No longer refer to 'edxapp'
'edxapp' is an old reference to the vagrant image and it does not make
much sense.
2018-04-12 15:45:59 +02:00
Régis Behmo
1f7e68c662 Working devstack
This allows the user to run their own devstack inside the containers.
Yay!

Also, we handle file permissions cleanly: in docker-entrypoint.sh we
chmod the data and edx-platform files to the same UID of the user on the
host machine. No more permission headaches!
2018-04-12 11:36:14 +02:00
Régis Behmo
1fcae62d2f Update container restart policy
Make containers not restart automatically on boot when they were
manually stopped before. Make sure this is the case for all containers.
2018-02-08 07:40:18 +01:00
Régis Behmo
7f27ab952b Fix email sending 2018-01-29 18:05:26 +01:00
Régis Behmo
81af46fbe9 Create staff user, fix studio nginx static assets 2018-01-29 17:21:47 +01:00
Régis Behmo
0ff97197d0 Working stack: still some bugs to fix 2018-01-29 17:21:32 +01:00
Régis Behmo
3170541f91 Config generation with ced
Environment variables are now used in configuration files with ced.
2017-09-19 14:24:57 +02:00
Régis Behmo
9004335eb9 Don't restart services by default 2017-09-19 12:58:55 +02:00
Régis Behmo
e357e763d7 Multiple improvements, including Ginkgo compatibility
Docker stack now includes a studio, smtp server, rabbitmq container and
an LMS worker. There are still a couple things to do, though. (see
TODOs)
2017-07-25 23:24:36 +02:00
Régis Behmo
12e08d7c5d Simplify migrations and static collection
Migrations and static assets collection are no longer performed every
time we build an image. Instead, they are run on command.
2017-07-23 19:27:25 +02:00
Régis Behmo
bdd1a41f62 🌅 2017-07-03 12:39:19 +02:00