Skip to content

Instantly share code, notes, and snippets.

@bueller
Created February 9, 2016 02:19
Show Gist options
  • Save bueller/db0f2a65087c84eec470 to your computer and use it in GitHub Desktop.
Save bueller/db0f2a65087c84eec470 to your computer and use it in GitHub Desktop.
---
replicated_api_version: "1.3.1"
name: My Counter App
version: "1.0"
release_notes: This is my killer on-prem version of my app
properties:
app_url: https://{{repl ConfigOption "hostname" }}
logo_url: ""
console_title: My App Console
cmds:
- name: get_my_public_ip_address
cmd: publicip
args: []
- name: generate_random_password_32_char
cmd: random
args:
- "32"
config:
- name: App
title: App Configuration
description: Set default values for my App to Use
items:
- name: hostname
title: Hostname
type: text
value_cmd:
name: get_my_public_ip_address
value_at: 0
required: true
- name: admin_pw
title: Admin User Password
type: text
value_cmd:
name: generate_random_password_32_char
value_at: 0
required: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment