~qeef/damn-project#7: 
Refactor deploy

What? Get rid of docker-compose as basic configuration.

Why? Because it's not ok to rebuild docker image when few lines of javascript client changes.

How? Nginx + some HTTPS + fastapi + alpine + python scripts + PostGIS + cron.

Notes:

  • Merge upkeep and gen functionality, rewrite to Python.
  • Use alpine, all dependencies available?
  • Docker-compose may be provided but as the secondary solution, maybe in another repository.
Status
REPORTED
Submitter
~qeef
Assigned to
No-one
Submitted
8 months ago
Updated
20 days ago
Labels
No labels applied.

~qeef 20 days ago

I am not able to make the progress I would like. So, instead of the original plan, I am going to improve current docker-compose deploy.

Merge upkeep and gen functionality, rewrite to Python.

Still apply. Make part of the server (upkeep) all the things that is better to take from the database directly.

Because it's not ok to rebuild docker image when few lines of javascript client changes.

Make one docker image serving all static content. Make shared volume between that docker image and docker images that generates the static content.

Register here or Log in to comment, or comment via email.