From 14b0f061a5aa637e6a929490ee565dc60720564f Mon Sep 17 00:00:00 2001 From: val Date: Thu, 12 Mar 2026 04:34:39 +0100 Subject: [PATCH] fixed image version --- .env.sample | 10 +++++++--- compose.customversion.yml | 3 +++ compose.yml | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 compose.customversion.yml diff --git a/.env.sample b/.env.sample index 47c5121..58c8c72 100644 --- a/.env.sample +++ b/.env.sample @@ -5,8 +5,6 @@ DOMAIN=affine.example.com ## Domain aliases #EXTRA_DOMAINS=', `www.affine.example.com`' -# use this, if you don't want to depend on recipe updates for upgrading affine, e.g. "stable" or "latest" -#IMAGE_VERSION=stable ENABLE_BACKUPS=true @@ -24,4 +22,10 @@ COMPOSE_FILE="compose.yml" #MAILER_USER= #MAILER_SENDER= #MAILER_IGNORE_TLS=false -#MAILER_PORT=465 \ No newline at end of file +#MAILER_PORT=465 + + +## Custom Image Version +# use this, if you don't want to depend on recipe updates for upgrading affine, e.g. "stable" or "latest" +# COMPOSE_FILE="$COMPOSE_FILE:compose.customversion.yml" +#IMAGE_VERSION=stable diff --git a/compose.customversion.yml b/compose.customversion.yml new file mode 100644 index 0000000..3175fc8 --- /dev/null +++ b/compose.customversion.yml @@ -0,0 +1,3 @@ +services: + app: + image: ghcr.io/toeverything/affine:${IMAGE_VERSION} \ No newline at end of file diff --git a/compose.yml b/compose.yml index 8951b06..b530081 100644 --- a/compose.yml +++ b/compose.yml @@ -1,7 +1,7 @@ --- services: app: - image: ghcr.io/toeverything/affine:${IMAGE_VERSION:-0.26.2} + image: ghcr.io/toeverything/affine:0.26.4 environment: REDIS_SERVER_HOST: redis @@ -42,7 +42,7 @@ services: test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/3010' || exit 1"] interval: 30s timeout: 10s - retries: 10 + retries: 20 start_period: 1m volumes: -- 2.49.0