diff options
author | Martin Ashby <martin@ashbysoft.com> | 2018-05-17 21:53:07 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2018-05-17 21:53:07 +0000 |
commit | df173643648d24e49822abb3cd91f519e6161b7f (patch) | |
tree | cbf1bbd431871d1b3fbe010e76f76b5e6e4da750 | |
parent | cb16d30a23ad140e6b82e26ab0f348eb22fc8244 (diff) | |
download | unicornpaint-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-- | .gitignore | 1 | ||||
-rw-r--r-- | docker-compose.yml | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |