Skip to content

Production Deployment Setup #8

Description

@frinzekt

Basic Information

We need something that automatically sets up the production deployment.

Below are my recommendations
These are what we need for backend:

  • nginx setup to serve django admin and API
  • docker compose that includes 3 containers (database, nginx, backend api, watchtower)
  • github actions automatically building and sending the backend container
  • I recommend watchtower to handle the continuous deployment (so when there's a new container, the new container is boot up atuomatically)

Other Information

Refer to previous project https://github.com/codersforcauses/csf/blob/main/docker-compose-prod.yml . CSF has everything.

If I were to change that, it is to specify a specific version for postgres. Not specifying the version means that we risk incompatibility when there's a new postgres image available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions