-
Notifications
You must be signed in to change notification settings - Fork 0
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 #3 from lacchain/feat/pubic-keys-update
Feat/pubic keys update. Addresses #1
- Loading branch information
Showing
79 changed files
with
7,118 additions
and
129 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
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 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,40 @@ | ||
#PORT | ||
|
||
export PORT=3025 # use port 80 when running with docker | ||
export EXPOSED_CONTAINER_SERVER_PORT=3025 | ||
|
||
#TYPEORM | ||
|
||
export TYPEORM_TYPE=postgres | ||
export TYPEORM_HOST=localhost | ||
export TYPEORM_USERNAME=postgres | ||
export TYPEORM_PASSWORD=postgres | ||
export TYPEORM_DATABASE=lacpass_trusted_list_development | ||
export TYPEORM_PORT=5432 | ||
export TYPEORM_SYNCHRONIZE=false | ||
export TYPEORM_LOGGING=true | ||
export TYPEORM_MIGRATIONS_RUN=true | ||
export EXPOSED_CONTAINER_TYPEORM_PORT=5455 | ||
|
||
#REDIS | ||
|
||
export REDIS_HOST=redis | ||
export REDIS_PORT=6379 | ||
export REDIS_PASSWORD=redis | ||
export EXPOSED_CONTAINER_REDIS_PORT=6405 | ||
|
||
#TOKEN | ||
|
||
export JWT_SECRET=some-secret-string | ||
export ACCESS_TOKEN_LIFE=360000000 | ||
|
||
#RATE LIMIT | ||
|
||
export RATE_LIMIT_WINDOW=5 | ||
export RATE_LIMIT_MAX_REQUESTS=100 | ||
|
||
# custom variables | ||
export TRUSTED_REGISTRIES="1,0x609e1d1364d607b027e577e10ad97c571b9518c1,648540,0x86Faa7372AB68852c89fee37cCAc4b4c11a8471D,0x9e55c" # format: "INDEX_1,PD1,PD1_CID,COT1,COT1_CID--2,INDEX_2,PD2,PD2_CID-COT2,COT2_CID" | ||
export TRUSTED_REGISTRIES_INDEX_PUBLIC_KEYS_TO_EXPOSE="1" | ||
export DATABASE_URL="postgres://${TYPEORM_USERNAME}:${TYPEORM_PASSWORD}@${TYPEORM_HOST}:${EXPOSED_CONTAINER_TYPEORM_PORT}/${TYPEORM_DATABASE}" #default connection | ||
export RPC_CONNECTION_648540="http://35.185.112.219" |
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,6 +1,7 @@ | ||
not-commitable/ | ||
|
||
### dotenv ### | ||
.env.dev.sh | ||
.env.dev | ||
.env.test | ||
.env.prod | ||
|
Oops, something went wrong.