issues
search
Alechan
/
microsimu
GNU General Public License v3.0
0
stars
1
forks
source link
NMI: nginx + docker + django + github actions (read evernote notes)
#46
Closed
Alechan
closed
3 years ago
Alechan
commented
3 years ago
[ ] Docker + django + postgresql:
[ ] Tutorial bastante bueno te testdriven:
https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/
[ ] Docs oficiales de Docker
https://docs.docker.com/compose/django/
[ ] Container "adminer" muy cheto para chusmear las bases de datos desde el browser (buscar en el evernote de resumen de codely.tv docker)
[ ] Ver cómo hacer un .env con las variables de entorno dependiendo de si es local, staging o prod
[ ] En el tuto mencionado arriba de "Dockerizing django" hace uso de distintos .envs
[ ]
https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables
[ ] Docker + github actions:
[ ]
https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-docker-container-action
[ ] Otro de testdriven.io:
https://testdriven.io/blog/deploying-django-to-digitalocean-with-docker-and-github-actions/
[ ] Además, de tener mucho cuidado con los secrets dado que van a ser opensource todos los containers
[ ]
https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#storing-secrets
[ ]
https://docs.github.com/en/free-pro-team@latest/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
[ ]
https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions
[ ] NO GUARDAR EL NGINX.CONF EN EL REPO
[ ] Buscar en obeythetestinggoat.com cómo era para poner un WSGI serverver además de nginx (creo que era gunicorn)
Alechan
commented
3 years ago
PR #67 was linked to ISSUE #50 but it also applies here.