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