Update Heroku deployment docs with Redis TLS configuration

This commit is contained in:
qwerrrqw 2024-11-14 17:38:44 +09:00
parent 5682ead8a0
commit 8ec2c90ee7

View File

@ -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
+++++++++++++