From: ShittyKopper <106974765+ShittyKopper@users.noreply.github.com> Date: Thu, 22 Jun 2023 08:22:15 +0000 (+0300) Subject: docker-compose: Add init to UI (#3248) X-Git-Url: http://these/git/readmes/%24%7B%60data:application/README.md?a=commitdiff_plain;h=862ceefc56da2594c6d18956d01fe707a7a4fd29;p=lemmy.git docker-compose: Add init to UI (#3248) * docker-compose: Add init to UI Prevents waiting 10 seconds to shutdown * docker-compose: Update to version 3.7 --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index b3b3b8b3..2846f547 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.3" +version: "3.7" x-logging: &default-logging driver: "json-file" @@ -80,6 +80,7 @@ services: - lemmy restart: always logging: *default-logging + init: true pictrs: image: asonix/pictrs:0.4.0-beta.19 diff --git a/docker/federation/docker-compose.yml b/docker/federation/docker-compose.yml index 49049e08..569f264c 100644 --- a/docker/federation/docker-compose.yml +++ b/docker/federation/docker-compose.yml @@ -1,6 +1,7 @@ -version: "3.3" +version: "3.7" x-ui-default: &ui-default + init: true image: dessalines/lemmy-ui:0.17.3 # assuming lemmy-ui is cloned besides lemmy directory # build: