Merge branch 'master' of https://github.com/rancher/community-catalog
This commit is contained in:
commit
ce3d75e330
46
infra-templates/portainer/0/README.md
Normal file
46
infra-templates/portainer/0/README.md
Normal file
@ -0,0 +1,46 @@
|
||||
**_Portainer_** is a lightweight management UI which allows you to **easily** manage your Docker host or Swarm cluster.
|
||||
|
||||
**_Portainer_** is meant to be as **simple** to deploy as it is to use. It consists of a single container that can run on any Docker engine (Docker for Linux and Docker for Windows are supported).
|
||||
|
||||
**_Portainer_** allows you to manage your Docker containers, images, volumes, networks and more ! It is compatible with the *standalone Docker* engine and with *Docker Swarm*.
|
||||
|
||||
## Getting started
|
||||
|
||||
Once you have deploy the stack you can access the Portainer UI at `http://<RANCHER SERVER>/r/projects/<PROJECT ID>/portainer/`.
|
||||
For example
|
||||
|
||||
http://rancher-server:8080/r/projects/1a5/portainer/
|
||||
|
||||
Note, the trailing / is important in the URL
|
||||
|
||||
## Demo
|
||||
|
||||
<img src="http://portainer.io/images/screenshots/portainer.gif" width="77%"/>
|
||||
|
||||
You can try out the public demo instance: http://demo.portainer.io/ (login with the username **demo** and the password **tryportainer**).
|
||||
|
||||
Please note that the public demo cluster is **reset every 15min**.
|
||||
|
||||
## Getting help
|
||||
|
||||
* Documentation: https://portainer.readthedocs.io
|
||||
* Issues: https://github.com/portainer/portainer/issues
|
||||
* FAQ: https://portainer.readthedocs.io/en/latest/faq.html
|
||||
* Gitter (chat): https://gitter.im/portainer/Lobby
|
||||
* Slack: http://portainer.io/slack/
|
||||
|
||||
## Reporting bugs and contributing
|
||||
|
||||
* Want to report a bug or request a feature? Please open [an issue](https://github.com/portainer/portainer/issues/new).
|
||||
* Want to help us build **_portainer_**? Follow our [contribution guidelines](https://portainer.readthedocs.io/en/latest/contribute.html) to build it locally and make a pull request. We need all the help we can get!
|
||||
|
||||
## Limitations
|
||||
|
||||
**_Portainer_** has full support for the following Docker versions:
|
||||
|
||||
* Docker 1.10 to Docker 1.12 (including `swarm-mode`)
|
||||
* Docker Swarm >= 1.2.3
|
||||
|
||||
Partial support for the following Docker versions (some features may not be available):
|
||||
|
||||
* Docker 1.9
|
15
infra-templates/portainer/0/docker-compose.yml
Normal file
15
infra-templates/portainer/0/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
portainer:
|
||||
labels:
|
||||
io.rancher.sidekicks: ui
|
||||
io.rancher.container.create_agent: true
|
||||
io.rancher.container.agent.role: environment
|
||||
image: rancher/portainer-agent:v0.1.0
|
||||
volumes:
|
||||
- /config
|
||||
|
||||
ui:
|
||||
image: portainer/portainer:pr572
|
||||
command: --no-auth --external-endpoints=/config/config.json --sync-interval=5s -p :80
|
||||
volumes_from:
|
||||
- portainer
|
||||
net: container:portainer
|
5
infra-templates/portainer/0/rancher-compose.yml
Normal file
5
infra-templates/portainer/0/rancher-compose.yml
Normal file
@ -0,0 +1,5 @@
|
||||
.catalog:
|
||||
name: "Portainer"
|
||||
version: "1.11.4"
|
||||
description: Open-source lightweight management UI for a Docker host or Swarm cluster
|
||||
minimum_rancher_version: v1.5.0-rc1
|
BIN
infra-templates/portainer/catalogIcon.png
Normal file
BIN
infra-templates/portainer/catalogIcon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
5
infra-templates/portainer/config.yml
Normal file
5
infra-templates/portainer/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
name: portainer
|
||||
description: |
|
||||
Portainer is an open-source lightweight management UI which allows you to easily manage your Docker host or Swarm cluster
|
||||
version: 1.11.4
|
||||
category: Management
|
1
machine-templates/interoutevdc/0/checksum
Normal file
1
machine-templates/interoutevdc/0/checksum
Normal file
@ -0,0 +1 @@
|
||||
152fd64fb4936454c8eb95fa57450753
|
3
machine-templates/interoutevdc/0/rancher-compose.yml
Normal file
3
machine-templates/interoutevdc/0/rancher-compose.yml
Normal file
@ -0,0 +1,3 @@
|
||||
.catalog:
|
||||
name: "interoutevdc"
|
||||
version: "0.1.0"
|
1
machine-templates/interoutevdc/0/uiUrl
Normal file
1
machine-templates/interoutevdc/0/uiUrl
Normal file
@ -0,0 +1 @@
|
||||
https://myservices.interoute.com/rancher/component.js
|
1
machine-templates/interoutevdc/0/url
Normal file
1
machine-templates/interoutevdc/0/url
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/Interoute/docker-machine-driver-interoutevdc/releases/download/v1.0/docker-machine-driver-interoutevdc_linux-amd64.tar.gz
|
84
machine-templates/interoutevdc/catalogIcon-interoutevdc.svg
Normal file
84
machine-templates/interoutevdc/catalogIcon-interoutevdc.svg
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 67.2 69" style="enable-background:new 0 0 67.2 69;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#FFFFFF;}
|
||||
.st1{fill:#242020;}
|
||||
.st2{fill:#DE654D;}
|
||||
.st3{fill:#FFCC4E;}
|
||||
.st4{fill:#F79434;}
|
||||
.st5{fill:#272424;}
|
||||
.st6{fill:#272323;}
|
||||
.st7{fill:#282424;}
|
||||
.st8{fill:#2B2727;}
|
||||
.st9{fill:#2B2627;}
|
||||
.st10{fill:#2A2627;}
|
||||
.st11{fill:#2D2A2A;}
|
||||
.st12{fill:#2F2A2B;}
|
||||
.st13{fill:#2F2B2B;}
|
||||
.st14{fill:#2A2626;}
|
||||
.st15{fill:#322E2E;}
|
||||
.st16{fill:#262223;}
|
||||
</style>
|
||||
<rect class="st0" width="67.2" height="69"/>
|
||||
<g>
|
||||
<path class="st1" d="M59.8,37.4c-0.4,1.7-1,3.3-1.8,4.9c-1.7-1-3.4-1.3-5.3-0.9c-1.4,0.4-2.6,1.1-3.5,2.3c-1.7,2.1-2.2,5.7,0.3,8.6
|
||||
c-1.4,1-2.9,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-5.3,2.3-6,5.1
|
||||
c-0.3,1.4-0.2,2.7,0.3,4c0.7,1.8,2.1,3,3.9,3.7c-3.5,1.4-4.8,4.6-4.3,7.3c0.5,2.8,2.7,5.1,5.7,5.5C30.2,44,32.9,42.2,34,39.3z"/>
|
||||
<path class="st2" d="M38.7,8.2c-1.8,0-3.3-1.5-3.3-3.3c0-2,1.6-3.3,3.3-3.3c1.8,0,3.3,1.5,3.3,3.3C42.1,6.7,40.6,8.2,38.7,8.2z"/>
|
||||
<path class="st3" d="M12.4,21.8c0,1.7-1.3,3.3-3.3,3.3c-2.1,0-3.3-1.7-3.3-3.3c0-1.8,1.5-3.3,3.3-3.3
|
||||
C11.2,18.5,12.5,20.3,12.4,21.8z"/>
|
||||
<path class="st4" d="M24,7.9c0,1.8-1.5,3.3-3.3,3.3c-1.8,0-3.3-1.5-3.3-3.3c0-1.8,1.5-3.3,3.3-3.3C22.6,4.6,24,6.1,24,7.9z"/>
|
||||
<path class="st5" d="M50.5,60.5c0.1,0,0.1,0,0.2,0c1,0,1.9,0,2.9,0c0.4,0,0.7,0.1,1.1,0.2c0.8,0.3,1.4,0.8,1.6,1.7
|
||||
c0.2,0.8,0.2,1.6,0,2.4c-0.3,1.1-1,1.9-2.4,2c-1.1,0.1-2.2,0.1-3.3,0.1c0,0,0,0-0.1,0C50.5,64.7,50.5,62.6,50.5,60.5z M52.3,65.4
|
||||
c0.4,0,0.8,0,1.2-0.1c0.5-0.1,0.9-0.4,1-0.9c0.1-0.5,0.1-0.9,0-1.4c-0.1-0.5-0.4-0.8-0.9-0.9c-0.4-0.1-0.9-0.1-1.3-0.1
|
||||
C52.3,63.1,52.3,64.2,52.3,65.4z"/>
|
||||
<path class="st6" d="M47.8,66.8c-0.7,0-1.3,0-2,0c-0.8-2.1-1.6-4.2-2.4-6.4c0.7,0,1.4,0,2.1,0c0.4,1.4,0.8,2.7,1.2,4.1
|
||||
c0,0,0.1,0,0.1,0c0.4-1.4,0.8-2.7,1.2-4.1c0.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c0-0.2,0-0.5,0-0.7c0.2,0,0.4,0,0.6,0
|
||||
c0-0.4,0-0.8,0-1.2c0.3-0.1,0.6-0.1,1-0.2c0,0.5,0,0.9,0,1.4c0.5,0,0.9,0,1.3,0c0,0.3,0,0.5,0,0.7c-0.4,0-0.8,0-1.3,0
|
||||
c0,0.1,0,0.2,0,0.3c0,0.8,0,1.6,0,2.3c0,0.1,0,0.1,0,0.2c0,0.4,0.2,0.6,0.6,0.5C14.9,65.9,15.2,65.8,15.4,65.8z"/>
|
||||
<path class="st15" d="M21.4,61.9c0.3,0,0.6,0,0.9,0c0,0.3,0,0.5,0,0.8c0.5-0.6,1-0.9,1.8-0.8c0,0.3,0,0.6,0,0.9
|
||||
c-0.1,0-0.2,0-0.3,0.1c-0.9,0.1-1.5,0.8-1.5,1.7c0,0.6,0,1.2,0,1.8c0,0.1,0,0.3,0,0.4c-0.3,0-0.6,0-1,0
|
||||
C21.4,65.1,21.4,63.5,21.4,61.9z"/>
|
||||
<path class="st16" d="M5.2,60.3c0.3,0,0.6,0,0.9,0c0,2.1,0,4.2,0,6.4c-0.3,0-0.6,0-0.9,0C5.2,64.6,5.2,62.5,5.2,60.3z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.8 KiB |
2
machine-templates/interoutevdc/config.yml
Normal file
2
machine-templates/interoutevdc/config.yml
Normal file
@ -0,0 +1,2 @@
|
||||
name: interoutevdc
|
||||
version: "0.1.0"
|
46
mesos-templates/mesos-dns/0/README.md
Normal file
46
mesos-templates/mesos-dns/0/README.md
Normal file
@ -0,0 +1,46 @@
|
||||
# Mesos-dns (Experimental)
|
||||
|
||||
### Info
|
||||
|
||||
Add mesos-dns component to your mesos orchestrator, to be able that docker
|
||||
|
||||
### Usage
|
||||
|
||||
Mesos-dns will be listening at link_local_ip and will forward dns queries to rancherDNS.
|
||||
|
||||
To deploy marathon tasks, you need to set network=HOST and set dns=link_local_ip
|
||||
|
||||
Marathon json template example
|
||||
```
|
||||
{
|
||||
"id": "NAME",
|
||||
"cmd": null,
|
||||
"cpus": 1,
|
||||
"mem": 128,
|
||||
"disk": 0,
|
||||
"instances": 1,
|
||||
"container": {
|
||||
"type": "DOCKER",
|
||||
"volumes": [],
|
||||
"docker": {
|
||||
"image": “DOCKER_IMAGE",
|
||||
"network": "HOST",
|
||||
"privileged": false,
|
||||
"parameters": [
|
||||
{
|
||||
"key": "dns",
|
||||
"value": "169.254.169.251"
|
||||
}
|
||||
],
|
||||
"forcePullImage": false
|
||||
}
|
||||
},
|
||||
"portDefinitions": [
|
||||
{
|
||||
"port": 10000,
|
||||
"protocol": "tcp",
|
||||
"labels": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
34
mesos-templates/mesos-dns/0/docker-compose.yml
Normal file
34
mesos-templates/mesos-dns/0/docker-compose.yml
Normal file
@ -0,0 +1,34 @@
|
||||
version: '2'
|
||||
services:
|
||||
mesos-dns:
|
||||
labels:
|
||||
io.rancher.scheduler.global: 'true'
|
||||
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.sidekicks: mesos-dns-route
|
||||
tty: true
|
||||
image: rawmind/alpine-mesos-dns:0.6.0-3
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
external_links:
|
||||
- mesos/zookeeper:zookeeper
|
||||
- mesos/mesos-master:master
|
||||
environment:
|
||||
- MESOS_ZK=zk://zookeeper.mesos:2181/mesos
|
||||
- MESOS_MASTER="master.mesos:5050"
|
||||
- MESOS_DNS_DOMAIN=${mesos_domain}
|
||||
- MESOS_DNS_RESOLVERS="169.254.169.250"
|
||||
- LINK_LOCAL_IP=${mesos_localip}
|
||||
mesos-dns-route:
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: 'true'
|
||||
tty: true
|
||||
network_mode: host
|
||||
image: rawmind/alpine-link-local:0.1-2
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- DESTINATION_IP=${mesos_localip}
|
||||
- BRIDGE=${mesos_bridge}
|
32
mesos-templates/mesos-dns/0/rancher-compose.yml
Normal file
32
mesos-templates/mesos-dns/0/rancher-compose.yml
Normal file
@ -0,0 +1,32 @@
|
||||
.catalog:
|
||||
name: mesos-dns
|
||||
version: v0.6.0-rancher1
|
||||
description: |
|
||||
(Experimental) Mesos-dns.
|
||||
minimum_rancher_version: v0.59.0
|
||||
maintainer: "Raul Sanchez <rawmind@gmail.com>"
|
||||
uuid: mesos-dns-0
|
||||
questions:
|
||||
- variable: "mesos_domain"
|
||||
description: "Mesos domain."
|
||||
label: "Mesos domain:"
|
||||
required: true
|
||||
default: "mesos"
|
||||
type: "string"
|
||||
- variable: "mesos_localip"
|
||||
description: "Link Local Ip."
|
||||
label: "Mesos LLI:"
|
||||
required: true
|
||||
default: "169.254.169.251"
|
||||
type: "string"
|
||||
- variable: "mesos_bridge"
|
||||
description: "Bridge."
|
||||
label: "Mesos bridge:"
|
||||
required: true
|
||||
default: "docker0"
|
||||
type: "string"
|
||||
mesos-dns:
|
||||
retain_ip: true
|
||||
|
||||
|
||||
|
36
mesos-templates/mesos-dns/catalogIcon-mesos-dns.svg
Normal file
36
mesos-templates/mesos-dns/catalogIcon-mesos-dns.svg
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="-323 267 56 64" style="enable-background:new -323 267 56 64;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#00435A;}
|
||||
.st1{fill:#00AEDE;}
|
||||
.st2{fill:#394D54;}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M-281.5,306v-13.8l-11.9,6.9L-281.5,306"/>
|
||||
<path class="st1" d="M-282.2,290.8l-11.9-6.9v13.8L-282.2,290.8"/>
|
||||
<path class="st1" d="M-295.7,297.7v-13.8l-12,6.9L-295.7,297.7"/>
|
||||
<path class="st1" d="M-296.5,282.6l-11.9-6.9v13.9L-296.5,282.6"/>
|
||||
<path class="st0" d="M-282.2,307.3l-11.9-6.9v13.8L-282.2,307.3"/>
|
||||
<path class="st0" d="M-295.7,314.3v-13.8l-12,6.9L-295.7,314.3"/>
|
||||
<path class="st1" d="M-267.9,299.1l-12-6.9V306L-267.9,299.1"/>
|
||||
<path class="st1" d="M-310,289.5v-13.9l-12,6.9L-310,289.5"/>
|
||||
<path class="st0" d="M-296.5,315.6l-11.9-6.9v13.8L-296.5,315.6"/>
|
||||
<path class="st1" d="M-310,322.5v-13.8l-12,6.9L-310,322.5"/>
|
||||
<path class="st0" d="M-296.5,299.1l-11.9-6.9V306L-296.5,299.1"/>
|
||||
<path class="st1" d="M-281.5,289.5v-13.9l-11.9,6.9L-281.5,289.5"/>
|
||||
<path class="st0" d="M-294.2,267.4v13.8l11.9-6.9L-294.2,267.4"/>
|
||||
<path class="st0" d="M-307.7,274.3l12,6.9v-13.8L-307.7,274.3"/>
|
||||
<path class="st0" d="M-282.2,323.8l-11.9-6.9v13.8L-282.2,323.8"/>
|
||||
<path class="st0" d="M-295.7,330.8v-13.8l-12,6.9L-295.7,330.8"/>
|
||||
<path class="st1" d="M-267.2,314.3v-13.8l-11.9,6.9L-267.2,314.3"/>
|
||||
<path class="st1" d="M-310,306v-13.9l-12,6.9L-310,306"/>
|
||||
<path class="st1" d="M-310.8,307.3l-12.1-6.9v13.8L-310.8,307.3"/>
|
||||
<path class="st1" d="M-267.2,297.7v-13.8l-11.9,6.9L-267.2,297.7"/>
|
||||
<path class="st1" d="M-267.9,282.6l-12-6.9v13.9L-267.9,282.6"/>
|
||||
<path class="st1" d="M-267.9,315.6l-12-6.9v13.8L-267.9,315.6"/>
|
||||
<path class="st0" d="M-281.5,322.5v-13.8l-11.9,6.9L-281.5,322.5"/>
|
||||
<path class="st1" d="M-310.8,290.8l-12.1-6.9v13.8L-310.8,290.8"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
8
mesos-templates/mesos-dns/config.yml
Normal file
8
mesos-templates/mesos-dns/config.yml
Normal file
@ -0,0 +1,8 @@
|
||||
name: Mesos-dns
|
||||
description: |
|
||||
(Experimental) Mesos-dns
|
||||
version: v0.6.0-rancher1
|
||||
category: External DNS
|
||||
maintainer: "Raul Sanchez <rawmind@gmail.com>"
|
||||
license:
|
||||
projectURL: https://github.com/rawmind0/alpine-mesos-dns
|
@ -2,7 +2,7 @@ mongo-cluster:
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_SERVICE_NAME: mongo-cluster
|
||||
tty: true
|
||||
CATTLE_SCRIPT_DEBUG: ${debug}
|
||||
entrypoint: /opt/rancher/bin/entrypoint.sh
|
||||
command:
|
||||
- --replSet
|
||||
@ -17,11 +17,10 @@ mongo-cluster:
|
||||
mongo-base:
|
||||
restart: always
|
||||
net: none
|
||||
tty: true
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: true
|
||||
image: rancher/mongodb-conf:v0.1.0
|
||||
image: rancher/mongodb-conf:v0.1.1
|
||||
stdin_open: true
|
||||
entrypoint: /bin/true
|
||||
mongo-datavolume:
|
||||
|
@ -11,6 +11,12 @@
|
||||
type: "string"
|
||||
required: true
|
||||
default: "rs0"
|
||||
- variable: debug
|
||||
description: "Enable Debug log for Mongo containers"
|
||||
label: "Debug"
|
||||
type: "string"
|
||||
required: false
|
||||
default: ""
|
||||
mongo-cluster:
|
||||
scale: 3
|
||||
retain_ip: true
|
||||
|
@ -2,7 +2,7 @@ mongo-cluster:
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_SERVICE_NAME: mongo-cluster
|
||||
tty: true
|
||||
CATTLE_SCRIPT_DEBUG: ${debug}
|
||||
entrypoint: /opt/rancher/bin/entrypoint.sh
|
||||
command:
|
||||
- --replSet
|
||||
@ -17,11 +17,10 @@ mongo-cluster:
|
||||
mongo-base:
|
||||
restart: always
|
||||
net: none
|
||||
tty: true
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: true
|
||||
image: rancher/mongodb-conf:v0.1.0
|
||||
image: rancher/mongodb-conf:v0.1.1
|
||||
stdin_open: true
|
||||
entrypoint: /bin/true
|
||||
mongo-datavolume:
|
||||
|
@ -11,6 +11,12 @@
|
||||
type: "string"
|
||||
required: true
|
||||
default: "rs0"
|
||||
- variable: debug
|
||||
description: "Enable Debug log for Mongo containers"
|
||||
label: "Debug"
|
||||
type: "string"
|
||||
required: false
|
||||
default: ""
|
||||
mongo-cluster:
|
||||
scale: 3
|
||||
retain_ip: true
|
||||
|
@ -2,7 +2,7 @@ mongo-cluster:
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_SERVICE_NAME: mongo-cluster
|
||||
tty: true
|
||||
CATTLE_SCRIPT_DEBUG: ${debug}
|
||||
entrypoint: /opt/rancher/bin/entrypoint.sh
|
||||
command:
|
||||
- --replSet
|
||||
@ -18,12 +18,11 @@ mongo-cluster:
|
||||
mongo-base:
|
||||
restart: always
|
||||
net: none
|
||||
tty: true
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${host_label}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.start_once: true
|
||||
image: rancher/mongodb-conf:v0.1.0
|
||||
image: rancher/mongodb-conf:v0.1.1
|
||||
stdin_open: true
|
||||
entrypoint: /bin/true
|
||||
mongo-datavolume:
|
||||
|
@ -18,6 +18,12 @@
|
||||
Example: 'database'
|
||||
required: false
|
||||
type: "string"
|
||||
- variable: debug
|
||||
description: "Enable Debug log for Mongo containers"
|
||||
label: "Debug"
|
||||
type: "string"
|
||||
required: false
|
||||
default: ""
|
||||
mongo-cluster:
|
||||
scale: 3
|
||||
retain_ip: true
|
||||
|
@ -19,7 +19,7 @@
|
||||
type: "int"
|
||||
- variable: ssh_port
|
||||
description: "ssh port to access gogs cli"
|
||||
label: "Ssh Port"
|
||||
label: "SSH Port"
|
||||
required: true
|
||||
default: "222"
|
||||
type: "int"
|
||||
@ -27,7 +27,7 @@
|
||||
description: "mysql root password"
|
||||
label: "Mysql Password"
|
||||
required: true
|
||||
default: "password"
|
||||
type: "string"
|
||||
default: ""
|
||||
type: "password"
|
||||
|
||||
gogs:
|
||||
|
18
templates/neuvector/0/README.md
Normal file
18
templates/neuvector/0/README.md
Normal file
@ -0,0 +1,18 @@
|
||||
# NeuVector
|
||||
|
||||
### Info:
|
||||
|
||||
NeuVector provides continuous network security for application containers.
|
||||
|
||||
Deploy the NeuVector containers to protect running containers from violations, threats, and vulnerabilities. NeuVector also detects host and container privilege escalations / break outs.
|
||||
|
||||
NeuVector can be deployed on greenfield or brownfield (already running) application environments.
|
||||
|
||||
|
||||
### Usage:
|
||||
|
||||
Contact <a style="color:red;font-weight:bold" href="mailto:info@neuvector.com?Subject=Rancher%20Catalog" target="_top">info@neuvector.com</a> with your Docker Hub Id so we can add you to our private registry.
|
||||
After we confirm that you have been added, you can select the NeuVector catalog to deploy the Allinone and Enforcer containers.
|
||||
|
||||
The Manager default port is 8443 using HTTPS for logging in to the console.
|
||||
The default username is admin and password is admin. After successful login, the admin user should update the account with a more secure password.
|
35
templates/neuvector/0/docker-compose.yml
Normal file
35
templates/neuvector/0/docker-compose.yml
Normal file
@ -0,0 +1,35 @@
|
||||
allinone:
|
||||
image: neuvector/allinone:0.9
|
||||
container_name: neuvector.allinone
|
||||
restart: always
|
||||
privileged: true
|
||||
environment:
|
||||
- affinity:com.myself.name!=neuvector
|
||||
- CLUSTER_JOIN_ADDR=allinone
|
||||
ports:
|
||||
- 8443:8443
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /proc:/host/proc:ro
|
||||
- /sys/fs/cgroup:/host/cgroup:ro
|
||||
labels:
|
||||
com.myself.name: "neuvector"
|
||||
io.rancher.scheduler.affinity:host_label: ${NV_ALLINONE_LABEL}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
enforcer:
|
||||
image: neuvector/enforcer:0.9
|
||||
container_name: neuvector.enforcer
|
||||
restart: always
|
||||
privileged: true
|
||||
environment:
|
||||
- affinity:com.myself.name!=neuvector
|
||||
- CLUSTER_JOIN_ADDR=allinone
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /proc:/host/proc:ro
|
||||
- /sys/fs/cgroup/:/host/cgroup/:ro
|
||||
labels:
|
||||
com.myself.name: "neuvector"
|
||||
io.rancher.scheduler.global: true
|
||||
io.rancher.scheduler.affinity:host_label_ne: ${NV_ALLINONE_LABEL}
|
||||
io.rancher.container.hostname_override: container_name
|
11
templates/neuvector/0/rancher-compose.yml
Normal file
11
templates/neuvector/0/rancher-compose.yml
Normal file
@ -0,0 +1,11 @@
|
||||
.catalog:
|
||||
name: "NeuVector"
|
||||
version: "v0.9"
|
||||
description: "Container Security Solution"
|
||||
questions:
|
||||
- variable: "NV_ALLINONE_LABEL"
|
||||
label: "Allinone Host label"
|
||||
description: "Specify a host label here that can be used to deploy the NeuVector AllInOne container, the NeuVector enforcer container will be deployed on any other hosts. Eg: neuvector.allinone_node=true (you could then add the label 'neuvector.allinone_node=true' to one host to use as management node)."
|
||||
type: "string"
|
||||
default: "neuvector.allinone_node=true"
|
||||
required: true
|
BIN
templates/neuvector/catalogIcon-neuvector.png
Normal file
BIN
templates/neuvector/catalogIcon-neuvector.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
6
templates/neuvector/config.yml
Normal file
6
templates/neuvector/config.yml
Normal file
@ -0,0 +1,6 @@
|
||||
name: NeuVector
|
||||
description: |
|
||||
Container Application Security
|
||||
version: v0.9
|
||||
category: Security
|
||||
maintainer: neuvector support <support@neuvector.com>
|
@ -1,9 +1,15 @@
|
||||
# [1.1.2-GA Documentation](http://docs.portworx.com)
|
||||
# [1.1.6-GA Documentation](http://docs.portworx.com)
|
||||
|
||||
This catalog will spin up Portworx on your hosts.
|
||||
There are 2 configuration variables required:
|
||||
1. **cluster_id**: Arbitrary Cluster ID, common to all nodes in PX cluster. (Can use https://www.uuidgenerator.net for example)
|
||||
2. **kvdb**: A Key-value database that is accessible to all nodes in the PX cluster. (Ex: etcd://10.0.0.42:4001)
|
||||
3. **header_dir**: The directory where kernel headers can be found. Default is "/usr/src". For CoreOS use "/lib/modules"
|
||||
4. **use_disks**: The list of devices to use as part of the cluster fabric. (Ex: '-a' for all disks, or '-s /dev/sdX' for each individual disk)
|
||||
|
||||
**NOTE**: px-dev requires at least one non-root disk be attached to the running image (i.e local disk or iscsi).
|
||||
|
||||
**NOTE**: If using Docker prior to 1.12, then you **MUST** remove 'MOUNT=shared' from the docker.service file and restart the docker service.
|
||||
|
||||
For detailed documentation, please visit [docs.portworx.com](http://docs.portworx.com)
|
||||
|
||||
|
@ -3,7 +3,7 @@ portworx:
|
||||
io.rancher.container.create_agent: 'true'
|
||||
io.rancher.scheduler.global: 'true'
|
||||
io.rancher.container.pull_image: 'always'
|
||||
image: portworx/px-dev
|
||||
image: portworx/px-dev:edge
|
||||
container_name: px
|
||||
ipc: host
|
||||
net: host
|
||||
@ -11,13 +11,15 @@ portworx:
|
||||
environment:
|
||||
CLUSTER_ID: ${cluster_id}
|
||||
KVDB: ${kvdb}
|
||||
HDR_DIR: ${header_dir}
|
||||
USE_DISKS: ${use_disks}
|
||||
volumes:
|
||||
- /dev:/dev
|
||||
- /usr/src:/usr/src
|
||||
- ${header_dir}:${header_dir}
|
||||
- /run/docker/plugins:/run/docker/plugins
|
||||
- /var/lib/osd:/var/lib/osd:shared
|
||||
- /etc/pwx:/etc/pwx
|
||||
- /opt/pwx/bin:/export_bin:shared
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/cores:/var/cores
|
||||
command: -c ${cluster_id} -k ${kvdb} -a -z -f
|
||||
command: -c ${cluster_id} -k ${kvdb} ${use_disks}
|
||||
|
@ -1,8 +1,8 @@
|
||||
.catalog:
|
||||
name: "Portworx"
|
||||
version: "1.1.2-2017-01-06-GA"
|
||||
version: "1.1.6-2017-02-08-GA"
|
||||
description: "Container Defined Storage for Docker"
|
||||
uuid: 352669-pwx-1.1.2
|
||||
uuid: 352669-pwx-1.1.6
|
||||
minimum_rancher_version: v0.56.0
|
||||
questions:
|
||||
- variable: cluster_id
|
||||
@ -17,3 +17,15 @@
|
||||
type: "string"
|
||||
required: true
|
||||
default: ""
|
||||
- variable: use_disks
|
||||
description: "Cmdline args for disks to use. Ex: '-a' for all available, or '-s /dev/sdX' for each individual disk"
|
||||
label: "Use Disks"
|
||||
type: "string"
|
||||
required: true
|
||||
default: "-s /dev/xvdb"
|
||||
- variable: header_dir
|
||||
description: "Directory where kernel headers can be found. Default is '/usr/src'. For CoreOS use '/lib/modules'"
|
||||
label: "Headers Directory"
|
||||
type: "string"
|
||||
required: true
|
||||
default: "/usr/src"
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: px-dev
|
||||
description: |
|
||||
Software defined enterprise storage for Linux Containers.
|
||||
version: 1.1.2-2017-01-06-GA
|
||||
version: 1.1.6-2017-02-08-GA
|
||||
category: Storage
|
||||
|
@ -4,4 +4,4 @@
|
||||
|
||||
## Info
|
||||
* Easy setup with all needed data: `database_name`, `user`, `password`
|
||||
* Load Balancer used to forroward Postgress port for the external services.
|
||||
* Load Balancer used to forward Postgres port for the external services.
|
||||
|
@ -33,7 +33,9 @@ Traefik labels has to be added in your services, in order to get included in tra
|
||||
- false: the service will not be published
|
||||
- traefik.priority = <priority> # Override for frontend priority. 5 by default
|
||||
- traefik.protocol = < http | https > # Override the default http protocol
|
||||
- traefik.alias = < alias > # Alternate names to route rule. Multiple values separated by ",". WARNING: You could have collisions BE CAREFULL
|
||||
- traefik.sticky = < true | false > # Enable/disable sticky sessions to the backend
|
||||
- traefik.alias = < alias > # Alternate names to route rule. Multiple values separated by ",". traefik.domain is appended. WARNING: You could have collisions BE CAREFULL
|
||||
- traefik.alias.fqdn = < alias fqdn > # Alternate names to route rule. Multiple values separated by ",". traefik.domain must be defined but is not appended here.
|
||||
- traefik.domain = < domain.name > # Domain names to route rules. Multiple domains separated by ","
|
||||
- traefik.domain.regexp = < domain.regexp > # Domain name regexp rule. Multiple domains separated by ","
|
||||
- traefik.port = < port > # Port to expose throught traefik
|
||||
|
@ -33,7 +33,7 @@ traefik-conf:
|
||||
io.rancher.container.start_once: 'true'
|
||||
tty: true
|
||||
log_opt: {}
|
||||
image: rawmind/rancher-traefik:0.3.4-18
|
||||
image: rawmind/rancher-traefik:0.3.4-19
|
||||
net: none
|
||||
volumes:
|
||||
- /opt/tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user