Skip to content

Instantly share code, notes, and snippets.

@phra
Created March 23, 2018 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phra/be1d2e7dd0c883a1a96602db9bd63617 to your computer and use it in GitHub Desktop.
Save phra/be1d2e7dd0c883a1a96602db9bd63617 to your computer and use it in GitHub Desktop.
.env for stellar federation docker
# .env
# LETSENCRYPT STAGING ENV
# CHANGE IT TO true FOR DEVELOPMENT
LETSENCRYPT_STAGING=false
# PUBLIC
NGINX_SERVER_NAME=domain.com
NGINX_EMAIL=user@domain.com
BRIDGE_VERSION=0.0.30
FEDERATION_VERSION=0.2.1
COMPLIANCE_VERSION=0.0.30
BRIDGE_PORT=8001
FEDERATION_PORT=8002
COMPLIANCE_EXTERNAL_PORT=8003
COMPLIANCE_INTERNAL_PORT=8004
COMPLIANCE_NODE_PORT=8005
LEDGER_PORT=8006
HORIZON=https://horizon-testnet.stellar.org
PASSPHRASE=Test SDF Network ; September 2015
FEDERATION_URL=https://domain.com/federation/federation
COMPLIANCE_URL=https://domain.com/compliance
RECEIVE_URL=https://domain.com/ledger/receive
ISSUER=<ISSUER_ADDRESS>
RECEIVING_ACCOUNT=<RECEIVING_ACCOUNT_ADDRESS>
SANCTIONS_URL=https://domain.com/sanctions
ASK_USER_URL=https://domain.com/ask_user
FETCH_INFO_URL=https://domain.com/fetch_info
IMAGE_URL=https://domain.com/bloq.png
CURRENCY_CODE=XXX
CONDITIONS=Legal conditions...
DESC=Economic ownership of XXX assets
DECIMALS=0
# SQL FIXTURES
CREATE_ACCOUNTS_TABLE=CREATE TABLE IF NOT EXISTS accounts (id BIGSERIAL PRIMARY KEY, first_name VARCHAR(20) NOT NULL, last_name VARCHAR(20) NOT NULL, friendly_id VARCHAR(20) NOT NULL);
POPULATE_ACCOUNTS_TABLE=INSERT INTO accounts (first_name, last_name, friendly_id) VALUES ('name', 'surname', 'nickname') ON CONFLICT DO NOTHING;
# SECRETS
SECRET=<STRONG_PASSWORD>
BASE_SEED=<BASE_SEED>
SIGNING_SEED=<SIGNING_SEED>
ENCRYPTION_KEY=<ENCRYPTION_KEY>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment