Skip to content

Commit

Permalink
chore: add pgsql for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Jun 27, 2024
1 parent 0600739 commit d13e870
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"editor.wordWrapColumn": 120,
"editor.rulers": [120],
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.addMissingImports": "explicit",
"source.organizeImports": "explicit",
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.8'
volumes:
postgresql_data:
services:
db:
image: postgres:16
restart: always
environment:
POSTGRES_USER: myuser
POSTGRES_PASSWORD: mysecret
POSTGRES_DB: websitedb
ports:
- '5432:5432'
volumes:
- 'postgresql_data:/var/lib/postgresql/data'

0 comments on commit d13e870

Please sign in to comment.