- Departments + cross-department transfer workflow - Role-based closing (staff→resolved, manager→closed) with proof_of_resolution - Private file storage with collection system + temporary signed URLs - Dashboard: resolved tickets table, stats, handler performance bar chart - Spatie RBAC (admin/manager/staff) - Notifications: TicketTransferred, TicketClosed (database + mail) - Pest tests: 8 tests, 21 assertions - Docker production-ready (Dockerfile + compose + entrypoint)
19 lines
444 B
YAML
19 lines
444 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "${APP_PORT:-8080}:80"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./database/database.sqlite:/var/www/html/database/database.sqlite
|
|
- ./storage/app:/var/www/html/storage/app
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost/admin/login"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|