-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
19 lines (15 loc) · 836 Bytes
/
.env.example
File metadata and controls
19 lines (15 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copia a .env y rellena (no subas .env al repositorio)
# Local dev (PostgreSQL nativo)
DATABASE_URL=jdbc:postgresql://localhost:5432/marketplace_dev?currentSchema=recicar
DATABASE_USERNAME=marketplace_user
DATABASE_PASSWORD=marketplace_pass
JWT_SECRET=cambia_por_un_secreto_largo_y_aleatorio
# Entorno test — PostgreSQL en la misma red que la app (p. ej. contenedor Dokploy test).
# Localmente puede ser otro Postgres en localhost o el hostname interno que Dokploy asigne al servicio BD.
TEST_DATABASE_URL=jdbc:postgresql://localhost:5432/marketplace_test
TEST_DATABASE_USERNAME=recicar_test
TEST_DATABASE_PASSWORD=recicar_test
# Entorno prod — PostgreSQL gestionado (tu proveedor)
PROD_DATABASE_URL=jdbc:postgresql://db.example.com:5432/marketplace_prod?sslmode=require
PROD_DATABASE_USERNAME=app_user
PROD_DATABASE_PASSWORD=