Dockerizing Django with Postgres, Gunicorn, and Nginx Want to learn how to build this? Check out the tutorial. Want to use this project? Development Uses the default Django development server. Rename .env.dev-sample to .env.dev. Update the environment variables in the docker-compose.yml and...
On a computer with git installed, navigate to a folder of your choice e.g /desktop, and clone the starter files from its GitHub repository by running: git clone https://github.com/theafolayan/django-docker-starter.git Once that is successful, navigate to the project’s root folder and ope...
#Django SECRET_KEY="my_secret_key" DEBUG=1 ALLOWED_HOSTS=localhost 127.0.0.1 0.0.0.0 [::1] * # database access credentials ENGINE=django.db.backends.postgresql DB_NAME=testdb POSTGRES_USER=testuser POSTGRES_PASSWORD=testpassword DB_HOST=db DB_PORT=5432 APP_PORT=8000 #superuser details DJA...