From ab3acc4601f955e85af2ae2493017fb02bf93a3c Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 5 Nov 2021 07:52:15 +1100 Subject: [PATCH] Target production docker-compose script to inventree:stable --- docker/docker-compose.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3f8443065a..cef136bddb 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -13,6 +13,21 @@ version: "3.8" # specified in the "volumes" section at the end of this file. # This path determines where the InvenTree data will be stored! # +# +# InvenTree Image Versions +# ------------------------ +# By default, this docker-compose script targets the STABLE version of InvenTree, +# image: inventree/inventree:stable +# +# To run the LATEST (development) version of InvenTree, change the target image to: +# image: inventree/inventree:latest +# +# Alternatively, you could target a specific tagged release version with (for example): +# image: inventree/inventree:0.5.3 +# +# NOTE: If you change the target image, ensure it is the same for the following containers: +# - inventree-server +# - inventree-worker services: # Database service @@ -40,8 +55,7 @@ services: inventree-server: container_name: inventree-server # If you wish to specify a particular InvenTree version, do so here - # e.g. image: inventree/inventree:0.5.2 - image: inventree/inventree:latest + image: inventree/inventree:stable expose: - 8000 depends_on: @@ -58,8 +72,7 @@ services: inventree-worker: container_name: inventree-worker # If you wish to specify a particular InvenTree version, do so here - # e.g. image: inventree/inventree:0.5.2 - image: inventree/inventree:latest + image: inventree/inventree:stable command: invoke worker depends_on: - inventree-db