-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
54 lines (48 loc) · 1.83 KB
/
Copy pathenv.example
File metadata and controls
54 lines (48 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# ==============================================
# Retech Auth API — variáveis de ambiente
# ==============================================
# ==============================================
# SERVIDOR
# ==============================================
PORT=8000
ENV=development
# ==============================================
# BANCO DE DADOS
# ==============================================
DB_HOST=localhost
DB_PORT=5430
DB_USER=retech-auth
DB_PASSWORD=retech_auth_dev_password
DB_NAME=retech_auth_db
DB_SSLMODE=disable
# ==============================================
# JWT (AUTENTICAÇÃO)
# ==============================================
# Diretório para chaves RSA (geradas na primeira execução)
# Em produção, use um caminho seguro (ex: /var/lib/retech-auth/keys)
JWT_RSA_KEYS_DIR=./keys
JWT_EXPIRATION_HOURS=24
JWT_REFRESH_EXPIRATION_HOURS=168
# ==============================================
# BOOTSTRAP SECRET (CRIAÇÃO INICIAL / SYNC HMAC)
# ==============================================
# Secret compartilhado para /applications/sync via HMAC (bootstrap).
# Ferramentas e CLIs podem usar retech-auth_BOOTSTRAP_SECRET com o mesmo valor.
BOOTSTRAP_SECRET=your-bootstrap-secret-here
# ==============================================
# CORS
# ==============================================
CORS_ALLOWED_ORIGINS=http://localhost:3030
# ==============================================
# DOCUMENTAÇÃO — Redoc
# ==============================================
DOCS_ENABLED=true
DOCS_SPEC_URL=/public/openapi-v1.yaml
DOCS_TITLE=Retech Auth API
DOCS_DESCRIPTION=Documentação dos serviços de autenticação e autorização Retech.
DOCS_VERSION=v1 (1.0.0)
DOCS_API_BASE_URL=http://localhost:8000/v1
DOCS_VERSION_LINKS=v1:/docs/v1
DOCS_HERO_SUPPORT_EMAIL=suporte@theretech.com.br
DOCS_HERO_SUPPORT_URL=https://theretech.com.br
DOCS_HERO_LICENSE=Proprietary