push weather

This commit is contained in:
Jake Kasper
2025-09-02 08:18:55 -05:00
parent 34baedfc46
commit fc3f2ac368
4 changed files with 168 additions and 6 deletions

37
.env Normal file
View File

@@ -0,0 +1,37 @@
# TurfTracker Environment Configuration
# Copy this file to .env and fill in your values
# Database Configuration
# You can use either individual fields OR a full DATABASE_URL (DATABASE_URL takes precedence)
DB_HOST=db
DB_PORT=5432
DB_NAME=turftracker
DB_USER=turftracker
DB_PASSWORD=password123
# DATABASE_URL=postgresql://turftracker:password123@db:5432/turftracker
# JWT Secret - REQUIRED: Used for signing authentication tokens
# Generate a secure random string (see README for generation commands)
# NEVER use the default value in production!
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Authentik OAuth2 Configuration (Optional)
# Configure these to enable SSO login through your Authentik instance
AUTHENTIK_CLIENT_ID=your-authentik-client-id
AUTHENTIK_CLIENT_SECRET=your-authentik-client-secret
AUTHENTIK_BASE_URL=https://your-authentik-domain.com
AUTHENTIK_CALLBACK_URL=https://turftracker.kaspers.us/api/auth/authentik/callback
# Weather API Configuration
# Get a free API key from https://openweathermap.org/api
WEATHER_API_KEY=5bae1b310158565c65f982d4074e803b
# Application URLs (automatically configured for production)
FRONTEND_URL=https://turftracker.kaspers.us
# Node Environment
NODE_ENV=development
# Port Configuration (optional - defaults are set)
PORT=5000
FRONTEND_PORT=3000