Skip to content

Instantly share code, notes, and snippets.

@leighghunt
Created October 6, 2023 04:37
Show Gist options
  • Save leighghunt/7c1e8e54ac6c066b0aa0ace1190a8eaf to your computer and use it in GitHub Desktop.
Save leighghunt/7c1e8e54ac6c066b0aa0ace1190a8eaf to your computer and use it in GitHub Desktop.
docker-compose-rpm.yml
version: '2.1'
services:
dashboard:
container_name: dashboard
image: leighghunt/energy-monitoring-dashboard:pi-zero-node-11-motor-rpm
build:
context: .
restart: unless-stopped
ports:
- 80:80
volumes:
- /home/pi/logFiles:/root/logFiles
devices:
- /dev/ttyAMA0:/dev/ttyAMA0
- /dev/mem:/dev/mem
environment:
- NODE_ENV=production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment