Skip to content

Commit 8618cd0

Browse files
committed
chore: update postgres database username/password
1 parent 08de950 commit 8618cd0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# rename file to .env
2-
DATABASE_URL=postgres://prisma:prisma@localhost:5432/hackernews-db
2+
DATABASE_URL=postgres://postgres:postgres@localhost:5432/hackernews-db

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
version: '3.8'
22
services:
33

4-
# Docker connection string for local machine: postgres://prisma:prisma@localhost:5432/
4+
# Docker connection string for local machine: postgres://postgres:postgres@localhost:5432/
55

66
postgres:
77
image: postgres:13.5
88
restart: always
99
environment:
10-
- POSTGRES_USER=prisma
11-
- POSTGRES_PASSWORD=prisma
10+
- POSTGRES_USER=postgres
11+
- POSTGRES_PASSWORD=postgres
1212
volumes:
1313
- postgres:/var/lib/postgresql/data
1414
ports:

0 commit comments

Comments
 (0)