A file utility web application with two main features:
# Install dependencies
npm install
# Run in development mode
npm run dev
The application will be available at http://localhost:4321
| Variable | Default | Description |
|---|---|---|
PORT | 4321 | Server port |
DATA_PATH | ./data | Directory for all file storage |
docker build -t file-tools .
docker run -d \
-p 4321:4321 \
-v /path/to/data:/app/data \
--name file-tools \
file-tools
version: '3.8'
services:
file-tools:
build: .
ports:
- "4321:4321"
volumes:
- ./data:/app/data
environment:
- PORT=4321
- DATA_PATH=/app/data
restart: unless-stopped
This container is compatible with Unraid 7.0.1 Docker.
4321 → Container 4321/app/dataPOST /api/convert - Upload and convert a GIFGET /api/converted/:filename - Download converted GIFPOST /api/files/upload - Upload a file for sharingGET /api/files - List all shared filesGET /api/files/:id - Get file detailsGET /api/files/:id/download - Download shared fileDELETE /api/files/:id - Delete a shared fileMIT
Content type
Image
Digest
sha256:66d66a8cf…
Size
259.7 MB
Last updated
8 months ago
docker pull muaeabudhabi/image-comp