-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.template
More file actions
26 lines (23 loc) · 1.09 KB
/
.env.template
File metadata and controls
26 lines (23 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
############################
# PostgreSQL configuration #
############################
POSTGRES_USER=""
POSTGRES_PASSWORD=""
POSTGRES_HOST="" # If using Docker, should be set to the name of the postgres container
POSTGRES_DB="hyperion"
POSTGRES_TZ="Etc/UTC"
# The database can be accessed through the command line with:
# psql -U $POSTGRES_USER -d $POSTGRES_DB
########################
# Redis configuration #
########################
# Redis configuration is needed to use the rate limiter
# We use the default redis configuration, so the protected mode is enabled by default (see https://redis.io/docs/manual/security/#protected-mode)
# If you want to use a custom configuration, a password and a specific binds should be used to avoid security issues
# REDIS_HOST may be commented to disable Redis during development if you don't have a redis server running, in production it should be set to the name of the redis container
#REDIS_HOST="localhost"
REDIS_PORT=6379
# Should be commented during development to work with docker-compose-dev, and set in production
#REDIS_PASSWORD=""
REDIS_LIMIT=1000
REDIS_WINDOW=60