]> Untitled Git - lemmy.git/commitdiff
Adding restart always to docker.
authorDessalines <tyhou13@gmx.com>
Fri, 20 Sep 2019 01:01:43 +0000 (18:01 -0700)
committerDessalines <tyhou13@gmx.com>
Fri, 20 Sep 2019 01:01:43 +0000 (18:01 -0700)
docker/dev/docker-compose.yml
docker/prod/docker-compose.yml

index 3f802ab2848ec9ae8c5ae90e0c95a9af71a24c90..2fb039650a5a1d34b2d94be52a467bba0ee14e6c 100644 (file)
@@ -20,6 +20,7 @@ services:
       - DATABASE_URL=${DATABASE_URL}
       - JWT_SECRET=${JWT_SECRET}
       - HOSTNAME=${DOMAIN}
+    restart: always
     depends_on: 
       - lemmy_db
   lemmy_pictshare:
index 6544931f3f6f03d3a9cbe52d7eb6470da87b5888..0ba7b8b9da35e0a10ed7b0458a5cafda10b7f110 100644 (file)
@@ -18,6 +18,7 @@ services:
       - DATABASE_URL=${DATABASE_URL}
       - JWT_SECRET=${JWT_SECRET}
       - HOSTNAME=${DOMAIN}
+    restart: always
     depends_on:
       - lemmy_db
   lemmy_pictshare: