-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for env config of Redis username and password
- Loading branch information
Showing
5 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,8 @@ WORKER_IMMEDIATE_MODE=True | |
# EMAIL_USE_TLS=false | ||
# EMAIL_HOST=maildev | ||
# [email protected] | ||
|
||
## Redis config | ||
# REDIS_HOST=localhost | ||
# REDIS_PORT=6379 | ||
# REDIS_PASSWORD=redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,28 +18,26 @@ DATABASE_USERNAME=postgres | |
DATABASE_PASSWORD=postgres | ||
DATABASE_ENGINE=postgresql | ||
|
||
|
||
############ | ||
# Caching - Configuration for a redis. You can change this to a hosted redis instance. | ||
############ | ||
|
||
REDIS_HOST=redis | ||
REDIS_PORT=6379 | ||
|
||
# REDIS_PASSWORD=redis | ||
|
||
############ | ||
# API - Configuration for the Nginx Reverse proxy. | ||
############ | ||
|
||
KARRIO_HTTP_PORT=5002 | ||
|
||
|
||
############ | ||
# API - Configuration server. | ||
############ | ||
|
||
## General | ||
JWT_ACCESS_EXPIRY=30 # in minutes | ||
JWT_ACCESS_EXPIRY=30 # in minutes | ||
ALLOW_SIGNUP=false | ||
ALLOW_ADMIN_APPROVED_SIGNUP=false | ||
PERSIST_SDK_TRACING=true | ||
|
@@ -51,7 +49,6 @@ EMAIL_HOST=maildev | |
EMAIL_HOST_USER=[email protected] | ||
EMAIL_HOST_PASSWORD="" | ||
|
||
|
||
############ | ||
# Dashboard - Configuration for the Dashboard | ||
############ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters