Mercurial > code > home > repos > video
comparison 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 |
comparison
equal
deleted
inserted
replaced
27:27a754f8e8f8 | 28:1e058bea3ac2 |
---|---|
36 - name: api | 36 - name: api |
37 image: reg:5000/video_image | 37 image: reg:5000/video_image |
38 command: | 38 command: |
39 - pdm | 39 - pdm |
40 - run | 40 - run |
41 - uvicorn | 41 - python |
42 - '--port=8004' | 42 - video.py |
43 - '--host=0.0.0.0' | |
44 - '--reload' | |
45 - 'video:app' | |
46 ports: | 43 ports: |
47 - containerPort: 8004 | 44 - containerPort: 8004 |
48 volumeMounts: | 45 volumeMounts: |
49 - { name: data, mountPath: /data } | 46 - { name: data, mountPath: /data } |
50 resources: | 47 resources: |