-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.06 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.06 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
# =============================================================
# docker-compose variables
# Copie este arquivo para .env e preencha os valores.
# =============================================================
# PostgreSQL
POSTGRES_USER=tools4
POSTGRES_PASSWORD=change_me
POSTGRES_DB=tools4tech
# API — Prisma connection strings
# "postgres" é o nome do serviço no docker-compose
DATABASE_URL=postgresql://tools4:change_me@postgres:5432/tools4tech?schema=public
DIRECT_URL=postgresql://tools4:change_me@postgres:5432/tools4tech?schema=public
# JWT Secret — gere com: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
JWT_SECRET=
# GitHub OAuth App
# Callback URL deve ser: https://api.yourdomain.com/auth/callback/github
GITHUB_ID=
GITHUB_SECRET=
GITHUB_TOKEN=
# URLs
API_URL=https://api.yourdomain.com
FRONTEND_URL=https://yourdomain.com
# Web — URL pública da API (embutida no bundle do browser no build)
NEXT_PUBLIC_URL_API=https://api.yourdomain.com
# Web — URL interna da API para requests server-side (usa rede Docker)
URL_API=http://api:3001