feat: Implement image fetching and storage system
Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user