Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Auto detect text files and perform LF normalization
* text=auto

# Shell scripts should always use LF
*.sh text eol=lf
init.sh text eol=lf

# Docker files should use LF
Dockerfile text eol=lf
*.dockerfile text eol=lf
docker-compose*.yml text eol=lf

# YAML files
*.yaml text eol=lf
*.yml text eol=lf

# SQL files
*.sql text eol=lf
3 changes: 1 addition & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

You can install PostgreSQL local https://www.postgresql.org/download/ or use Docker (see `docker-compose.yml`):
```
version: "3.2"
services:
api:
build:
Expand All @@ -17,7 +16,7 @@ services:
restart: unless-stopped

postgres:
image: postgres
image: postgres:16
environment:
POSTGRES_USER: codex
POSTGRES_DB: notes
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.2'

services:
api:
build:
Expand All @@ -12,7 +10,7 @@ services:
restart: unless-stopped

postgres:
image: postgres
image: postgres:16
environment:
POSTGRES_USER: codex
POSTGRES_DB: notes
Expand Down
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
set -e
node dist/index.js
node dist/index.js
Loading