Quellcode durchsuchen

added restart policy

Toastie vor 4 Jahren
Ursprung
Commit
9a2fea3e16
3 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  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: