Target production docker-compose script to inventree:stable

This commit is contained in:
Oliver 2021-11-05 07:52:15 +11:00
parent 083967b156
commit ab3acc4601

View File

@ -13,6 +13,21 @@ version: "3.8"
# specified in the "volumes" section at the end of this file. # specified in the "volumes" section at the end of this file.
# This path determines where the InvenTree data will be stored! # 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: services:
# Database service # Database service
@ -40,8 +55,7 @@ services:
inventree-server: inventree-server:
container_name: inventree-server container_name: inventree-server
# If you wish to specify a particular InvenTree version, do so here # If you wish to specify a particular InvenTree version, do so here
# e.g. image: inventree/inventree:0.5.2 image: inventree/inventree:stable
image: inventree/inventree:latest
expose: expose:
- 8000 - 8000
depends_on: depends_on:
@ -58,8 +72,7 @@ services:
inventree-worker: inventree-worker:
container_name: inventree-worker container_name: inventree-worker
# If you wish to specify a particular InvenTree version, do so here # If you wish to specify a particular InvenTree version, do so here
# e.g. image: inventree/inventree:0.5.2 image: inventree/inventree:stable
image: inventree/inventree:latest
command: invoke worker command: invoke worker
depends_on: depends_on:
- inventree-db - inventree-db