Skip to content

Securing a Containerized Django Application with Let's Encrypt

License

Notifications You must be signed in to change notification settings

yahyazini/django-on-docker-letsencrypt

 
 

Repository files navigation

Securing a Containerized Django Application with Let's Encrypt

Want to learn how to build this?

Check out the post.

Want to use this project?

Let's Encrypt Staging

  1. Rename .env.staging-sample to .env.staging, .env.staging.db-sample to .env.staging.db, and .env.staging.proxy-companion-sample to .env.staging.proxy-companion. Update the environment variables.

  2. Build the images and run the containers:

    $ docker-compose -f docker-compose.staging.yml up -d --build

    Test it out.

Let's Encrypt Production

  1. Rename .env.prod-sample to .env.prod, .env.prod.db-sample to .env.prod.db, and .env.prod.proxy-companion-sample to .env.prod.proxy-companion. Update the environment variables.

  2. Build the images and run the containers:

    $ docker-compose -f docker-compose.prod.yml up -d --build

    Test it out.

About

Securing a Containerized Django Application with Let's Encrypt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.7%
  • Dockerfile 9.3%
  • Shell 5.7%
  • HTML 4.3%