-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace ol-www1 with docker-based ol-www0 #4252
Comments
Q: What is the upside of doing all this work? What will www0 give us that www1 does not currently deliver? A: Being able to build all this static content less often and store those results in an easy-to-serve Docker container. |
@mekarpeles Note: Logs might need to be longer-lived on www1, and regularly uploaded to IA. |
@cclauss One purpose is being able to build static files at all :) Currently we have to build the static files on ol-home outside of docker; this is going to be deprecated as we work towards Another important purpose is that we make our nginx confs available to the community, so they can make changes which would currently be impossible for them to do (e.g. add HTTP/2 support). |
Note: Might need GeoMind on this :/ |
ol-www0%
ol-www0%
|
Q: Which repos (olsystem, openlibrary, infogami, etc.) need to be installed on |
|
ol-www1 hosts static files as well as the nginx that serves the main site.
Related:
ol-home0
Crons need to run/trigger ol-www1 ipstats #5144ol-home0
Crons need to run/trigger ol-www1 ipstats #5144ol-www1
calledol-www0
docker
group w/nagios,cclauss,drini,mek
as members (runscripts/setup_olserver.sh
)web_nginx
service indocker-compose.production.yml
web_haproxy
service indocker-compose.production.yml
ol-www1
which includes services fornginx
To Investigate:
Considerations
If/when we remove volume mounts, our cron jobs may need to be re-architected for commands which ssh to hosts (as the code will now be inside docker and we'll need some way to trigger these commands in docker from ol-home0 + ssh)
The text was updated successfully, but these errors were encountered: