forked from dedis/d-voting
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #93 from c4dt/cleanup
docs: cleaned up README, removed obsolete files and updated .env.example
- Loading branch information
Showing
3 changed files
with
48 additions
and
134 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 |
---|---|---|
@@ -1,18 +1,21 @@ | ||
# 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 | ||
BACKEND_HOST=backend # name of the 'backend' container | ||
BACKEND_PORT=5000 # port of the 'backend' container | ||
COMPOSE_FILE=./docker-compose/docker-compose.yml # Docker Compose configuration file to use | ||
DATABASE_HOST=db # name of the PostgreSQL container | ||
DATABASE_PASSWORD=Ohw0phoa # choose any PostgreSQL password | ||
DATABASE_PORT=5432 # port of the PostgreSQL container | ||
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 | ||
DB_PATH=dvoting # LMDB database path | ||
DELA_PROXY_URL=http://172.19.44.254:8080 # IP and port of one of the DELA containers | ||
FRONT_END_URL=http://127.0.0.1:3000 # the automated frontend tests expect this value do not change it | ||
NODEPORT=2000 # DELA node port | ||
# For public-facing services and production, this key needs to be changed! | ||
PRIVATE_KEY=6aadf480d068ac896330b726802abd0da2a5f3824f791fe8dbd4cd555e80b809 | ||
PROXYPORT=8080 # DELA proxy port | ||
PUBLIC_KEY=3e5fcaed4c5d79a8eccceeb087ee0a13b8f91d917ed62017a9cd28e13b228389 | ||
PROXYPORT=8080 | ||
NODEPORT=2000 # DELA node port | ||
|
||
REACT_APP_DEV_LOGIN=true # debugging admin login /!\ disable in production /!\ | ||
REACT_APP_RANDOMIZE_VOTE_ID=true # randomize voter ID for debugging /!\ disable in production /!\ | ||
REACT_APP_SCIPER_ADMIN=123456 # debugging admin ID /!\ disable in production /!\ | ||
SESSION_SECRET=kaibaaF9 # choose any secret |
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 was deleted.
Oops, something went wrong.