- Add HTML structure for the dashboard application. - Create database schema for bug reports and associated files. - Implement database connection using Drizzle ORM with MySQL. - Add utility functions for class names, byte formatting, and date formatting. - Create error handling page for the application. - Implement layout and main page structure with navigation and report listing. - Add server-side logic for loading reports with pagination and filtering. - Create report detail page with metadata, description, and file attachments. - Implement API endpoints for downloading reports and files, refreshing report counts, and managing report statuses. - Set up SvelteKit configuration and TypeScript support. - Configure Vite for SvelteKit and Tailwind CSS integration. - Update Docker Compose configuration for the dashboard service. - Create systemd service for managing the dashboard server.
20 lines
340 B
Plaintext
20 lines
340 B
Plaintext
# MySQL
|
|
MYSQL_HOST=mysql
|
|
MYSQL_PORT=3306
|
|
MYSQL_USER=emly
|
|
MYSQL_PASSWORD=change_me_in_production
|
|
MYSQL_DATABASE=emly_bugreports
|
|
MYSQL_ROOT_PASSWORD=change_root_password
|
|
|
|
# API Keys
|
|
API_KEY=change_me_client_key
|
|
ADMIN_KEY=change_me_admin_key
|
|
|
|
# Server
|
|
PORT=3000
|
|
DASHBOARD_PORT=3001
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_MAX=5
|
|
RATE_LIMIT_WINDOW_HOURS=24
|