saveinmed/backend-old/.env

45 lines
1.4 KiB
Bash

# ============================================
# SaveInMed Backend - Environment Variables
# ============================================
# Application Settings
APP_NAME=saveinmed-performance-core
BACKEND_PORT=8214
# Database Configuration
DATABASE_URL=postgres://postgres:123@localhost:55432/saveinmed?sslmode=disable
ADMIN_NAME=Admin Master
ADMIN_USERNAME=admin
ADMIN_EMAIL=andre.fr93@gmail.com
ADMIN_PASSWORD=teste1234
# JWT Authentication
JWT_SECRET=your-secret-key-here
JWT_EXPIRES_IN=24h
PASSWORD_PEPPER=your-password-pepper
# MercadoPago Payment Gateway
MERCADOPAGO_BASE_URL=https://api.mercadopago.com
MARKETPLACE_COMMISSION=2.5
MERCADOPAGO_ACCESS_TOKEN=TEST-2839092067146708-111908-4f48c081d56415ea6e7188baadef2150-115632377
MERCADOPAGO_PUBLIC_KEY=TEST-9c50d236-b8a9-4042-bdbf-93e4e0286f21
# CORS Configuration
# Comma-separated list of allowed origins, use * for all
# Examples:
# CORS_ORIGINS=*
# CORS_ORIGINS=https://example.com
# CORS_ORIGINS=https://app.saveinmed.com,https://admin.saveinmed.com,http://localhost:3000
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://127.0.0.1:5173,http://localhost:8214
# Swagger Configuration
# Host without scheme (ex: localhost:8214 or api.saveinmed.com)
BACKEND_HOST=localhost:8214
# Comma-separated list of schemes shown in Swagger UI selector
SWAGGER_SCHEMES=http,https
# Testing (Optional)
# SKIP_DB_TEST=1
# API Configuration
BACKEND_HOST=https://api.saveinmed.com.br