DodoApp: Status page

Implements basic status page, listing all apps and their commit
statuses. Separates web and api endpoints. Unifies API addresses a bit.

Change-Id: I98f9f949a49b60e80e188f7b51ec0e967666e65b
diff --git a/core/installer/values-tmpl/dodo-app.cue b/core/installer/values-tmpl/dodo-app.cue
index abc09b2..ddd3b17 100644
--- a/core/installer/values-tmpl/dodo-app.cue
+++ b/core/installer/values-tmpl/dodo-app.cue
@@ -53,6 +53,20 @@
 	}
 }
 
+volumes: db: size: "10Gi"
+
+ingress: {
+	"dodo-app": {
+		auth: enabled: false
+		network: input.network
+		subdomain: input.subdomain
+		service: {
+			name: "web"
+			port: name: "http"
+		}
+	}
+}
+
 portForward: [#PortForward & {
 	allocator: input.network.allocatePortAddr
 	reservator: input.network.reservePortAddr
@@ -92,13 +106,16 @@
 				tag: images.dodoApp.tag
 				pullPolicy: images.dodoApp.pullPolicy
 			}
+			port: 8080
+			apiPort: 8081
 			repoAddr: "soft-serve.\(release.namespace).svc.cluster.local:22"
 			sshPrivateKey: base64.Encode(null, input.dAppKeys.private)
-			self: "dodo-app.\(release.namespace).svc.cluster.local"
+			self: "api.\(release.namespace).svc.cluster.local"
 			namespace: release.namespace
 			envConfig: base64.Encode(null, json.Marshal(global))
 			appAdminKey: input.adminKey
 			gitRepoPublicKey: input.ssKeys.public
+			persistentVolumeClaimName: volumes.db.name
 		}
 	}
 }