fix: allow to use a custom Docker image version with docker-compose

This commit is contained in:
2025-12-04 15:45:38 +01:00
parent 15774d6063
commit 2efebdf2e0
2 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
# ============= Backend ============= # ============= Backend =============
BACKEND_PORT=6567 # Port on which the backend service should listen to requests. 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 # Postgres and TypeORM
PG_USER=kitty PG_USER=kitty
@@ -19,3 +20,4 @@ DEBUG=false # Set to `false` to disable some features not mea
# ============ Frontend ============ # ============ Frontend ============
FRONTEND_PORT=6568 # Port on which the frontend service should listen to requests. 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.

View File

@@ -7,7 +7,7 @@ services:
# kittyfe: # kittyfe:
# container_name: frontend # 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_file:
# - .env # - .env
# ports: # ports:
@@ -18,7 +18,7 @@ services:
kittybe: kittybe:
container_name: backend 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_file:
- .env - .env
ports: ports: