Explorar o código

porter.yaml first draft

Stefan McShane %!s(int64=3) %!d(string=hai) anos
pai
achega
25ed57cc00
Modificáronse 1 ficheiros con 30 adicións e 0 borrados
  1. 30 0
      porter.yaml

+ 30 - 0
porter.yaml

@@ -0,0 +1,30 @@
+version: v2beta1
+
+builds:
+	- name: porter
+		method: docker
+		dockerfile: ./docker/Dockerfile
+		env:
+			raw: {}
+			import_from:
+				- default/base-env
+
+apps:
+	- name: porter-dashboard
+		depends_on:
+			- postgres
+		helm_chart:
+			name: web
+		build_ref: porter
+		helm_values: # refer https://github.com/porter-dev/porter-charts/blob/master/applications/web/values.yaml
+			container:
+				command: 
+			resources:
+				requests:
+					cpu: 400m
+					memory: 512Mi
+
+addons:
+	- name: postgres
+    helm_chart:
+			name: postgres