-
Notifications
You must be signed in to change notification settings - Fork 5
/
.env.example
22 lines (16 loc) · 933 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# Local postgreSQL database
DATABASE_URL="postgres://root:root@localhost:5432/mydb?schema=public"
# RPC URL for Polygon
RPC_URL="https://polygon-mainnet.g.alchemy.com/v2/"
# Admin API key for accessing some methos from the API
ADMIN_API_KEY="super_strong_api_key"
# Docker compose
POSTGRES_USER="postgres"
POSTGRES_PASSWORD="password"
POSTGRES_DB="mrcrypto-indexer-db"
# Database from docker compose
# DATABASE_URL="postgres://postgres:password@localhost:5433/mrcrypto-indexer-db?schema=public"