From 71c4f25a75ce08d04214fd5b5c451f4884144bc7 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Sat, 17 Aug 2024 16:22:45 +0200 Subject: [PATCH] chore: use PostgreSQL for .env files (#280) --- api/.env | 2 +- idp/.env | 2 +- migrations/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/.env b/api/.env index 811ba03a1..9542e556f 100644 --- a/api/.env +++ b/api/.env @@ -5,7 +5,7 @@ PUBLIC_UI_URL="http://127.0.0.1:3000" CONVERSION_URL="http://127.0.0.1:8083" LANGUAGE_URL="http://127.0.0.1:8084" MOSAIC_URL="http://127.0.0.1:8085" -POSTGRES_URL="postgresql://voltaserve@127.0.0.1:26257/voltaserve" +POSTGRES_URL="postgresql://voltaserve@127.0.0.1:5432/voltaserve" # Security SECURITY_JWT_SIGNING_KEY="586cozl1x9m6zmu4fg8iwi6ajazguehcm9qdfgd5ndo2pc3pcn" diff --git a/idp/.env b/idp/.env index 991eaf583..8be262154 100644 --- a/idp/.env +++ b/idp/.env @@ -2,7 +2,7 @@ PORT=8081 # URLs PUBLIC_UI_URL="http://127.0.0.1:3000" -POSTGRES_URL="postgresql://voltaserve@127.0.0.1:26257/voltaserve" +POSTGRES_URL="postgresql://voltaserve@127.0.0.1:5432/voltaserve" # Token TOKEN_JWT_SIGNING_KEY="586cozl1x9m6zmu4fg8iwi6ajazguehcm9qdfgd5ndo2pc3pcn" diff --git a/migrations/README.md b/migrations/README.md index f14cff7d4..d6c2e8e55 100644 --- a/migrations/README.md +++ b/migrations/README.md @@ -9,5 +9,5 @@ cargo build --release Run locally: ```shell -DATABASE_URL=postgresql://voltaserve@localhost:26257/voltaserve ./target/release/migrate up +DATABASE_URL=postgresql://voltaserve@localhost:5432/voltaserve ./target/release/migrate up ``` \ No newline at end of file