{{template "base" .}} {{define "title"}}{{.App.Name}} - upaas{{end}} {{define "content"}} {{template "nav" .}}
Back to Dashboard
{{template "alert-success" .}} {{template "alert-error" .}}

{{.App.Name}}

{{if eq .App.Status "running"}} Running {{else if eq .App.Status "building"}} Building {{else if eq .App.Status "error"}} Error {{else if eq .App.Status "stopped"}} Stopped {{else}} {{.App.Status}} {{end}}

{{.App.RepoURL}} @ {{.App.Branch}}

Edit

Deploy Key

Add this SSH public key to your repository as a read-only deploy key:

{{.DeployKey}}

Webhook URL

Add this URL as a push webhook in your Gitea repository:

{{.WebhookURL}}

Environment Variables

{{if .EnvVars}}
{{range .EnvVars}} {{end}}
Key Value Actions
{{.Key}} {{.Value}}
{{end}}

Docker Labels

{{range .Labels}} {{end}}
Key Value Actions
upaas.id {{.App.ID}} System
{{.Key}} {{.Value}}

Volume Mounts

{{if .Volumes}}
{{range .Volumes}} {{end}}
Host Path Container Path Mode Actions
{{.HostPath}} {{.ContainerPath}} {{if .ReadOnly}} Read-only {{else}} Read-write {{end}}
{{end}}

Recent Deployments

View All
{{if .Deployments}}
{{range .Deployments}} {{end}}
Started Status Commit
{{.StartedAt.Format "2006-01-02 15:04:05"}} {{if eq .Status "success"}} Success {{else if eq .Status "failed"}} Failed {{else if eq .Status "building"}} Building {{else if eq .Status "deploying"}} Deploying {{else}} {{.Status}} {{end}} {{if .CommitSHA.Valid}}{{slice .CommitSHA.String 0 12}}{{else}}-{{end}}
{{else}}

No deployments yet.

{{end}}

Danger Zone

Deleting this app will remove all configuration and deployment history. This action cannot be undone.

{{end}}