fix: allow to use a custom Docker image version with docker-compose
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user