From: Dessalines Date: Thu, 21 Nov 2019 19:29:59 +0000 (-0800) Subject: Adding restart=always to other docker services. X-Git-Url: http://these/git/readmes/static/%7B%60/css/themes/%7Biframely.url%7D?a=commitdiff_plain;h=2bab0370fa4313bc1c24bcbc02e23a13e72af0ee;p=lemmy.git Adding restart=always to other docker services. --- diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index 118501f4..4f8e5364 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -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: diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 1e018e44..56005b3c 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -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: