Skip to content

Commit dff6aad

Browse files
committed
feat: improve readme file
1 parent c117ab0 commit dff6aad

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.env.local

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ DB_DATABASE_NAME=sos_rs
66
DB_USER=root
77
DB_PASSWORD=root
88
DATABASE_URL="postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_DATABASE_NAME}?schema=public"
9-
; DATABASE_URL="postgresql://root:root@sos-rs-db:5432/sos_rs?schema=public"
109

1110
SECRET_KEY=batata
1211

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ ports:
4646
- '4000:4000'
4747
```
4848

49-
Se você estiver recebendo algum erro relacionado a PORT da DATABASE_URL, tem uma linha comentada no .env que pode ser
50-
descomentada para resolver o problema.
49+
Se você estiver recebendo algum erro relacionado a PORT da DATABASE_URL, use:
50+
51+
```bash
52+
DATABASE_URL="postgresql://postgres:admin@localhost:5432/test?schema=public&sslmode=prefer"
53+
```
5154

5255
## Configuração inicial para rodar localmente
5356

0 commit comments

Comments
 (0)