Bun-based command-line client covering the Linkwarden API: links, collections, tags, highlights, RSS, tokens, settings, import and export. Includes unit tests, an in-memory mock server suite, and an opt-in e2e suite for a real server. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
549 B
YAML
20 lines
549 B
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_PASSWORD: pw
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 2s
|
|
retries: 30
|
|
linkwarden:
|
|
image: ghcr.io/linkwarden/linkwarden:latest
|
|
environment:
|
|
DATABASE_URL: postgresql://postgres:pw@postgres:5432/postgres
|
|
NEXTAUTH_SECRET: e2e-secret-e2e-secret
|
|
NEXTAUTH_URL: http://localhost:13000/api/v1/auth
|
|
ports:
|
|
- "13000:3000"
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|