From e190ecbefb7a89ed4496a7c05da93c97905a9f53 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 19 Oct 2020 12:18:05 +0200 Subject: [PATCH] Make lemmy-ui restart: always --- ansible/templates/docker-compose.yml | 1 + docker/dev/docker-compose.yml | 1 + docker/prod/docker-compose.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/ansible/templates/docker-compose.yml b/ansible/templates/docker-compose.yml index ca7b0383f..20c186b29 100644 --- a/ansible/templates/docker-compose.yml +++ b/ansible/templates/docker-compose.yml @@ -19,6 +19,7 @@ services: image: {{ lemmy_docker_ui_image }} ports: - "127.0.0.1:1235:1234" + restart: always environment: - LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_EXTERNAL_HOST={{ domain }} diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index b57280861..e94ebaa3e 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -19,6 +19,7 @@ services: image: dessalines/lemmy-ui:v0.8.0 ports: - "1235:1234" + restart: always environment: - LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_EXTERNAL_HOST=localhost:8536 diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 7a11f7830..f5c043052 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -29,6 +29,7 @@ services: image: dessalines/lemmy-ui:v0.8.0 ports: - "1235:1234" + restart: always environment: - LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_EXTERNAL_HOST=localhost:8536