Skip to content

Commit d2ee743

Browse files
committed
feat: add docker compose for local dev
1 parent a27686f commit d2ee743

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
postgres:
2222
image: postgres:latest
2323
env:
24+
POSTGRES_USER: postgres
2425
POSTGRES_PASSWORD: postgres
26+
POSTGRES_DB: postgres
2527
ports:
2628
- 5432:5432
2729

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: "3.8"
2+
services:
3+
db:
4+
image: postgres
5+
restart: always
6+
environment:
7+
- POSTGRES_USER=postgres
8+
- POSTGRES_PASSWORD=postgres
9+
- POSTGRES_DB=postgres
10+
ports:
11+
- "5432:5432"

0 commit comments

Comments
 (0)