Skip to content

Commit

Permalink
dev db environnement
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoponthieu committed Jan 27, 2024
1 parent 8aa86fe commit 1164244
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions compose_pg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'

services:
db:
image: postgres
environment:
POSTGRES_USER: beep
POSTGRES_PASSWORD: beep_password
POSTGRES_DB: beep_database
ports:
- "5432:5432"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"private": true,
"license": "UNLICENSED",
"scripts": {
"services": "docker compose -f compose_pg.yaml up -d",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
Expand Down

0 comments on commit 1164244

Please sign in to comment.