aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2018-05-17 21:53:07 +0000
committerMartin Ashby <martin@ashbysoft.com>2018-05-17 21:53:07 +0000
commitdf173643648d24e49822abb3cd91f519e6161b7f (patch)
treecbf1bbd431871d1b3fbe010e76f76b5e6e4da750
parentcb16d30a23ad140e6b82e26ab0f348eb22fc8244 (diff)
downloadunicornpaint-df173643648d24e49822abb3cd91f519e6161b7f.tar.gz
unicornpaint-df173643648d24e49822abb3cd91f519e6161b7f.tar.bz2
unicornpaint-df173643648d24e49822abb3cd91f519e6161b7f.tar.xz
unicornpaint-df173643648d24e49822abb3cd91f519e6161b7f.zip
Changed to use device: notation for compose file, to properly allow access to SPI device
-rw-r--r--.gitignore1
-rw-r--r--docker-compose.yml4
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index c80ad90..85bf288 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@
# production
/build/
/saves/
+/permasaves/
/__pycache__
# misc
diff --git a/docker-compose.yml b/docker-compose.yml
index ff87e58..ebeb531 100644
--- 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