Closed sgratzl closed 3 years ago
tbh i'm a little lost. what's the end goal of this and related PRs? is there a discussion somewhere?
delphi_web
image, which mirrors the prod setup (apache, eastern timezone, other settings), whereas the new image is based on nginx and doesn't seem to do any other configuration. why the switch?To follow-up on @dfarrow0's questions, we're investing in per-project docker infrastructure. See also: https://github.com/cmu-delphi/delphi-ansible-web
The goal is to automatically build images based on github events (i.e. merging to main), and deploy those images to web hosts. Projects will be available via reverse proxying, so delphi.cmu.edu/projectname will get pointed to the appropriate image. Local development should still be able to test using docker.
I think the main take-away from David's comments is that, yes, we should be updating the documentation. Let's aim to update all of that prior to making the production release of this new infrastructure.
@sgratzl, re: did you have a reason for starting with a new web image? I didn't know about the other existing image.
@sgratzl, re: did you have a reason for starting with a new web image? I didn't know about the other existing image.
back the common apache based setup didn't have any public docker image to base on. Moreover, since also in production each docker image will be isolated, they can use a simplified setup such as being hosted by an small NGINX, when it is just about hosting static files. One of the goals was to create isolated setups, which can be built locally and also by a simple CI without a complex support setup