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
This commit is contained in:
ShittyKopper 2023-06-22 11:22:15 +03:00 committed by GitHub
parent 985359918f
commit 862ceefc56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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: