2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Revert int.worker to worker (#8126)

- Prevent existing docker compose installs from breaking
This commit is contained in:
Oliver 2024-09-16 11:07:24 +10:00 committed by GitHub
parent 12d2865b59
commit d75ef7c9c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

2
.vscode/tasks.json vendored
View File

@ -9,7 +9,7 @@
{ {
"label": "worker", "label": "worker",
"type": "shell", "type": "shell",
"command": "invoke int.worker", "command": "invoke worker",
"problemMatcher": [], "problemMatcher": [],
}, },
{ {

View File

@ -56,7 +56,7 @@ services:
inventree-dev-worker: inventree-dev-worker:
image: inventree-dev-image image: inventree-dev-image
build: *build_config build: *build_config
command: invoke int.worker command: invoke worker
depends_on: depends_on:
- inventree-dev-server - inventree-dev-server
volumes: volumes:

View File

@ -83,7 +83,7 @@ services:
# If you wish to specify a particular InvenTree version, do so here # If you wish to specify a particular InvenTree version, do so here
image: inventree/inventree:${INVENTREE_TAG:-stable} image: inventree/inventree:${INVENTREE_TAG:-stable}
container_name: inventree-worker container_name: inventree-worker
command: invoke int.worker command: invoke worker
depends_on: depends_on:
- inventree-server - inventree-server
env_file: env_file:

View File

@ -107,7 +107,7 @@ The background worker process must be started separately to the web-server appli
From the top-level source directory, run the following command from a separate terminal, while the server is already running: From the top-level source directory, run the following command from a separate terminal, while the server is already running:
``` ```
invoke int.worker invoke worker
``` ```
!!! info "Supervisor" !!! info "Supervisor"

View File

@ -52,7 +52,7 @@ source ./env/bin/activate
### Start Background Worker ### Start Background Worker
``` ```
(env) invoke int.worker (env) invoke worker
``` ```
This will start the background process manager in the current shell. This will start the background process manager in the current shell.

View File

@ -247,7 +247,7 @@ index 8adee63..dc3993c 100644
- image: inventree/inventree:${INVENTREE_TAG:-stable} - image: inventree/inventree:${INVENTREE_TAG:-stable}
+ image: inventree/inventree:${INVENTREE_TAG:-stable}-custom + image: inventree/inventree:${INVENTREE_TAG:-stable}-custom
+ pull_policy: never + pull_policy: never
command: invoke int.worker command: invoke worker
depends_on: depends_on:
- inventree-server - inventree-server
``` ```

View File

@ -1473,7 +1473,6 @@ internal = Collection(
rebuild_thumbnails, rebuild_thumbnails,
showmigrations, showmigrations,
translate_stats, translate_stats,
worker,
) )
ns = Collection( ns = Collection(
@ -1491,6 +1490,7 @@ ns = Collection(
update, update,
version, version,
wait, wait,
worker,
) )
ns.add_collection(development, 'dev') ns.add_collection(development, 'dev')