-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdev-docker-postgres.env
40 lines (30 loc) · 1.09 KB
/
dev-docker-postgres.env
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# dev-docker-postgres env
# env file for local development purposes only
# please do not use this env file in production
# [MANDATORY]
FLASK_ENV=dev-docker
FLASK_DEBUG=1
POSTGRES_USER=shhh
POSTGRES_PASSWORD=dummypassword
POSTGRES_DB=shhh
DB_USER=$POSTGRES_USER
DB_PASSWORD=$POSTGRES_PASSWORD
DB_NAME=$POSTGRES_DB
DB_HOST=db
DB_PORT=5432
DB_ENGINE=postgresql+psycopg2
PGDATA=/data/postgres
# [OPTIONAL]
# This variable can be used to specify a custom hostname to use as the
# domain URL when Shhh creates a secret (ex: https://<domain-name.com>). If not
# set, the hostname defaults to request.url_root, which should be fine in
# most cases.
SHHH_HOST=
# Default max secret length
SHHH_SECRET_MAX_LENGTH=
# Number of tries to reach the database before performing a read or write operation. It
# could happens that the database is not reachable or is asleep (for instance this happens
# often on Heroku free plans). The default retry number is 5.
SHHH_DB_LIVENESS_RETRY_COUNT=
# Sleep interval in seconds between database liveness retries. The default value is 1 second.
SHHH_DB_LIVENESS_SLEEP_INTERVAL=