mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-11-02 04:53:23 +00:00
Chores & Configuration • Enhanced development setup: optimized Dockerfile, refined scripts, and improved .gitignore. • Updated docker-compose for better dev/prod separation. • Improved documentation in README and source files. Features & Enhancements • Refactored project structure with modular architecture. • Improved testing infrastructure and integration tests. • Enhanced file upload logic, client-side handling, and API routes. • Implemented robust server shutdown, rate limiting, and cleanup mechanisms. • Improved upload progress tracking with UI enhancements. • Strengthened security in PIN authentication and cookie handling. Refactors & Fixes • Cleaned up test infrastructure, logging, and error handling. • Simplified API route paths and improved middleware. • Fixed incorrect total storage size reporting. • Optimized logging verbosity based on environment. Documentation • Expanded project documentation and comments for clarity.
30 lines
699 B
YAML
30 lines
699 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: ..
|
|
dockerfile: dev/Dockerfile.dev
|
|
target: development
|
|
args:
|
|
DOCKER_BUILDKIT: 1
|
|
x-bake:
|
|
options:
|
|
dockerignore: dev/.dockerignore
|
|
volumes:
|
|
- ..:/usr/src/app
|
|
- /usr/src/app/node_modules
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=development
|
|
- PORT=3000
|
|
- MAX_FILE_SIZE=1024
|
|
- AUTO_UPLOAD=false
|
|
- DUMBDROP_TITLE=DumbDrop-Dev
|
|
command: npm run dev
|
|
restart: unless-stopped
|
|
# Enable container debugging if needed
|
|
# stdin_open: true
|
|
# tty: true
|
|
# Add development labels
|
|
labels:
|
|
- "dev.dumbware.environment=development" |