diff deploy_files.yaml @ 28:1e058bea3ac2

crash better when mongo is unreachable
author drewp@bigasterisk.com
date Sat, 23 Mar 2024 16:11:10 -0700
parents 27a754f8e8f8
children
line wrap: on
line diff
--- a/deploy_files.yaml	Sat Oct 14 17:08:36 2023 -0700
+++ b/deploy_files.yaml	Sat Mar 23 16:11:10 2024 -0700
@@ -38,11 +38,8 @@
           command:
             - pdm
             - run
-            - uvicorn
-            - '--port=8004'
-            - '--host=0.0.0.0'
-            - '--reload'
-            - 'video:app'
+            - python
+            - video.py
           ports:
             - containerPort: 8004
           volumeMounts: