From 862ceefc56da2594c6d18956d01fe707a7a4fd29 Mon Sep 17 00:00:00 2001 From: ShittyKopper <106974765+ShittyKopper@users.noreply.github.com> Date: Thu, 22 Jun 2023 11:22:15 +0300 Subject: [PATCH] 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 --- docker/docker-compose.yml | 3 ++- docker/federation/docker-compose.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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: -- 2.44.1