Skip to content

Commit

Permalink
Read cache password from the config
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed May 1, 2024
1 parent 2f1abe5 commit 9cde008
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extras/docker/development/settings.py
Expand Up @@ -115,6 +115,9 @@
}
}

if os.environ.get('DJANGO_CACHE_CLIENT_PASSWORD'):
CACHES['default']['OPTIONS']['PASSWORD'] = env.str('DJANGO_CACHE_CLIENT_PASSWORD')

# Folder for compressed CSS and JS files
COMPRESS_ROOT = STATIC_ROOT

Expand Down

0 comments on commit 9cde008

Please sign in to comment.