Switch to RAP
This commit is contained in:
parent
b2ba67faf3
commit
1b01125f01
33
templates/Rancher Active Proxy/0/docker-compose.yml
Normal file
33
templates/Rancher Active Proxy/0/docker-compose.yml
Normal file
@ -0,0 +1,33 @@
|
||||
version: '2'
|
||||
services:
|
||||
Rancher-Active-Proxy:
|
||||
image: adi90x/rancher-active-proxy
|
||||
environment:
|
||||
DEFAULT_HOST: ${DEFAULT_HOST}
|
||||
DEFAULT_EMAIL: ${DEFAULT_EMAIL}
|
||||
CRON: ${CRON}
|
||||
DEBUG: ${DEBUG}
|
||||
DEFAULT_PORT: ${DEFAULT_PORT}
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- proxy-htpasswd:/etc/nginx/htpasswd
|
||||
- proxy-vhost:/etc/nginx/vhost.d
|
||||
- proxy-le:/etc/letsencrypt
|
||||
- proxy-html:/usr/share/nginx/html
|
||||
tty: true
|
||||
ports:
|
||||
- ${DEFAULT_PORT}:80/tcp
|
||||
- 443:443/tcp
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.global: 'true'
|
||||
|
||||
volumes:
|
||||
proxy-htpasswd:
|
||||
driver: rancher-nfs
|
||||
proxy-vhost:
|
||||
driver: rancher-nfs
|
||||
proxy-le:
|
||||
driver: rancher-nfs
|
||||
proxy-html:
|
||||
driver: rancher-nfs
|
23
templates/Rancher Active Proxy/0/rancher-compose.yml
Normal file
23
templates/Rancher Active Proxy/0/rancher-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
.catalog:
|
||||
name: "Initial Version"
|
||||
version: "v0.0.2"
|
||||
questions:
|
||||
- variable: DEFAULT_HOST
|
||||
label: "Default Virtual Host to use"
|
||||
type: string
|
||||
- variable: DEFAULT_EMAIL
|
||||
label: "Default Email to use for Letsencrypt"
|
||||
default: "info@tstgmbh.com"
|
||||
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: "False"
|
||||
type: string
|
34
templates/Rancher Active Proxy/1/docker-compose.yml
Normal file
34
templates/Rancher Active Proxy/1/docker-compose.yml
Normal file
@ -0,0 +1,34 @@
|
||||
version: '2'
|
||||
services:
|
||||
Rancher-Active-Proxy:
|
||||
image: adi90x/rancher-active-proxy
|
||||
environment:
|
||||
DEFAULT_HOST: ${DEFAULT_HOST}
|
||||
DEFAULT_EMAIL: ${DEFAULT_EMAIL}
|
||||
CRON: ${CRON}
|
||||
DEBUG: ${DEBUG}
|
||||
DEFAULT_PORT: ${DEFAULT_PORT}
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- proxy-htpasswd:/etc/nginx/htpasswd
|
||||
- proxy-vhost:/etc/nginx/vhost.d
|
||||
- proxy-le:/etc/letsencrypt
|
||||
- proxy-html:/usr/share/nginx/html
|
||||
- proxy-confd:/etc/nginx/conf.d
|
||||
tty: true
|
||||
ports:
|
||||
- ${DEFAULT_PORT}:80/tcp
|
||||
- 443:443/tcp
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.global: 'true'
|
||||
|
||||
volumes:
|
||||
proxy-htpasswd:
|
||||
driver: rancher-nfs
|
||||
proxy-vhost:
|
||||
driver: rancher-nfs
|
||||
proxy-le:
|
||||
driver: rancher-nfs
|
||||
proxy-html:
|
||||
driver: rancher-nfs
|
23
templates/Rancher Active Proxy/1/rancher-compose.yml
Normal file
23
templates/Rancher Active Proxy/1/rancher-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
.catalog:
|
||||
name: "Initial Version"
|
||||
version: "v0.0.3"
|
||||
questions:
|
||||
- variable: DEFAULT_HOST
|
||||
label: "Default Virtual Host to use"
|
||||
type: string
|
||||
- variable: DEFAULT_EMAIL
|
||||
label: "Default Email to use for Letsencrypt"
|
||||
default: "info@tstgmbh.com"
|
||||
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: "False"
|
||||
type: string
|
36
templates/Rancher Active Proxy/2/docker-compose.yml
Normal file
36
templates/Rancher Active Proxy/2/docker-compose.yml
Normal file
@ -0,0 +1,36 @@
|
||||
version: '2'
|
||||
services:
|
||||
Rancher-Active-Proxy:
|
||||
image: adi90x/rancher-active-proxy
|
||||
environment:
|
||||
DEFAULT_HOST: ${DEFAULT_HOST}
|
||||
DEFAULT_EMAIL: ${DEFAULT_EMAIL}
|
||||
CRON: ${CRON}
|
||||
DEBUG: ${DEBUG}
|
||||
DEFAULT_PORT: ${DEFAULT_PORT}
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- proxy-htpasswd:/etc/nginx/htpasswd
|
||||
- proxy-vhost:/etc/nginx/vhost.d
|
||||
- proxy-le:/etc/letsencrypt
|
||||
- proxy-html:/usr/share/nginx/html
|
||||
- proxy-certs:/etc/nginx/certs
|
||||
tty: true
|
||||
ports:
|
||||
- ${DEFAULT_PORT}:80/tcp
|
||||
- 443:443/tcp
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.scheduler.global: 'true'
|
||||
|
||||
volumes:
|
||||
proxy-htpasswd:
|
||||
driver: rancher-nfs
|
||||
proxy-vhost:
|
||||
driver: rancher-nfs
|
||||
proxy-le:
|
||||
driver: rancher-nfs
|
||||
proxy-html:
|
||||
driver: rancher-nfs
|
||||
proxy-certs:
|
||||
driver: rancher-nfs
|
23
templates/Rancher Active Proxy/2/rancher-compose.yml
Normal file
23
templates/Rancher Active Proxy/2/rancher-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
.catalog:
|
||||
name: "Initial Version"
|
||||
version: "v0.0.4"
|
||||
questions:
|
||||
- variable: DEFAULT_HOST
|
||||
label: "Default Virtual Host to use"
|
||||
type: string
|
||||
- variable: DEFAULT_EMAIL
|
||||
label: "Default Email to use for Letsencrypt"
|
||||
default: "info@tstgmbh.com"
|
||||
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: "False"
|
||||
type: string
|
BIN
templates/Rancher Active Proxy/catalogIcon-RAP.svg
Normal file
BIN
templates/Rancher Active Proxy/catalogIcon-RAP.svg
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
7
templates/Rancher Active Proxy/config.yml
Normal file
7
templates/Rancher Active Proxy/config.yml
Normal file
@ -0,0 +1,7 @@
|
||||
name: Rancher Active Proxy
|
||||
description: "Automatic Active Proxy for Rancher with Let's Encrypt support"
|
||||
version: "v0.0.4"
|
||||
category: Proxy
|
||||
maintainer: AdrienM
|
||||
license: MIT
|
||||
projectURl: "https://github.com/adi90x/rancher-active-proxy"
|
20
templates/ffrs-webseite/1/docker-compose.yml
Normal file
20
templates/ffrs-webseite/1/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
website:
|
||||
build: https://github.com/Freifunk-Rhein-Sieg/freifunk-rhein-sieg.net.git
|
||||
volumes:
|
||||
- web:/project
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.pull_image: always
|
||||
rap.host: ${DOMAIN}
|
||||
rap.le_host: ${DOMAIN}
|
||||
rap.client_max_body_size: "10G"
|
||||
|
||||
volumes:
|
||||
web:
|
||||
driver: local
|
||||
zertifikate:
|
||||
driver: local
|
20
templates/ffrs-webseite/1/rancher-compose.yml
Normal file
20
templates/ffrs-webseite/1/rancher-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: '2'
|
||||
|
||||
catalog:
|
||||
|
||||
name: ffrs-website
|
||||
version: 2
|
||||
description: Freifunk Rhein Sieg Webseite
|
||||
questions:
|
||||
- variable: DOMAIN
|
||||
default: freifunk-rhein-sieg.net
|
||||
label: Domain
|
||||
required: true
|
||||
type: string
|
||||
|
||||
|
||||
services:
|
||||
|
||||
website:
|
||||
scale: 1
|
||||
start_on_create: true
|
Loading…
Reference in New Issue
Block a user