Files
hnh-map/docker-compose.dev.yml
Nikolay Tatarinov adfdfd01c4 Update frontend components for accessibility and functionality improvements
- Modified docker-compose.dev.yml to conditionally run npm install based on the presence of package-lock.json.
- Upgraded Nuxt version in package-lock.json from 3.21.1 to 4.3.1 for enhanced features.
- Enhanced ConfirmModal component with aria-modal attribute for better accessibility.
- Updated MapErrorBoundary component's error message for clarity.
- Added role and aria-label attributes to MapView and MapSearch components for improved screen reader support.
- Refactored various components to manage focus behavior on modal close, enhancing user experience.
- Improved ToastContainer styling for better responsiveness and visibility.
- Updated layout components to include skip navigation links for improved accessibility.
2026-03-04 01:00:56 +03:00

32 lines
787 B
YAML

# Development: backend API on 3080 + frontend Nuxt dev server on 3000.
# Open http://localhost:3000/ for app development with live-reload.
services:
backend:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "3080:3080"
volumes:
- ./grids:/map
environment:
- HNHMAP_PORT=3080
- HNHMAP_BOOTSTRAP_PASSWORD=admin
frontend:
image: node:20-alpine
working_dir: /app
command: sh -c "if [ -f package-lock.json ]; then npm ci; else npm install; fi && npm run dev"
ports:
- "3000:3000"
volumes:
- ./frontend-nuxt:/app
# Prevent overwriting node_modules from host
- /app/node_modules
environment:
- NUXT_PUBLIC_API_BASE=/map/api
- HOST=0.0.0.0
depends_on:
- backend