Skip to content

Commit

Permalink
bump release version for docker-compose files, rolling forward from a…
Browse files Browse the repository at this point in the history
… prev PR.
  • Loading branch information
tomolopolis committed Jan 6, 2025
1 parent 31ccb10 commit d6975d2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
20 changes: 17 additions & 3 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
21 changes: 18 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d6975d2

Please sign in to comment.