From: Felix Ableitner Date: Mon, 19 Oct 2020 10:18:05 +0000 (+0200) Subject: Make lemmy-ui restart: always X-Git-Url: http://these/git/%7B%60https:/static/readmes/README.ja.md?a=commitdiff_plain;h=e190ecbefb7a89ed4496a7c05da93c97905a9f53;p=lemmy.git Make lemmy-ui restart: always --- diff --git a/ansible/templates/docker-compose.yml b/ansible/templates/docker-compose.yml index ca7b0383..20c186b2 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 b5728086..e94ebaa3 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 7a11f783..f5c04305 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