Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,16 @@ E2E_HEADLESS=0

# Allow indexing of the site. Set to true to allow indexing.
PUBLIC_ALLOW_INDEXING=false

# ------------------------------------------
# Lit Protocol (for repo ownership verification)
# ------------------------------------------

# Toggle Lit-based owner update globally. false = old Gelato/oracle flow.
PUBLIC_USE_LIT_OWNER_UPDATE=boolean

# Lit network to use. dev, test, or naga. Defaults to dev in dev, naga in prod.
LIT_NETWORK=string

# Private key for Lit authentication & payments.
LIT_ETHEREUM_PRIVATE_KEY=string
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ schema.graphql
!/test-data/.gitkeep

/stats.html

# lit account storage
/src/routes/api/lit/owner-signature/*
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ services:
- PUBLIC_DRIPS_RPGF_URL=http://localhost:5293
- PUBLIC_INTERNAL_DRIPS_RPGF_URL=http://rpgf:5000
- PUBLIC_ORCID_API_URL=https://pub.sandbox.orcid.org
- PUBLIC_USE_LIT_OWNER_UPDATE=true
- LIT_NETWORK=dev
- PUBLIC_WAVE_API_URL=${PUBLIC_WAVE_API_URL-http://localhost:8000}
- PUBLIC_INTERNAL_WAVE_API_URL=${PUBLIC_INTERNAL_WAVE_API_URL-http://wave:8000}
- PUBLIC_WAVE_GITHUB_APP_NAME=${PUBLIC_WAVE_GITHUB_APP_NAME}
Expand All @@ -53,7 +55,7 @@ services:
- 6379:6379

dripfeed:
image: 'j537/dripfeed:${DRIPFEED_TAG-main}-localtestnet'
image: 'j537/dripfeed:${DRIPFEED_TAG-jason-support-lit}-localtestnet'
pull_policy: always
entrypoint: bash -c "npm run db:migrate && npm run start"
environment:
Expand Down Expand Up @@ -88,7 +90,7 @@ services:
condition: service_healthy

graphql-api:
image: 'j537/graphql-api:${GRAPHQL_API_TAG-main}'
image: 'j537/graphql-api:${GRAPHQL_API_TAG-jason-support-lit-orcid}'
pull_policy: always
environment:
- 'RPC_CONFIG={"LOCALTESTNET": { "url": "http://testnet:8545" }}'
Expand Down Expand Up @@ -118,7 +120,7 @@ services:
retries: 5

testnet:
image: 'j537/contracts:${CONTRACTS_TAG-igor-orcid}-${ARCH}'
image: 'j537/contracts:${CONTRACTS_TAG-sha-eaa9dd7}-${ARCH}'
pull_policy: always
ports:
- '8545:8545'
Expand Down
Loading
Loading