diff deploy.yaml @ 4:759f0ba7d345

crash (and get restarted) better
author drewp@bigasterisk.com
date Sat, 23 Mar 2024 16:15:34 -0700
parents 0cc41259fddd
children f0d549ec5e59
line wrap: on
line diff
--- a/deploy.yaml	Sun Dec 10 17:26:52 2023 -0800
+++ b/deploy.yaml	Sat Mar 23 16:15:34 2024 -0700
@@ -44,11 +44,8 @@
           command:
           - pdm
           - run
-          - uvicorn
-          - '--port=8001'
-          - '--host=0.0.0.0'
-          - '--reload'
-          - 'pi_mqtt:app'
+          - python
+          - 'pi_mqtt.py'
 ---
 apiVersion: v1
 kind: Service