mirror of
https://github.com/paperclipai/paperclip
synced 2026-04-25 17:25:15 +02:00
- Add wget, ripgrep, python3, and GitHub CLI (gh) to base image - Add OPENCODE_ALLOW_ALL_MODELS=true to production ENV - Move compose files, onboard-smoke Dockerfile to docker/ - Move entrypoint script to scripts/docker-entrypoint.sh - Add Podman Quadlet unit files (pod, app, db containers) - Add docker/README.md with build, compose, and quadlet docs - Add scripts/docker-build-test.sh for local build validation - Update all doc references for new file locations - Keep main Dockerfile at project root (no .dockerignore changes needed) Co-Authored-By: Paperclip <noreply@paperclip.ing>
21 lines
468 B
Plaintext
21 lines
468 B
Plaintext
[Unit]
|
|
Description=PostgreSQL for Paperclip
|
|
|
|
[Container]
|
|
Image=docker.io/library/postgres:17-alpine
|
|
ContainerName=paperclip-db
|
|
Pod=paperclip.pod
|
|
Volume=paperclip-pgdata:/var/lib/postgresql/data
|
|
EnvironmentFile=%h/.config/containers/systemd/paperclip.env
|
|
HealthCmd=pg_isready -U $POSTGRES_USER -d $POSTGRES_DB -h localhost || exit 1
|
|
HealthInterval=15s
|
|
HealthTimeout=5s
|
|
HealthRetries=5
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
TimeoutStartSec=60
|
|
|
|
[Install]
|
|
WantedBy=default.target
|