mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Use env-variable for image tag (#3350)
This commit is contained in:
parent
6aeb818137
commit
7549d033df
@ -42,4 +42,7 @@ INVENTREE_CACHE_PORT=6379
|
||||
# Enable plugins?
|
||||
INVENTREE_PLUGINS_ENABLED=False
|
||||
|
||||
# Image tag that should be used
|
||||
INVENTREE_TAG=stable
|
||||
|
||||
COMPOSE_PROJECT_NAME=inventree-production
|
||||
|
@ -74,7 +74,7 @@ services:
|
||||
inventree-server:
|
||||
container_name: inventree-server
|
||||
# If you wish to specify a particular InvenTree version, do so here
|
||||
image: inventree/inventree:stable
|
||||
image: inventree/inventree:${INVENTREE_TAG:-stable}
|
||||
expose:
|
||||
- 8000
|
||||
depends_on:
|
||||
@ -91,7 +91,7 @@ services:
|
||||
inventree-worker:
|
||||
container_name: inventree-worker
|
||||
# If you wish to specify a particular InvenTree version, do so here
|
||||
image: inventree/inventree:stable
|
||||
image: inventree/inventree:${INVENTREE_TAG:-stable}
|
||||
command: invoke worker
|
||||
depends_on:
|
||||
- inventree-server
|
||||
|
Loading…
Reference in New Issue
Block a user