Commit fc82b5a8 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo

Add Rancher-Active-Proxy to catalog

parent b566fccd
PATH=/data/rancher-active-proxy
DEFAULT_HOST=
DEFAULT_EMAIL=foo\@bar.com
DEFAULT_PORT=80
CRON='0 2 * * *'
DEBUG=False
version: '2'
services:
Rancher-Active-Proxy:
image: hacklab/rancher-active-proxy
environment:
DEFAULT_HOST: ${DEFAULT_HOST}
DEFAULT_EMAIL: ${DEFAULT_EMAIL}
CRON: ${CRON}
DEBUG: ${DEBUG}
DEFAULT_PORT: ${DEFAULT_PORT}
stdin_open: true
volumes:
- ${PATH}/htpasswd:/etc/nginx/htpasswd
- ${PATH}/vhost.d:/etc/nginx/vhost.d
- ${PATH}/letsencrypt:/etc/letsencrypt
tty: true
ports:
- ${DEFAULT_PORT}:80/tcp
- 443:443/tcp
labels:
io.rancher.container.pull_image: always
{{- if eq .Values.scheduler_global "true"}}
io.rancher.scheduler.global: true
{{- end}}
.catalog:
name: "Initial Version"
version: "v0.0.1"
questions:
- variable: PATH
label: "Path to save config on host"
default: "/data/rancher-active-proxy"
type: string
- variable: DEFAULT_HOST
label: "Default Virtual Host to use"
type: string
- variable: DEFAULT_EMAIL
label: "Default Email to use for Letsencrypt"
default: "sysadmin@hacklab.com.br"
type: string
- variable: DEFAULT_PORT
label: "Default Port to use"
default: "80"
type: string
- variable: CRON
label: "Auto renew cron like setup"
default: "0 2 * * *"
type: string
- variable: DEBUG
label: "Set to true to enable debug"
default: "True"
type: string
- variable: scheduler_global
label: "Run RAP on all hosts"
required: false
default: "false"
type: "boolean"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment