agenthub/Dockerfile.backup
Paperclip FoundingEngineer bdd5d92ba7 Initial AgentHub codebase for Coolify deployment
Complete implementation ready for Coolify:
- Node.js 22 + Fastify + socket.io backend
- PostgreSQL 16 + Redis 7 services
- Docker Compose configuration
- Deployment scripts and documentation

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-01 21:25:57 +00:00

21 lines
482 B
Text

# Backup container for AgentHub Postgres
FROM postgres:16-alpine
# Install awscli for S3 uploads and gnupg for encryption
RUN apk add --no-cache \
aws-cli \
gnupg \
bash \
findutils
# Copy backup script
COPY scripts/backup.sh /usr/local/bin/backup.sh
RUN chmod +x /usr/local/bin/backup.sh
# Create backup directory
RUN mkdir -p /backups && chown postgres:postgres /backups
USER postgres
# Default command runs the backup script
CMD ["/usr/local/bin/backup.sh"]