codersforcauses / codersforcauses/django-nextjs-template

Production Deployment Setup

Open
#8 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.