Files
Personal-Rancher-Catalog/templates/Gogs/0/rancher-compose.yml
2018-11-17 00:07:24 -05:00

72 lines
1.7 KiB
YAML

version: '2'
catalog:
name: Gogs
version: latest
# description:
# minimum_rancher_version:
# maximum_rancher_version:
# upgrade_from:
questions:
- variable: "HOST_LABEL"
label: "Host Label Key/Value Pair"
description: |
The Label Key/Value pair on the host which containers should be deployed
default: "host.id=Host1"
required: false
type: string
- variable: "TRAEFIK_HOST"
label: "Public Host Domain"
description: |
The host that Traefik will use to provide public access.
Leaving this empty will disable Traefik on this stack.
default: "subdomain.domain.tld"
required: false
type: string
- variable: "WEB_PORT"
label: "Local Web Port"
description: |
The port to locally access the web interface on.
default: "10500"
required: true
type: string
- variable: "SSH_PORT"
label: "SSH Port"
description: |
The port to access the SSH server on.
default: "10522"
required: true
type: string
- variable: "DB_ROOT_PASS"
label: "MySQL Root Password"
description: |
A secure password to be used by the "root" MySQL user.
# default:
required: true
type: password
- variable: "DB_USER_PASS"
label: "MySQL User Password"
description: |
A secure password to be used by the "gogs_user" MySQL user.
# default:
required: true
type: password
- variable: "DATA_DIR"
label: "Data Directory"
description: |
The directory to store persistent data for the stack.
default: "Personal/Gogs"
required: true
type: string
services:
gogs:
scale: 1
mysql:
scale: 1