mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Add example env
This commit is contained in:
26
.env.example
26
.env.example
@@ -1,18 +1,38 @@
|
||||
# ==============================================
|
||||
# Biergarten App - Environment Variables Template
|
||||
# ==============================================
|
||||
#
|
||||
# This file contains backend/Docker environment variables.
|
||||
# Copy this to create environment-specific files:
|
||||
# - .env.dev (development)
|
||||
# - .env.test (testing)
|
||||
# - .env.prod (production)
|
||||
#
|
||||
# For frontend variables, create a separate .env.local file
|
||||
# in the Website/ directory. See README.md for complete docs.
|
||||
#
|
||||
# ==============================================
|
||||
|
||||
# ======================
|
||||
# Database Configuration
|
||||
# ======================
|
||||
|
||||
# SQL Server Connection Components
|
||||
# SQL Server Connection Components (Recommended for Docker)
|
||||
# These are used to build connection strings dynamically
|
||||
DB_SERVER=sqlserver,1433
|
||||
DB_NAME=Biergarten
|
||||
DB_USER=sa
|
||||
DB_PASSWORD=YourStrong!Passw0rd
|
||||
|
||||
# Alternative: Full Connection String (Local Development)
|
||||
# If set, this overrides the component-based configuration above
|
||||
# DB_CONNECTION_STRING=Server=localhost,1433;Database=Biergarten;User Id=sa;Password=YourStrong!Passw0rd;TrustServerCertificate=True;
|
||||
|
||||
# ======================
|
||||
# JWT Configuration
|
||||
# ======================
|
||||
|
||||
# JWT Secret for signing tokens (generate using: openssl rand -base64 32)
|
||||
# JWT Secret for signing tokens
|
||||
# IMPORTANT: Generate a secure secret (minimum 32 characters)
|
||||
# Command: openssl rand -base64 32
|
||||
JWT_SECRET=128490218jfklsdajfdsa90f8sd0fid0safasr31jl2k1j4AFSDR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user