Skip to content
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

Dockerize the website #69

Merged
merged 40 commits into from
Dec 26, 2020
Merged

Dockerize the website #69

merged 40 commits into from
Dec 26, 2020

Conversation

ali-ramadhan
Copy link
Member

@ali-ramadhan ali-ramadhan commented Apr 15, 2020

This PR is an attempt to dockerize the website using docker-compose following this guide: https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/

I think in this PR I just want to be able to spin up a container with a working version of the website (but without a working engine, that will come later). But maybe I'll leave this PR open for a bit while lovelace-engine gets dockerized then revisit this PR to flesh it out.

A nice upgrade is that all sensitive information will be read in through environment variables so we can easily switch between a .env.dev and a .env.prod (and all secret information will be stored in one file).

Update: I'm also following https://testdriven.io/blog/django-lets-encrypt/

Resolves #64

@ali-ramadhan ali-ramadhan marked this pull request as ready for review December 24, 2020 01:33
@ali-ramadhan ali-ramadhan mentioned this pull request Dec 24, 2020
@ali-ramadhan
Copy link
Member Author

Merging as new production server is fully dockerized and up online!

@ali-ramadhan ali-ramadhan merged commit d0cdb85 into master Dec 26, 2020
@ali-ramadhan ali-ramadhan deleted the ar/docker branch December 26, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker image?
1 participant