mirror of
https://github.com/Vale54321/schafkop-neu.git
synced 2025-12-13 02:29:33 +01:00
20 lines
525 B
YAML
20 lines
525 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: ..
|
|
dockerfile: Dockerfile
|
|
container_name: schafkop-app
|
|
restart: unless-stopped
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3000
|
|
# Optionally set SERIAL_PORT or PICO_SERIAL_PORT for auto-open
|
|
# - SERIAL_PORT=/dev/serial0
|
|
# - SERIAL_BAUD=115200
|
|
ports:
|
|
- "80:3000"
|
|
# Uncomment and adjust one of the following for hardware access on a Pi:
|
|
# devices:
|
|
# - /dev/serial0:/dev/serial0
|
|
# - /dev/ttyACM0:/dev/ttyACM0
|