up
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user