Prerequisites
- Go 1.22 or higher
- Node.js 18 or higher (for building the frontend)
- WebP tools (
libwebp-tools
) - AVIF tools (
libavif-apps
) - Redis (optional, for metadata and tag storage)
- Docker and Docker Compose (optional, for containerized deployment)
Installation
Docker deployment
Use prebuilt image (recommended)
-
Clone the repository
-
Configure environment variables
Copy the example env file and edit it:
Ensure Docker can read this
.env
file, or configure the variables directly indocker-compose.yaml
. -
Start the service
Local build deployment
-
Clone the repository
-
Configure environment variables
-
Build and start