From: Dessalines Date: Fri, 20 Sep 2019 01:01:43 +0000 (-0700) Subject: Adding restart always to docker. X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7BallRss%7D?a=commitdiff_plain;h=d21e020f18b208945b046e07b9b5493ca66af47c;p=lemmy.git Adding restart always to docker. --- diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index 3f802ab2..2fb03965 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 6544931f..0ba7b8b9 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: