87 lines
1.7 KiB
YAML
87 lines
1.7 KiB
YAML
version: '2'
|
|
|
|
catalog:
|
|
|
|
name: meshviewer
|
|
version: 1
|
|
description: Meshviewer - a Freifunk Visualisation
|
|
questions:
|
|
- variable: DOMAIN
|
|
default: your-domain.de
|
|
label: Domain
|
|
required: true
|
|
type: string
|
|
- variable: GRAFANA_DOMAIN
|
|
default: your-domain.de
|
|
label: Domain
|
|
required: true
|
|
type: string
|
|
- variable: GRAFANA_PASSWORD
|
|
label: Grafana Password
|
|
required: true
|
|
type: password
|
|
- variable: INFLUXDB_PASSWORD
|
|
label: Influxdb Password
|
|
required: true
|
|
type: password
|
|
- variable: INFLUX_8083
|
|
default: 8083
|
|
label: Influx Port 8083
|
|
required: true
|
|
type: string
|
|
- variable: INFLUX_8086
|
|
default: 8086
|
|
label: Influx Port 8086
|
|
required: true
|
|
type: string
|
|
|
|
services:
|
|
|
|
meshviewer:
|
|
scale: 1
|
|
start_on_create: true
|
|
|
|
nginx:
|
|
scale: 1
|
|
start_on_create: true
|
|
lb_config:
|
|
port_rules:
|
|
- target_port: 80
|
|
hostname: ${DOMAIN}
|
|
|
|
grafana:
|
|
scale: 1
|
|
start_on_create: true
|
|
lb_config:
|
|
port_rules:
|
|
- target_port: 3000
|
|
hostname: ${GRAFANA_DOMAIN}
|
|
|
|
influxdb:
|
|
scale: 1
|
|
start_on_create: true
|
|
lb_config:
|
|
port_rules:
|
|
- target_port: 80
|
|
hostname: ${DOMAIN}
|
|
- target_port: 80
|
|
hostname: ${GRAFANA_DOMAIN}
|
|
|
|
redirect-https:
|
|
scale: 1
|
|
start_on_create: true
|
|
|
|
letsencrypt-map:
|
|
scale: 1
|
|
start_on_create: true
|
|
lb_config:
|
|
port_rules:
|
|
- target_port: 80
|
|
hostname: ${DOMAIN}
|
|
letsencrypt-grafana:
|
|
scale: 1
|
|
start_on_create: true
|
|
lb_config:
|
|
port_rules:
|
|
- target_port: 80
|
|
hostname: ${GRAFANA_DOMAIN} |