feat: database

This commit is contained in:
2025-11-16 10:33:59 +01:00
parent 3cf9601a71
commit 1417023395
14 changed files with 1436 additions and 192 deletions

23
docker-compose.dev.yaml Normal file
View File

@@ -0,0 +1,23 @@
version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: linkding-postgres-dev
ports:
- "5432:5432"
environment:
- POSTGRES_DB=linkding
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- postgres-dev-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 3s
retries: 5
volumes:
postgres-dev-data: