File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ DB_DATABASE_NAME=sos_rs
6
6
DB_USER = root
7
7
DB_PASSWORD = root
8
8
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"
10
9
11
10
SECRET_KEY = batata
12
11
Original file line number Diff line number Diff line change @@ -46,8 +46,11 @@ ports:
46
46
- ' 4000:4000'
47
47
` ` `
48
48
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
+ ` ` `
51
54
52
55
# # Configuração inicial para rodar localmente
53
56
You can’t perform that action at this time.
0 commit comments