From 4ac00fea8a74e9928394ed80a7044e726fe1f49f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 19 Sep 2019 18:01:43 -0700 Subject: [PATCH] Adding restart always to docker. --- docker/dev/docker-compose.yml | 1 + docker/prod/docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index 3f802ab..2fb0396 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -20,6 +20,7 @@ services: - DATABASE_URL=${DATABASE_URL} - JWT_SECRET=${JWT_SECRET} - HOSTNAME=${DOMAIN} + restart: always depends_on: - lemmy_db lemmy_pictshare: diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 6544931..0ba7b8b 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -18,6 +18,7 @@ services: - DATABASE_URL=${DATABASE_URL} - JWT_SECRET=${JWT_SECRET} - HOSTNAME=${DOMAIN} + restart: always depends_on: - lemmy_db lemmy_pictshare: