Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marccampbell/3c05d46e85ccbc3cf6dfa884431515e6 to your computer and use it in GitHub Desktop.
Save marccampbell/3c05d46e85ccbc3cf6dfa884431515e6 to your computer and use it in GitHub Desktop.
Replicated Getting Started with Redis
---
# kind: replicated
replicated_api_version: 2.9.2
name: "Learning Replicated"
#
# https://help.replicated.com/docs/packaging-an-application/application-properties/
#
properties:
app_url: http://{{repl ConfigOption "hostname" }}
console_title: "Learning Replicated"
#
# https://help.replicated.com/docs/kb/supporting-your-customers/install-known-versions/
#
host_requirements:
replicated_version: ">=2.9.2"
#
# Settings screen
# https://help.replicated.com/docs/packaging-an-application/config-screen/
#
config:
- name: hostname
title: Hostname
description: Ensure this domain name is routable on your network.
items:
- name: hostname
title: Hostname
value: '{{repl ConsoleSetting "tls.hostname" }}'
type: text
test_proc:
display_name: Check DNS
command: resolve_host
#
# Define how the application containers will be created and started
# https://help.replicated.com/docs/packaging-an-application/components-and-containers/
#
components:
- name: Stateful Things
containers:
- source: public
image_name: redis
version: "3.2.11"
#
# Documentation for additional features
# https://help.replicated.com/categories/packaging-an-application/
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment