chore: mover docs, scripts e arquivos obsoletos para dental-server/bkp/
continuous-integration/webhook Deploy concluido (rx.scoreodonto.com)
continuous-integration/webhook Deploy concluido (rx.scoreodonto.com)
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
# ================================================================
|
||||
# DENTAL IMAGE SERVER - CONFIGURAÇÕES (.env)
|
||||
# ================================================================
|
||||
# CONFIGURADO PARA: https://chat.consulttclinic.com
|
||||
# Banco de dados: dental_images
|
||||
# ================================================================
|
||||
|
||||
# Porta do servidor (padrão 3000, ajustar se necessário)
|
||||
PORT=3000
|
||||
|
||||
# Ambiente
|
||||
NODE_ENV=production
|
||||
|
||||
# Chaves JWT de segurança (já geradas, manter)
|
||||
JWT_SECRET=9f8e7d6c5b4a39281802384f5e6d7c8b9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5
|
||||
SESSION_SECRET=a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0
|
||||
|
||||
# ================================================================
|
||||
# BANCO DE DADOS MySQL
|
||||
# ================================================================
|
||||
# Configure sua senha MySQL abaixo
|
||||
# ================================================================
|
||||
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_USER=root
|
||||
DB_PASSWORD=SUA_SENHA_AQUI
|
||||
DB_NAME=dental_images
|
||||
|
||||
# ================================================================
|
||||
# DIRETÓRIOS DE UPLOAD
|
||||
# ================================================================
|
||||
|
||||
UPLOAD_DIR=/www/wwwroot/dental-server/uploads
|
||||
PROCESSED_DIR=/www/wwwroot/dental-server/processed
|
||||
|
||||
# ================================================================
|
||||
# DOMÍNIO E SSL
|
||||
# ================================================================
|
||||
|
||||
ALLOWED_ORIGINS=https://chat.consulttclinic.com
|
||||
TRUST_PROXY=true
|
||||
|
||||
# ================================================================
|
||||
# CONFIGURAÇÕES ADICIONAIS
|
||||
# ================================================================
|
||||
|
||||
# Timeout para operações assíncronas (ms)
|
||||
SERVER_TIMEOUT=30000
|
||||
|
||||
# Tamanho máximo de upload (bytes) - 50MB
|
||||
MAX_UPLOAD_SIZE=52428800
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info
|
||||
|
||||
# CORS
|
||||
CORS_CREDENTIALS=true
|
||||
|
||||
# ================================================================
|
||||
# NOTAS IMPORTANTES
|
||||
# ================================================================
|
||||
# 1. AJUSTE APENAS: DB_PASSWORD (sua senha do MySQL)
|
||||
# 2. Mantenha as chaves JWT como estão (já geradas)
|
||||
# 3. O servidor cria o banco automaticamente se não existir
|
||||
# 4. Certifique-se de que MySQL está rodando
|
||||
# ================================================================
|
||||
Reference in New Issue
Block a user