Skip to content

Commit

Permalink
chore: use PostgreSQL for .env files (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba authored Aug 17, 2024
1 parent 0b27033 commit 71c4f25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion idp/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 71c4f25

Please sign in to comment.