mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 20:50:17 +03:00
Update Heroku deployment docs with Redis TLS configuration
This commit is contained in:
parent
5682ead8a0
commit
8ec2c90ee7
|
@ -14,6 +14,14 @@ Run these commands to deploy the project to Heroku:
|
|||
|
||||
# Note: this is not a free plan
|
||||
heroku addons:create heroku-postgresql:essential-0
|
||||
|
||||
heroku addons:create heroku-redis:mini
|
||||
|
||||
# Enable Redis TLS support (required for new Heroku Redis instances)
|
||||
heroku config:set REDIS_SSL=True
|
||||
heroku config:set CELERY_BROKER_USE_SSL=True
|
||||
heroku config:set CELERY_REDIS_BACKEND_USE_SSL=True
|
||||
|
||||
# On Windows use double quotes for the time zone, e.g.
|
||||
# heroku pg:backups schedule --at "02:00 America/Los_Angeles" DATABASE_URL
|
||||
heroku pg:backups schedule --at '02:00 America/Los_Angeles' DATABASE_URL
|
||||
|
@ -58,6 +66,11 @@ Run these commands to deploy the project to Heroku:
|
|||
Notes
|
||||
-----
|
||||
|
||||
Redis Configuration
|
||||
+++++++++++++++++++
|
||||
|
||||
Heroku Redis now requires TLS connections by default. The script above includes the necessary TLS configuration. These settings are optional and default to False, so they won't affect existing deployments unless explicitly enabled.
|
||||
|
||||
Email Service
|
||||
+++++++++++++
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user