Created
October 6, 2023 04:37
-
-
Save leighghunt/7c1e8e54ac6c066b0aa0ace1190a8eaf to your computer and use it in GitHub Desktop.
docker-compose-rpm.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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