2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-27 19:16: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",
"type": "shell",
"command": "invoke int.worker",
"command": "invoke worker",
"problemMatcher": [],
},
{

View File

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

View File

@ -83,7 +83,7 @@ services:
# If you wish to specify a particular InvenTree version, do so here
image: inventree/inventree:${INVENTREE_TAG:-stable}
container_name: inventree-worker
command: invoke int.worker
command: invoke worker
depends_on:
- inventree-server
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:
```
invoke int.worker
invoke worker
```
!!! info "Supervisor"

View File

@ -52,7 +52,7 @@ source ./env/bin/activate
### Start Background Worker
```
(env) invoke int.worker
(env) invoke worker
```
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}-custom
+ pull_policy: never
command: invoke int.worker
command: invoke worker
depends_on:
- inventree-server
```

View File

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