view-and-review
Run Locally
Development
- Copy the
secrets/env.templatefile tosecrets/.env.devand fill it - Run the containers:
docker compose up --build - Visit http://localhost:8000
Deployment
- Copy the
secrets/env.templatefile tosecrets/.env.depand fill it - Run the containers:
docker compose -f docker-compose.dep.yml up --build - Visit http://localhost
Deployment over HTTPS
-
Copy the
secrets/env.templatefile tosecrets/.env.depsand fill it -
Install mkcert
-
Create a local certificate authority
mkcert -install -
Create a trusted certificate on
/ngnix/certficatescd nginx/certificatesmkcert localhost -
Run the containers:
docker compose -f docker-compose.deps.yml up --build -
Visit https://localhost
Services
| Development | Deployment | |
|---|---|---|
| Web app | django | django |
| WSGI | django bulit-in | gunicorn |
| Database | postgreSQL | postgreSQL |
| Web Server | - | nginx |