- Copy the
secrets/env.template
file tosecrets/.env.dev
and fill it - Run the containers:
docker compose up --build
- Visit http://localhost:8000
- Copy the
secrets/env.template
file tosecrets/.env.dep
and fill it - Run the containers:
docker compose -f docker-compose.dep.yml up --build
- Visit http://localhost
-
Copy the
secrets/env.template
file tosecrets/.env.deps
and fill it -
Install mkcert
-
Create a local certificate authority
mkcert -install
-
Create a trusted certificate on
/ngnix/certficates
cd nginx/certificates
mkcert localhost
-
Run the containers:
docker compose -f docker-compose.deps.yml up --build
-
Visit https://localhost
Development | Deployment | |
---|---|---|
Web app | django | django |
WSGI | django bulit-in | gunicorn |
Database | postgreSQL | postgreSQL |
Web Server | - | nginx |