From 2efebdf2e0abccd5124d39109c0a1d34630a2fe4 Mon Sep 17 00:00:00 2001 From: sherl Date: Thu, 4 Dec 2025 15:45:38 +0100 Subject: [PATCH] fix: allow to use a custom Docker image version with docker-compose --- .env.default | 2 ++ docker-compose.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.default b/.env.default index 3614a8d..aa004e1 100644 --- a/.env.default +++ b/.env.default @@ -3,6 +3,7 @@ # ============= Backend ============= BACKEND_PORT=6567 # Port on which the backend service should listen to requests. +BACKEND_VERSION=master-latest # Want to use a specific image for backend? Put the branch name here, followed by a hyphen and 5-character commit hash. Otherwise the latest one will get pulled. # Postgres and TypeORM PG_USER=kitty @@ -19,3 +20,4 @@ DEBUG=false # Set to `false` to disable some features not mea # ============ Frontend ============ FRONTEND_PORT=6568 # Port on which the frontend service should listen to requests. +FRONTEND_VERSION=master-latest # Want to use a specific image for frontend? Put the branch name here, followed by a hyphen and 5-character commit hash. Otherwise the latest one will get pulled. diff --git a/docker-compose.yaml b/docker-compose.yaml index 967870b..52da668 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,7 +7,7 @@ services: # kittyfe: # container_name: frontend - # image: gitea.7o7.cx/kittyteam/kittyfe:${KITTY_VERSION:-master-latest} + # image: gitea.7o7.cx/kittyteam/kittyfe:${FRONTEND_VERSION:-master-latest} # env_file: # - .env # ports: @@ -18,7 +18,7 @@ services: kittybe: container_name: backend - image: gitea.7o7.cx/kittyteam/kittybe:${KITTY_VERSION:-master-latest} + image: gitea.7o7.cx/kittyteam/kittybe:${BACKEND_VERSION:-master-latest} env_file: - .env ports: