diff --git a/ansible/templates/docker-compose.yml b/ansible/templates/docker-compose.yml index ca7b0383f8..20c186b29c 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 b572808618..e94ebaa3e0 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 7a11f78304..f5c0430527 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