-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(config): add sample local env files to ease initial setup
refs #513
- Loading branch information
1 parent
df2af1b
commit 52b6cc6
Showing
4 changed files
with
101 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,30 @@ | ||
NETWORK=sandbox | ||
DB_HOST_WITH_DEFAULT=${DB_HOST:-localhost} | ||
AKASH_DATABASE_CS=postgres://postgres:password@${DB_HOST_WITH_DEFAULT}:5432/console-akash-sandbox | ||
AKASH_SANDBOX_DATABASE_CS=postgres://postgres:password@${DB_HOST_WITH_DEFAULT}:5432/console-akash-sandbox | ||
USER_DATABASE_CS=postgres://postgres:password@${DB_HOST_WITH_DEFAULT}:5432/console-users | ||
POSTGRES_DB_URI=postgres://postgres:password@${DB_HOST_WITH_DEFAULT}:5432/console-users | ||
ANONYMOUS_USER_TOKEN_SECRET=ANONYMOUS_USER_TOKEN_SECRET | ||
MASTER_WALLET_MNEMONIC=MASTER_WALLET_MNEMONIC | ||
UAKT_TOP_UP_MASTER_WALLET_MNEMONIC=UAKT_TOP_UP_MASTER_WALLET_MNEMONIC | ||
USDC_TOP_UP_MASTER_WALLET_MNEMONIC=USDC_TOP_UP_MASTER_WALLET_MNEMONIC | ||
|
||
AKASHLYTICS_CORS_WEBSITE_URLS="http://localhost:3000,http://localhost:3001" | ||
GITHUB_PAT=GITHUB_PAT | ||
|
||
SERVER_ORIGIN=https://api-sandbox.cloudmos.io | ||
AUTH0_AUDIENCE=https://api.cloudmos.io | ||
AUTH0_ISSUER=AUTH0_ISSUER | ||
AUTH0_JWKS_URI=AUTH0_ISSUER | ||
|
||
BILLING_ENABLED=true | ||
DEPLOYMENT_GRANT_DENOM=uakt | ||
STRIPE_SECRET_KEY=STRIPE_SECRET_KEY | ||
STRIPE_PRODUCT_ID=STRIPE_PRODUCT_ID | ||
STRIPE_FIXED_PRICE_ID=STRIPE_FIXED_PRICE_ID | ||
STRIPE_WEBHOOK_SECRET=STRIPE_WEBHOOK_SECRET | ||
STRIPE_CHECKOUT_REDIRECT_URL=http://localhost:3000 | ||
|
||
SENTRY_ENABLED=true | ||
SENTRY_DSN=SENTRY_DSN | ||
DEPLOYMENT_ENV=local |
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 @@ | ||
DEPLOYMENT_ENV=staging | ||
|
||
# Provided Auth0 secrets are dummy values which should bypass the schema validation, however wouldn't allow to develop auth related features. | ||
# To get the actual values, an Auth0 account is required. | ||
AUTH0_SECRET=AUTH0_SECRET | ||
AUTH0_BASE_URL=http://localhost:3000 | ||
AUTH0_ISSUER_BASE_URL=AUTH0_ISSUER_BASE_URL | ||
AUTH0_CLIENT_ID=AUTH0_CLIENT_ID | ||
AUTH0_CLIENT_SECRET=AUTH0_CLIENT_SECRET | ||
AUTH0_AUDIENCE=AUTH0_AUDIENCE | ||
AUTH0_SCOPE=openid profile email offline_access | ||
|
||
NEXT_PUBLIC_BILLING_ENABLED=true | ||
NEXT_PUBLIC_MANAGED_WALLET_NETWORK_ID=sandbox | ||
NEXT_PUBLIC_MANAGED_WALLET_DENOM=uakt | ||
|
||
# Create 3 wallets and put their addresses to below. | ||
NEXT_PUBLIC_MASTER_WALLET_ADDRESS=NEXT_PUBLIC_MASTER_WALLET_ADDRESS | ||
NEXT_PUBLIC_UAKT_TOP_UP_MASTER_WALLET_ADDRESS=NEXT_PUBLIC_UAKT_TOP_UP_MASTER_WALLET_ADDRESS | ||
NEXT_PUBLIC_USDC_TOP_UP_MASTER_WALLET_ADDRESS=NEXT_PUBLIC_USDC_TOP_UP_MASTER_WALLET_ADDRESS | ||
|
||
NEXT_PUBLIC_API_BASE_URL=http://localhost:3080 | ||
NEXT_PUBLIC_STATS_APP_URL=http://localhost:3001 | ||
NEXT_PUBLIC_PROVIDER_PROXY_URL=http://localhost:3040 | ||
NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=ws://localhost:3040 | ||
NEXT_PUBLIC_NODE_ENV=$NODE_ENV | ||
NEXT_PUBLIC_BASE_API_MAINNET_URL=$NEXT_PUBLIC_API_BASE_URL | ||
NEXT_PUBLIC_BASE_API_TESTNET_URL=$NEXT_PUBLIC_API_BASE_URL | ||
NEXT_PUBLIC_BASE_API_SANDBOX_URL=$NEXT_PUBLIC_API_BASE_URL | ||
NEXT_PUBLIC_DEFAULT_NETWORK_ID=mainnet | ||
|
||
API_HOST_WITH_DEFAULT=${API_HOST:-localhost} | ||
|
||
BASE_API_MAINNET_URL=http://${API_HOST_WITH_DEFAULT}:3080 | ||
BASE_API_TESTNET_URL=http://${BASE_API_MAINNET_URL}:3080 | ||
BASE_API_SANDBOX_URL=http://${BASE_API_MAINNET_URL}:3080 | ||
|
||
GITHUB_CLIENT_SECRET=GITHUB_CLIENT_SECRET | ||
BITBUCKET_CLIENT_SECRET=BITBUCKET_CLIENT_SECRET | ||
GITLAB_CLIENT_SECRET=GITLAB_CLIENT_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
DEPLOYMENT_ENV=staging | ||
|
||
NEXT_PUBLIC_API_BASE_URL=http://localhost:3080 | ||
NEXT_PUBLIC_NODE_ENV=$NODE_ENV | ||
NEXT_PUBLIC_BASE_API_MAINNET_URL=$NEXT_PUBLIC_API_BASE_URL | ||
NEXT_PUBLIC_BASE_API_TESTNET_URL=$NEXT_PUBLIC_API_BASE_URL | ||
NEXT_PUBLIC_BASE_API_SANDBOX_URL=$NEXT_PUBLIC_API_BASE_URL | ||
NEXT_PUBLIC_DEFAULT_NETWORK_ID=mainnet | ||
|
||
API_HOST_WITH_DEFAULT=${API_HOST:-localhost} | ||
|
||
BASE_API_MAINNET_URL=http://${API_HOST_WITH_DEFAULT}:3080 | ||
BASE_API_TESTNET_URL=http://${BASE_API_MAINNET_URL}:3080 | ||
BASE_API_SANDBOX_URL=http://${BASE_API_MAINNET_URL}:3080 | ||
LOG_LEVEL=debug | ||
|
||
NEXT_PUBLIC_LOG_LEVEL=debug |
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