Skip to content

Commit

Permalink
chore: Add docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
unlight committed Jan 25, 2025
1 parent e91e82c commit 6214a06
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
services:
postgres:
image: postgres:15-alpine
command: postgres -c fsync=off -c synchronous_commit=off -c full_page_writes=off -c random_page_cost=1.0
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=prisma_nest
- DEBUG=false
ports:
- '5432:5432'
volumes:
- ${TEMP}/pg15data:/var/lib/postgresql/data
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"ts-morph": "11 - 16"
},
"devDependencies": {
"@apollo/server": "^4.11.3",
"@eslint/compat": "^1.2.5",
"@nestjs/apollo": "^13.0.1",
"@nestjs/common": "^11.0.1",
Expand Down Expand Up @@ -127,6 +128,7 @@
"graphql-scalars": "^1.24.0",
"graphql-type-json": "^0.3.2",
"mocha": "^11.0.1",
"node-dev": "^8.0.0",
"ololog": "^1.1.175",
"pkgroll": "^2.6.1",
"precise-commits": "^1.0.2",
Expand Down

0 comments on commit 6214a06

Please sign in to comment.