From 7769c4b70a3b086438fc7ecb68b731c66e8034c9 Mon Sep 17 00:00:00 2001 From: Illya Gerasymchuk Date: Mon, 9 Dec 2024 00:14:48 +0000 Subject: [PATCH] chore: add env.example --- .env.example | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..2da99c6 --- /dev/null +++ b/.env.example @@ -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