openedx / wg-devops

Issue repository for the DevOps Working Group
1 stars 1 forks source link

Change dev domain: `local.edly.io` -> `local.openedx.org` #18

Closed kdmccormick closed 3 months ago

kdmccormick commented 1 year ago

Background

Tutor requires a dev domain (other than localhost) which points to 127.0.0.1. I'm fuzzy on the reasons but I'm pretty sure it has to do with how authn plays with Docker's network addresses.

Historically this has been local.overhang.io, as of Quince it's local.edly.io.

Some options:

Note that .dev isn't an option (I think) because it is an https-only domain.

@regisb indicated he'd be on board with this.

Tasks

Target

Quince

regisb commented 1 year ago

Tutor requires a dev domain (other than localhost) which points to 127.0.0.1. I'm fuzzy on the reasons but I'm pretty sure it has to do with how authn plays with Docker's network addresses.

Kind of :) There are actually a couple of reasons for having our own domain names, but only one which really matters. Services often need to talk to each other, and for that they use the same hostnames whether they make calls on the internal network or on the internet. For instance, the CMS makes HTTP requests to the LMS via http://local.overhang.io both in the Python process and the browser client. We could replace "local.overhang.io" by "openedx.localhost", which would also resolve to 127.0.0.1, but then we would have to tell the cms container that "openedx.localhost" is actually the "lms" container. And I don't really know how to do that.

kdmccormick commented 1 year ago

Makes sense!

kdmccormick commented 1 year ago

Some things that Axim just discussed:

kdmccormick commented 1 year ago

One point in favor of something openedx-specfic rather than tutor-specific is that the same domain could be used in settings files for any Open edX distribution. Theoretically, Tutor and Devstack could both point to local.openedx.org.

kdmccormick commented 3 months ago

Trying to make this happen has been so much bureaucracy. I'm not sure I care enough to make it happen any more. local.edly.io is short and sweet, and nobody in the Open edX community is complaining about it right now.

@regisb , if you would like to move to another domain, let me know. Otherwise, I'm fine closing this and sticking with local.edly.io 😄