changeset 8:92e31a078643

reformat
author drewp@bigasterisk.com
date Sun, 07 May 2023 15:59:10 -0700
parents 473d3d869849
children 145779f2d79d
files deploy.yaml
diffstat 1 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/deploy.yaml	Sat May 06 12:12:02 2023 -0700
+++ b/deploy.yaml	Sun May 07 15:59:10 2023 -0700
@@ -18,16 +18,16 @@
         - name: environment
           image: bang5:5000/environment_image
           workingDir: /opt
-          command: 
-          - pdm
-          - run
-          - uvicorn
-          - '--port=8000'
-          - '--host=0.0.0.0'
-          - 'environment:app'
-#          - '--reload'
+          command:
+            - pdm
+            - run
+            - uvicorn
+            - "--port=8000"
+            - "--host=0.0.0.0"
+            - "environment:app"
+          #          - '--reload'
           ports:
-          - containerPort: 8000
+            - containerPort: 8000
 ---
 apiVersion: v1
 kind: Service
@@ -35,8 +35,6 @@
   name: environment
 spec:
   ports:
-  - {port: 80, targetPort: 8000}
+    - { port: 80, targetPort: 8000 }
   selector:
     app: environment
-
-