Skip to content

Commit

Permalink
chore: add env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
iluxonchik committed Dec 9, 2024
1 parent 20a55c9 commit 7769c4b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# JWT Configuration - RS512 Key Pair
JWT_PRIVATE_KEY_RS512="-----BEGIN PRIVATE KEY-----
...your private key here...
-----END PRIVATE KEY-----"

JWT_PUBLIC_KEY_RS512="-----BEGIN PUBLIC KEY-----
...your public key here...
-----END PUBLIC KEY-----"
# Discord Bot Configuration
DISCORD_TOKEN="your-bot-token" # Bot token from Discord Developer Portal
CLIENT_ID="your-client-id" # Application ID from Developer Portal
GUILD_ID="your-guild-id" # Server ID where bot will operate
PUBLIC_KEY="your-public-key" # Application public key from Developer Portal

# Application URL
NEXT_APP_URL="http://localhost:3000" # Used for Discord embed links

# PGAdmin Configuration
PGADMIN_EMAIL=admin@example.com
PGADMIN_PASSWORD=pgadmin_password

# Database Configuration
POSTGRES_DB=govbot
POSTGRES_PASSWORD=your_secure_password_here
DATABASE_URL="postgresql://postgres:your_secure_password_here@db:5432/govbot?schema=public"

# Environment
NODE_ENV=development

# Logging
APP_LOG_LEVEL=DEBUG

# OCV API Configuration
NEXT_PUBLIC_OCV_API_BASE_URL=http://on-chain-voting-server:8080

0 comments on commit 7769c4b

Please sign in to comment.