Skip to content

Commit 0872668

Browse files
committed
portainer#62 feat(template): add consul.io template
1 parent 997e1bb commit 0872668

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

templates.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,35 @@
1212
],
1313
"volumes": ["/var/lib/registry"]
1414
},
15+
{
16+
"type": "container",
17+
"title": "Consul",
18+
"description": "Highly available and distributed service discovery and KV store",
19+
"categories": ["service-discovery"],
20+
"platform": "linux",
21+
"logo": "https://cdn.rawgit.com/docker-library/docs/8adb88e1e328c244711742f65319ed4064cff9a2/consul/logo.svg",
22+
"image": "consul:latest",
23+
"env": [
24+
{
25+
"name": "CONSUL_LOCAL_CONFIG",
26+
"label": "Configuration JSON via environment variable"
27+
},
28+
{
29+
"name": "CONSUL_CLIENT_INTERFACE",
30+
"label": "eth0"
31+
},
32+
{
33+
"name": "CONSUL_BIND_INTERFACE",
34+
"label": "eth0"
35+
}
36+
],
37+
"network": "host",
38+
"ports": [
39+
"8500/tcp",
40+
"8600/tcp"
41+
],
42+
"volumes": ["/consul/data", "/consul/config"]
43+
},
1544
{
1645
"type": "container",
1746
"title": "Nginx",

0 commit comments

Comments
 (0)