diff deploy.yaml @ 19:5751ef191454

read from github into local graph
author drewp@bigasterisk.com
date Sun, 09 Jan 2022 16:02:08 -0800
parents 6f38aa08408d
children b59912649fc4
line wrap: on
line diff
--- a/deploy.yaml	Sun Jan 09 00:21:41 2022 -0800
+++ b/deploy.yaml	Sun Jan 09 16:02:08 2022 -0800
@@ -20,13 +20,15 @@
             - vite
             - --mode=dev
           ports:
-          - containerPort: 3000
-        # - name: reposync
-        #   image: bang5:5000/reposync_image
-        #   imagePullPolicy: "Always"
-        #   securityContext: {capabilities: {add: [SYS_PTRACE]}}
-        #   ports:
-        #   - containerPort: 10001
+            - containerPort: 3000
+        - name: github-status
+          image: bang5:5000/reposync_image
+          ports:
+            - containerPort: 8000
+          command:
+            - python3
+            - repo_github_status.py
+            - "-v"
         #   volumeMounts:
         #     - {name: my, mountPath: /my}
 
@@ -48,5 +50,6 @@
 spec:
   ports:
     - { port: 80, targetPort: 3000, name: http }
+    - { port: 8000, targetPort: 8000, name: localrepos }
   selector:
     app: reposync