Skip to content

Commit

Permalink
update gitignore to ignore results and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wip-abramson committed Jun 28, 2021
1 parent 4089946 commit 19a7fd0
Show file tree
Hide file tree
Showing 15 changed files with 6,256 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ build
.ipynb_checkpoints/
__pycache__/

.vscode/
.vscode/
*/logs

*/results
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
96 changes: 96 additions & 0 deletions playground/prover/example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@

# These are dummy values that can be used to get started quickly
# Replace these with real values when deploying to a real environment

# For postgres DB which hosts the wallets
WALLET_DB_HOST=issuer-wallet-db
WALLET_DB_PORT=5432
WALLET_DB_USER=postgres
WALLET_DB_PASS=dbpass
WALLET_DB_ADMIN_USER=postgres
WALLET_DB_ADMIN_PASS=dbpass

# These values are only used locally by docker-compose to set up the DB container - should match values above
POSTGRES_PASSWORD=dbpass
POSTGRES_USER=postgres
POSTGRES_DB=issuer_wallet

# for tails server
# ACAPY_TAILS_SERVER_BASE_URL=http://tails-server:6543

# for aca-py
HTTP_PORT=3020
WEBHOOK_PORT=3010
ADMIN_PORT=3021
ADMIN_URL=http://issuer-agent:3021
ACAPY_OUTBOUND_TRANSPORT=http
ACAPY_ADMIN=[0.0.0.0,3021]

# Only used if run ./manage production
# Typically you will want to update 0.0.0.0 to some public IP
ACAPY_ENDPOINT=http://0.0.0.0:3020

ACAPY_WEBHOOK_URL=http://issuer-business-logic:3010
ACAPY_ADMIN_API_KEY=adminApiKey

# DO NOT USE IN INSECURE MODE
# ACAPY_ADMIN_INSECURE_MODE=true

ACAPY_LABEL=Issuer
ACAPY_WALLET_NAME=Alice_Name
ACAPY_WALLET_KEY=issuer_key
ACAPY_WALLET_TYPE=indy
ACAPY_WALLET_STORAGE_TYPE=postgres_storage
ACAPY_WALLET_SEED=0000000000000000000000IssuerAny1
ACAPY_WALLET_STORAGE_CONFIG={"url":"issuer-wallet-db:5432","wallet_scheme":"MultiWalletSingleTable"}
ACAPY_WALLET_STORAGE_CREDS={"account":"postgres","password":"dbpass","admin_account":"postgres","admin_password":"dbpass"}
ACAPY_AUTO_PROVISION=true


## Local Network
ACAPY_GENESIS_FILE=/home/indy/von-local-genesis-txns

# Sovrin StagingNet
# ACAPY_GENESIS_URL=https://raw.githubusercontent.com/sovrin-foundation/sovrin/master/sovrin/pool_transactions_sandbox_genesis


# Multi-tenant Configuration
# ACAPY_MULTITENANT=true
# ACAPY_MULTITENANT_ADMIN=true
# ACAPY_MULTITENANT_JWT_SECRET=jwtSecret


# Name of ngrok container if exposing agent endpoint over ngrok
NGROK_NAME= ngrok-issuer



# Optional Helper Configurations - See https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/config/argparse.py
ACAPY_AUTO_ACCEPT_INVITES=true
ACAPY_AUTO_ACCEPT_REQUESTS=true
ACAPY_AUTO_PING_CONNECTION=true
ACAPY_AUTO_RESPOND_MESSAGES=true
ACAPY_AUTO_RESPOND_CREDENTIAL_PROPOSAL=true
ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER=true
ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST=true
ACAPY_AUTO_RESPOND_PRESENTATION_PROPOSAL=true
ACAPY_AUTO_RESPOND_PRESENTATION_REQUEST=true
ACAPY_AUTO_STORE_CREDENTIAL=true
ACAPY_AUTO_VERIFY_PRESENTATION=true
ACAPY_PRESERVE_EXCHANGE_RECORDS=true


# Optional Trace Arguments
ACAPY_TRACE=true
ACAPY_TRACE_TARGET=log
ACAPY_TRACE_LABEL=Issuer

# Timing arguments
ACAPY_TIMING=true
ACAPY_TIMING_LOG=/home/indy/logs/timing.txt

# Debug Arguments
ACAPY_DEBUG=true

ACAPY_LOG_LEVEL=debug
ACAPY_LOG_FILE=/home/indy/logs/agent_logs.txt
92 changes: 92 additions & 0 deletions playground/verifier/example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@

# These are dummy values that can be used to get started quickly
# Replace these with real values when deploying to a real environment

# For postgres DB which hosts the wallets
WALLET_DB_HOST=prover-wallet-db
WALLET_DB_PORT=5432
WALLET_DB_USER=postgres
WALLET_DB_PASS=dbpass
WALLET_DB_ADMIN_USER=postgres
WALLET_DB_ADMIN_PASS=dbpass

# These values are only used locally by docker-compose to set up the DB container - should match values above
POSTGRES_PASSWORD=dbpass
POSTGRES_USER=postgres
POSTGRES_DB=prover_wallet

# for tails server
# ACAPY_TAILS_SERVER_BASE_URL=http://tails-server:6543

# for aca-py
HTTP_PORT=3020
WEBHOOK_PORT=3010
ADMIN_PORT=3021
ADMIN_URL=http://prover-agent:3021
ACAPY_OUTBOUND_TRANSPORT=http
ACAPY_ADMIN=[0.0.0.0,3021]

# Only used if run ./manage production
# Typically you will want to update 0.0.0.0 to some public IP
ACAPY_ENDPOINT=http://prover-agent:3020

ACAPY_WEBHOOK_URL=http://prover-business-logic:3010
ACAPY_ADMIN_API_KEY=adminApiKey

# DO NOT USE IN INSECURE MODE
# ACAPY_ADMIN_INSECURE_MODE=true

ACAPY_LABEL=Prover
ACAPY_WALLET_NAME=Alice_Name
ACAPY_WALLET_KEY=prover_key
ACAPY_WALLET_TYPE=indy
ACAPY_AUTO_PROVISION=true


## Local Network
ACAPY_GENESIS_FILE=/home/indy/von-local-genesis-txns

# Sovrin StagingNet
# ACAPY_GENESIS_URL=https://raw.githubusercontent.com/sovrin-foundation/sovrin/master/sovrin/pool_transactions_sandbox_genesis


# Multi-tenant Configuration
# ACAPY_MULTITENANT=true
# ACAPY_MULTITENANT_ADMIN=true
# ACAPY_MULTITENANT_JWT_SECRET=jwtSecret


# Name of ngrok container if exposing agent endpoint over ngrok
NGROK_NAME= ngrok-prover



# Optional Helper Configurations - See https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/config/argparse.py
ACAPY_AUTO_ACCEPT_INVITES=true
ACAPY_AUTO_ACCEPT_REQUESTS=true
ACAPY_AUTO_PING_CONNECTION=true
ACAPY_AUTO_RESPOND_MESSAGES=true
ACAPY_AUTO_RESPOND_CREDENTIAL_PROPOSAL=true
ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER=true
ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST=true
ACAPY_AUTO_RESPOND_PRESENTATION_PROPOSAL=true
ACAPY_AUTO_RESPOND_PRESENTATION_REQUEST=true
ACAPY_AUTO_STORE_CREDENTIAL=true
ACAPY_AUTO_VERIFY_PRESENTATION=true
ACAPY_PRESERVE_EXCHANGE_RECORDS=true


# Optional Trace Arguments
#ACAPY_TRACE=true
#ACAPY_TRACE_TARGET=log
#ACAPY_TRACE_LABEL=Prover

# Timing arguments
ACAPY_TIMING=true
ACAPY_TIMING_LOG=/home/indy/logs/timing.txt

# Debug Arguments
ACAPY_DEBUG=true

ACAPY_LOG_LEVEL=debug
ACAPY_LOG_FILE=/home/indy/logs/agent_logs.txt
Loading

0 comments on commit 19a7fd0

Please sign in to comment.