security: move sensitive data to environment variables

This commit is contained in:
Erik
2026-03-07 18:36:27 -03:00
parent 3abbad251b
commit 5b08922f08
3 changed files with 28 additions and 14 deletions

18
env.migration.txt Normal file
View File

@@ -0,0 +1,18 @@
# Database Configuration (Novo Servidor Unificado)
# Use o schema=occto para manter o isolamento
DATABASE_URL=postgresql://bd-user:O1vLMhy9yZ7ZdSsX9ZqK@banco-de-dados-postgress-slcggn:5432/bd-geral?schema=occto
# MinIO / S3 Configuration
# Mantenha os valores originais ou atualize para o novo S3 unificado
MINIO_ENDPOINT=minio
MINIO_PORT=9000
MINIO_USE_SSL=false
MINIO_ACCESS_KEY=admin
MINIO_SECRET_KEY=adminpassword
MINIO_BUCKET_NAME=occto-images
# Application
NODE_ENV=production
DOMAIN=seu-dominio.com.br
JWT_SECRET=b33500bb3dc5504535c34cc5f79f4ca0f60994b093bded14d48f76c0c090f032234693219e60398cab053a9c55c1d426ef7b1768104db9040254ba7db452f708
LIBRETRANSLATE_URL=https://libretranslate.stackbyte.cloud