Skip to content

Commit

Permalink
Add comment to .env files
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Nov 1, 2019
1 parent 4c69546 commit 277b8c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.demo
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ LTC_BASEPATH=/client
LTC_LAYMAN_USER_PROFILE_URL=http://layman:8000/rest/current-user
LTC_LAYMAN_REST_URL=http://layman:8000
LTC_REDIS_URI=redis://redis:6379/1
# python -c 'import os; import binascii; print(binascii.hexlify(os.urandom(32)))'
LTC_SESSION_SECRET=8caa4135d085c1c212bf8991a218cd3fb7766a2b03bc8639fd961144dbf3624f7edccba13a2d00cc
# 60 * 60 * 24 * 7 = 7 days
LTC_SESSION_MAX_AGE=604800
Expand All @@ -69,4 +70,5 @@ FLASK_APP=src/layman
FLASK_ENV=development

# Flask secret_key, see http://flask.pocoo.org/docs/1.0/quickstart/#sessions
# python -c 'import os; import binascii; print(binascii.hexlify(os.urandom(32)))'
FLASK_SECRET_KEY=@E\xab\xf5\xddR\xa7\xfbO\xc7\xe3\x9d\x1e\xb4\x06\xe6\x18\x9eP\x18V(\tQ
2 changes: 2 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ LTC_BASEPATH=/client
LTC_LAYMAN_USER_PROFILE_URL=http://layman_dev:8000/rest/current-user
LTC_LAYMAN_REST_URL=http://layman_dev:8000
LTC_REDIS_URI=redis://redis:6379/1
# python -c 'import os; import binascii; print(binascii.hexlify(os.urandom(32)))'
LTC_SESSION_SECRET=8caa4135d085c1c212bf8991a218cd3fb7766a2b03bc8639fd961144dbf3624f7edccba13a2d00cc
# 60 * 60 * 24 * 7 = 7 days
LTC_SESSION_MAX_AGE=604800
Expand All @@ -82,4 +83,5 @@ FLASK_APP=src/layman
FLASK_ENV=development

# Flask secret_key, see http://flask.pocoo.org/docs/1.0/quickstart/#sessions
# python -c 'import os; import binascii; print(binascii.hexlify(os.urandom(32)))'
FLASK_SECRET_KEY=@E\xab\xf5\xddR\xa7\xfbO\xc7\xe3\x9d\x1e\xb4\x06\xe6\x18\x9eP\x18V(\tQ
2 changes: 2 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ LTC_BASEPATH=/client
LTC_LAYMAN_USER_PROFILE_URL=http://layman_test_run_1:8000/rest/current-user
LTC_LAYMAN_REST_URL=http://layman_test_run_1:8000
LTC_REDIS_URI=redis://redis:6379/13
# python -c 'import os; import binascii; print(binascii.hexlify(os.urandom(32)))'
LTC_SESSION_SECRET=8caa4135d085c1c212bf8991a218cd3fb7766a2b03bc8639fd961144dbf3624f7edccba13a2d00cc
# 60 * 60 * 24 * 7 = 7 days
LTC_SESSION_MAX_AGE=604800
Expand All @@ -77,6 +78,7 @@ FLASK_APP=src/layman
FLASK_ENV=development

# Flask secret_key, see http://flask.pocoo.org/docs/1.0/quickstart/#sessions
# python -c 'import os; import binascii; print(binascii.hexlify(os.urandom(32)))'
FLASK_SECRET_KEY=@E\xab\xf5\xddR\xa7\xfbO\xc7\xe3\x9d\x1e\xb4\x06\xe6\x18\x9eP\x18V(\tQ


Expand Down

0 comments on commit 277b8c0

Please sign in to comment.