Tag: docker

  • Gitea/Forgejo Actions and PostgreSQL Tests

    I am building a recipe app in django and I want to be able to test the app within the CI pipelines when I push to my self-hosted gitea repository. The Problem Github actions already has a postgresql action but this crashes when you run Gitea’s Action runner via docker: initdb: error: cannot be run…

    Read More

  • Serving Django inside Docker the Right Way

    Serving Django inside Docker the Right Way

    I’ve seen a number of tutorials that incorrectly configure django to run inside docker containers by leveraging it’s built in dev server. In this post I explore the benefits of using django with gunicorn and nginx and how to set this up using Docker and docker-compose.

    Read More