From d6975d232acd3f243a157e25725eba4eaa6c3c8e Mon Sep 17 00:00:00 2001 From: tomolopolis Date: Mon, 6 Jan 2025 15:11:23 +0000 Subject: [PATCH] bump release version for docker-compose files, rolling forward from a prev PR. --- docker-compose-prod.yml | 20 +++++++++++++++++--- docker-compose.yml | 21 ++++++++++++++++++--- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index 83247847..35a4815b 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -5,7 +5,7 @@ services: container_name: medcattrainer hostname: medcat restart: always - image: cogstacksystems/medcat-trainer:v2.17.4 + image: cogstacksystems/medcat-trainer:v2.18.0 volumes: - ./configs:/home/configs - api-media:/home/api/media @@ -17,12 +17,26 @@ services: env_file: - ./envs/env-prod environment: - - MCT_VERSION=v2.17.4 + - MCT_VERSION=v2.18.0 command: /home/scripts/run.sh + # bg process task runner + medcattrainer-bg-process: + image: cogstacksystems/medcat-trainer:v2.18.0 + restart: always + volumes: + - ./configs:/home/configs + - api-media:/home/api/media + - api-static:/home/api/static + - api-db:/home/api/db + - api-db-backup:/home/api/db-backup + env_file: + - ./envs/env + command: /home/scripts/run-bg-process.sh + # crontab - for db backup medcattrainer-db-backup: - image: cogstacksystems/medcat-trainer:v2.17.4 + image: cogstacksystems/medcat-trainer:v2.18.0 restart: always volumes: - ./configs:/home/configs diff --git a/docker-compose.yml b/docker-compose.yml index e6d624b9..19459366 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,8 +2,9 @@ # projects are not used. services: + # api server medcattrainer: - image: cogstacksystems/medcat-trainer:v2.17.4 + image: cogstacksystems/medcat-trainer:v2.18.0 restart: always volumes: - ./configs:/home/configs @@ -14,12 +15,26 @@ services: env_file: - ./envs/env environment: - - MCT_VERSION=v2.17.4 + - MCT_VERSION=v2.18.0 command: /home/scripts/run.sh + # bg process task runner + medcattrainer-bg-process: + image: cogstacksystems/medcat-trainer:v2.18.0 + restart: always + volumes: + - ./configs:/home/configs + - api-media:/home/api/media + - api-static:/home/api/static + - api-db:/home/api/db + - api-db-backup:/home/api/db-backup + env_file: + - ./envs/env + command: /home/scripts/run-bg-process.sh + # crontab - for db backup medcattrainer-db-backup: - image: cogstacksystems/medcat-trainer:v2.17.4 + image: cogstacksystems/medcat-trainer:v2.18.0 restart: always volumes: - ./configs:/home/configs