This commit is contained in:
2026-10-13 13:51:01 +07:00
parent 8a210c4379
commit 716da35142
3 changed files with 29 additions and 1 deletions
+15
View File
@@ -69,6 +69,7 @@ services:
CUDY_SNAPSHOT_FILE: /run/cudy/state.json
volumes:
- cudy_state:/run/cudy:ro
- receipt_printer_socket:/run/receipt-printer:ro
depends_on:
migrate:
condition: service_completed_successfully
@@ -81,6 +82,19 @@ services:
timeout: 3s
retries: 12
receipt_printer:
image: evening-detective-venue-app:1
command: [/usr/local/bin/evening_detective_server, --receipt-printer]
environment:
APP_MODE: venue
MXW01_ADDRESS: ${MXW01_ADDRESS:-}
network_mode: host
cap_drop: [ALL]
cap_add: [NET_RAW]
volumes:
- receipt_printer_socket:/run/receipt-printer
restart: unless-stopped
bootstrap:
image: postgres:15
profiles: [setup]
@@ -148,6 +162,7 @@ services:
restart: unless-stopped
volumes:
receipt_printer_socket:
cudy_state:
# Preserve existing data from the former Compose project.
postgres_data: