fix: reuse production images across worker services
This commit is contained in:
@@ -60,6 +60,9 @@ services:
|
|||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
<<: *php-service
|
<<: *php-service
|
||||||
|
# Reuse the server PHP image; building the same tag concurrently causes
|
||||||
|
# BuildKit export collisions during a full production bootstrap.
|
||||||
|
build: null
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -70,6 +73,8 @@ services:
|
|||||||
|
|
||||||
kb-worker:
|
kb-worker:
|
||||||
<<: *crawler-service
|
<<: *crawler-service
|
||||||
|
# Reuse the crawler image built by the crawler service.
|
||||||
|
build: null
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- scripts/kb_worker.py
|
- scripts/kb_worker.py
|
||||||
|
|||||||
Reference in New Issue
Block a user