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: