Skip to content

Commit

Permalink
feat: added docker compose file for db
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikram-ghuku committed Apr 30, 2024
1 parent 4335f8a commit 029485f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
node_modules
dataFinal.json
data
docker-compose.yml
prisma/migrations/
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3.9'

services:
postgres:
image: postgres:latest
ports:
- 5432:5432
volumes:
- ./data/:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER=username
- POSTGRES_DB=database

0 comments on commit 029485f

Please sign in to comment.