Skip to content
Open
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
25 changes: 14 additions & 11 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
NODE_ENV="development"
TZ="UTC"

DATABASE_URL="postgresql://localhost/postgres?schema=public&connection_limit=50"
DATABASE_URL="postgresql://postgres:postgres@localhost:8099/postgres?schema=public&connection_limit=50"

IP_INFO_TOKEN="" # used for https://ipinfo.io endpoints

GLIF_API_BASE_URL="https://api.node.glif.io/rpc"
FILSCAN_API_BASE_URL="https://api-v2.filscan.io/api"

PROMETHEUS_AUTH_TOKEN=""
PROMETHEUS_METRICS_ENV="staging"
PROMETHEUS_METRICS_ENV=""

# PO REP
PO_REP_CHAIN_ID=314 # Chain ID on which Po-Rep contracts live
PO_REP_ARCHIVE_RPC_URL="https://filecoin.chain.love/fvm-archive/rpc/v1" # URL of archive node RPC
PO_REP_ARCHIVE_RPC_AUTH_TOKEN= # (Optional) Bearer token that will be included in headers of requests made to archive node
PO_REP_RECENT_RPC_URL= # (Optional) URL of recent node RPC, if not provided default URL configured in viem will be used
PO_REP_RECENT_RPC_AUTH_TOKEN= # (Optional) Bearer token that will be included in headers of requests made to recent node
SP_REGISTRY_CONTRACT_ADDRESS="" # Address of SPRegistry contract
PO_REP_MARKET_CONTRACT_ADDRESS="" # Address of PoRepMarket contract
FILECOIN_PAY_CONTRACT_ADDRESS="" # Address of FilecoinPayV1 contract
PO_REP_CHAIN_ID=314 # Chain ID on which Po-Rep contracts live

PO_REP_ARCHIVE_RPC_URL="https://filecoin.chain.love/fvm-archive/rpc/v1" # URL of archive node RPC
PO_REP_ARCHIVE_RPC_AUTH_TOKEN="" # (Optional) Bearer token that will be included in headers of requests made to archive node

PO_REP_RECENT_RPC_URL="" # (Optional) URL of recent node RPC, if not provided default URL configured in viem will be used
PO_REP_RECENT_RPC_AUTH_TOKEN="" # (Optional) Bearer token that will be included in headers of requests made to recent node

SP_REGISTRY_CONTRACT_ADDRESS="" # Address of SPRegistry contract
PO_REP_MARKET_CONTRACT_ADDRESS="" # Address of PoRepMarket contract
FILECOIN_PAY_CONTRACT_ADDRESS="" # Address of FilecoinPayV1 contract
9 changes: 0 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ services:
timeout: 5s
retries: 2

autoheal:
restart: always
image: willfarrell/autoheal
environment:
- AUTOHEAL_START_PERIOD=30
- AUTOHEAL_INTERVAL=30
volumes:
- /var/run/docker.sock:/var/run/docker.sock

volumes:
postgres18_data:
driver: local
Loading
Loading