mirror of
https://github.com/marcogll/ap_pos.git
synced 2026-01-13 13:15:16 +00:00
- Fixed unsafe string concatenation in print.js date function - Replaced manual padding logic with String().padStart() method - Updated cache busting to v1757039367 for proper reload - Fixed default tab routing for regular users to 'Ventas' - Enhanced ticket layout with right-aligned total and payment method - Improved print styling with 72mm width and better spacing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
601 B
YAML
22 lines
601 B
YAML
services:
|
|
ap-pos:
|
|
image: marcogll/ap_pos:1.4.0
|
|
container_name: ap-pos
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3111:3111"
|
|
environment:
|
|
NODE_ENV: production
|
|
SESSION_SECRET: ${SESSION_SECRET:-your-very-secret-key-change-it-in-production}
|
|
DB_PATH: /app/data/ap-pos.db
|
|
volumes:
|
|
- ./data:/app/data
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3111/login.html"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
# volumes section no longer needed - using direct bind mount
|