mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-13 13:22:57 +00:00
deployment: set num workers and downloader sleep
This commit is contained in:
1 parent
243d16b7f1
commit
17091b4b44
1 file changed
+7
-3
+7
-3
@@ -43,7 +43,7 @@ spec:
|
||||
type: DirectoryOrCreate
|
||||
containers:
|
||||
- name: downloader
|
||||
image: docker.pkg.github.com/ml-applications/do-spaces-downloader/do-spaces-downloader:565519867d72
|
||||
image: docker.pkg.github.com/ml-applications/do-spaces-downloader/do-spaces-downloader:d61138cd1059
|
||||
command: ["./launch.sh"]
|
||||
args: [""]
|
||||
#command: ["sleep"]
|
||||
@@ -74,7 +74,9 @@ spec:
|
||||
- name: TEMP_DIR
|
||||
value: "/data/downloads/tmp"
|
||||
- name: MATCH_PATH
|
||||
value: "models/"
|
||||
value: "" # previously "models/"
|
||||
- name: SLEEP_TIMEOUT
|
||||
value: "300"
|
||||
- name: tts
|
||||
# NB: Container builds are triggered by Github Actions
|
||||
|
||||
@@ -82,7 +84,7 @@ spec:
|
||||
# LSpeech model that sounds 100% amazing
|
||||
# image: docker.pkg.github.com/echelon/voder/tts-service:6b5c22567614
|
||||
|
||||
image: docker.pkg.github.com/ml-applications/voder/tts-service:bf957be07bb1
|
||||
image: docker.pkg.github.com/ml-applications/voder/tts-service:64419fa64ed0
|
||||
resources:
|
||||
limits:
|
||||
memory: "2048Mi" # 2048 MiB = 2 GiB
|
||||
@@ -96,6 +98,8 @@ spec:
|
||||
env:
|
||||
- name: BIND_ADDRESS
|
||||
value: "0.0.0.0:12345"
|
||||
- name: NUM_WORKERS
|
||||
value: "5"
|
||||
- name: ASSET_DIRECTORY
|
||||
value: "/data/downloads/downloaded/frontend/build" # TODO
|
||||
- name: MODEL_CONFIG_FILE
|
||||
|
||||
Reference in new issue
Block a user