Browse Source

added restart policy

Toastie 1 year ago
parent
commit
9a2fea3e16
3 changed files with 4 additions and 2 deletions
  1. 1 1
      droppy/docker-compose.yml
  2. 2 1
      mopidy/docker-compose.yml
  3. 1 0
      rfidac/docker-compose.yml

+ 1 - 1
droppy/docker-compose.yml

@@ -3,6 +3,7 @@ services:
   droppy:
     container_name: droppy
     image: silverwind/armhf-droppy
+    restart: unless-stopped
     ports:
       - '8989:8989'
     volumes:
@@ -11,4 +12,3 @@ services:
     environment:
       - uid=${uid}
       - gid=${gid}
-    restart: unless-stopped

+ 2 - 1
mopidy/docker-compose.yml

@@ -4,10 +4,11 @@ services:
     build: .
     container_name: mopidy 
     image: toastie/mopidy 
+    restart: unless-stopped
     ports:
       - '6600:6600'
       - '80:6680'
     devices:
       - '/dev/snd:/dev/snd'
     volumes:
-      - ./data/mopidy/:/var/lib/mopidy/
+      - ./data/mopidy/:/var/lib/mopidy/

+ 1 - 0
rfidac/docker-compose.yml

@@ -4,6 +4,7 @@ services:
     build: .
     container_name: rfidac 
     image: toastie/rfidac
+    restart: unless-stopped
     devices:
       - '/dev/input/event0:/dev/input/event0'
     environment: