]> Untitled Git - lemmy.git/commitdiff
Adding restart=always to other docker services.
authorDessalines <tyhou13@gmx.com>
Thu, 21 Nov 2019 19:29:59 +0000 (11:29 -0800)
committerDessalines <tyhou13@gmx.com>
Thu, 21 Nov 2019 19:29:59 +0000 (11:29 -0800)
docker/dev/docker-compose.yml
docker/prod/docker-compose.yml

index 118501f4c4eca277fc0666b2926ed563d665c9da..4f8e536442c1e446672852dcc780b2f6abf98aff 100644 (file)
@@ -9,6 +9,7 @@ services:
       - POSTGRES_DB=lemmy
     volumes:
       - lemmy_db:/var/lib/postgresql/data
+    restart: always
   lemmy:
     build: 
       context: ../../
@@ -39,6 +40,7 @@ services:
       - "127.0.0.1:8537:80"
     volumes:
       - lemmy_pictshare:/usr/share/nginx/html/data
+    restart: always
 volumes:
   lemmy_db:
   lemmy_pictshare:
index 1e018e44ccbc4253f033ed15a8b9145001158301..56005b3cdf57c935852e8e5e50381ce35a0ac757 100644 (file)
@@ -9,6 +9,7 @@ services:
       - POSTGRES_DB=lemmy
     volumes:
       - lemmy_db:/var/lib/postgresql/data
+    restart: always
   lemmy:
     image: dessalines/lemmy:v0.4.0.2
     ports:
@@ -37,6 +38,7 @@ services:
       - "127.0.0.1:8537:80"
     volumes:
       - lemmy_pictshare:/usr/share/nginx/html/data
+    restart: always
 volumes:
   lemmy_db:
   lemmy_pictshare: