Skip to content

Commit

Permalink
feat: adds .env.local to for local data feed setup (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai authored Nov 8, 2023
1 parent 611d968 commit 76ec681
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/.env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DATABASE_URL=postgresql://${USER}@localhost:5432/orakl?schema=public
APP_PORT=3000
ENCRYPT_PASSWORD=anything
8 changes: 8 additions & 0 deletions cli/.env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ORAKL_NETWORK_API_URL=http://127.0.0.1:3000/api/v1
ORAKL_NETWORK_DELEGATOR_URL=
LISTENER_SERVICE_HOST=http://127.0.0.1
LISTENER_SERVICE_PORT=4000
WORKER_SERVICE_HOST=http://127.0.0.1
WORKER_SERVICE_PORT=5001
REPORTER_SERVICE_HOST=http://127.0.0.1
REPORTER_SERVICE_PORT=6000
19 changes: 19 additions & 0 deletions core/.env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
NODE_ENV=development
CHAIN=localhost
PROVIDER_URL=http://127.0.0.1:8545
ORAKL_NETWORK_API_URL=http://127.0.0.1:3000/api/v1
ORAKL_NETWORK_DELEGATOR_URL=

# Logging
LOG_LEVEL=debug

# Redis
REDIS_HOST=localhost
REDIS_PORT=6379

# Docker-specific
HEALTH_CHECK_PORT=
HOST_SETTINGS_LOG_DIR=

# Optional
SLACK_WEBHOOK_URL=
6 changes: 6 additions & 0 deletions fetcher/.env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
REDIS_HOST=localhost
REDIS_PORT=6379
ORAKL_NETWORK_API_URL=http://127.0.0.1:3000/api/v1
APP_PORT=3001
CHAIN=localhost
FETCHER_TYPE=0

0 comments on commit 76ec681

Please sign in to comment.