feat: Implement image fetching and storage system
Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled

- Add image-fetcher module for downloading and saving images from various sources.
- Create storage module for managing image files, including downloading, verifying integrity, and cleaning up orphaned files.
- Develop gallery HTML page for displaying images with sorting and filtering options.
- Set up RESTful API routes for image management, including fetching, adding tags, and deleting images.
- Introduce setup script for initializing the database and configuring image sources.
- Implement a batch process for verifying image integrity and cleaning up old images.
- Add setup batch script for easy installation and configuration of the image storage system.
This commit is contained in:
2026-02-12 13:13:36 -05:00
parent ea6cc3fc85
commit 9c72b00b1b
19 changed files with 3004 additions and 71 deletions

View File

@@ -3,9 +3,19 @@ services:
build: .
container_name: homebase
restart: unless-stopped
ports:
- "3001:3001"
# Use host network to access both local network and Tailscale
# Also inherits host's DNS for .local mDNS hostname resolution
network_mode: host
environment:
- NODE_ENV=production
- PORT=3001
- DOMAIN=homebase.sketchferret.com
volumes:
# Persist database and image files
- homebase-data:/app/data
# Mount host's resolv.conf for mDNS support
- /etc/resolv.conf:/etc/resolv.conf:ro
volumes:
homebase-data:
driver: local