From e45c5333f951934fcff4beade6378c484def38d2 Mon Sep 17 00:00:00 2001 From: Lancelot Date: Sat, 21 Dec 2024 11:50:31 +0100 Subject: [PATCH] Add dynamic compose for gotify (#6053) --- apps/gotify/config.json | 5 +++-- apps/gotify/docker-compose.json | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 apps/gotify/docker-compose.json diff --git a/apps/gotify/config.json b/apps/gotify/config.json index 3d127ab11b..e7b1ce03ab 100644 --- a/apps/gotify/config.json +++ b/apps/gotify/config.json @@ -5,7 +5,8 @@ "port": 8129, "id": "gotify", "exposable": true, - "tipi_version": 8, + "dynamic_config": true, + "tipi_version": 9, "version": "2.6.1", "categories": ["utilities"], "description": "Simple server for sending and receiving notification messages.", @@ -33,5 +34,5 @@ ], "supported_architectures": ["arm64", "amd64"], "created_at": 1691943801422, - "updated_at": 1731777033000 + "updated_at": 1734113844819 } diff --git a/apps/gotify/docker-compose.json b/apps/gotify/docker-compose.json new file mode 100644 index 0000000000..e889a99d3c --- /dev/null +++ b/apps/gotify/docker-compose.json @@ -0,0 +1,20 @@ +{ + "services": [ + { + "name": "gotify", + "image": "gotify/server:2.6.1", + "isMain": true, + "internalPort": 80, + "environment": { + "GOTIFY_DEFAULTUSER_NAME": "${GOTIFY_DEFAULTUSER_NAME}", + "GOTIFY_DEFAULTUSER_PASS": "${GOTIFY_DEFAULTUSER_PASS}" + }, + "volumes": [ + { + "hostPath": "${APP_DATA_DIR}/data", + "containerPath": "/app/data" + } + ] + } + ] +}