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.
22 lines
573 B
YAML
22 lines
573 B
YAML
services:
|
|
app:
|
|
build: .
|
|
container_name: homebase
|
|
restart: unless-stopped
|
|
# 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
|