forked from dedis/d-voting
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from c4dt/autogenerate_env
Autogenerating .env
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This is an example .env file with default passwords and private keys. | ||
# Do not use this in production or with any public-facing ports! | ||
DELA_PROXY_URL=http://172.19.44.254:8080 | ||
DATABASE_USERNAME=dvoting | ||
DATABASE_PASSWORD=Ohw0phoa # choose any PostgreSQL password | ||
DATABASE_HOST=db | ||
DATABASE_PORT=5432 | ||
DB_PATH=dvoting # LMDB database path | ||
FRONT_END_URL=http://127.0.0.1:3000 # the automated frontend tests expect this value do not change it | ||
BACKEND_HOST=backend | ||
BACKEND_PORT=5000 | ||
SESSION_SECRET=kaibaaF9 # choose any secret | ||
# For public-facing services and production, this key needs to be changed! | ||
PRIVATE_KEY=6aadf480d068ac896330b726802abd0da2a5f3824f791fe8dbd4cd555e80b809 | ||
PUBLIC_KEY=3e5fcaed4c5d79a8eccceeb087ee0a13b8f91d917ed62017a9cd28e13b228389 | ||
PROXYPORT=8080 | ||
NODEPORT=2000 # DELA node port | ||
|
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