commit df173643648d24e49822abb3cd91f519e6161b7f
parent cb16d30a23ad140e6b82e26ab0f348eb22fc8244
Author: Martin Ashby <martin@ashbysoft.com>
Date: Thu, 17 May 2018 21:53:07 +0000
Changed to use device: notation for compose file, to properly allow access to SPI device
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -9,6 +9,7 @@
# production
/build/
/saves/
+/permasaves/
/__pycache__
# misc
diff --git a/docker-compose.yml b/docker-compose.yml
@@ -6,5 +6,7 @@ services:
ports:
- "3001:3001"
volumes:
- - "/dev/spidev0.0:/dev/spidev0.0"
- "/home/pi/docker/unicornpaint/saves/:/saves/"
+ devices:
+ - "/dev/spidev0.0:/dev/spidev0.0"
+ restart: always