Update 'template.json'
This commit is contained in:
+47
-16
@@ -1,21 +1,52 @@
|
|||||||
{
|
{
|
||||||
"version": "3",
|
"version": "2",
|
||||||
"services": {
|
"templates": [
|
||||||
"portainer": {
|
{
|
||||||
"image": "portainer/portainer-ce:latest",
|
"type": 1,
|
||||||
"container_name": "portainer",
|
"title": "Registry",
|
||||||
"restart": "unless-stopped",
|
"description": "Docker image registry",
|
||||||
"security_opt": [
|
"categories": ["docker"],
|
||||||
"no-new-privileges:true"
|
"platform": "linux",
|
||||||
],
|
"logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/registry.png",
|
||||||
|
"image": "registry:latest",
|
||||||
|
"ports": ["5000/tcp"],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"/etc/localtime:/etc/localtime:ro",
|
{
|
||||||
"/var/run/docker.sock:/var/run/docker.sock:ro",
|
"container": "/var/lib/registry"
|
||||||
"./portainer-data:/data"
|
}
|
||||||
],
|
]
|
||||||
"ports": [
|
},
|
||||||
"9000:9000"
|
{
|
||||||
|
"type": 1,
|
||||||
|
"title": "Ubuntu",
|
||||||
|
"description": "Debian-based Linux operating system",
|
||||||
|
"categories": ["operating-system"],
|
||||||
|
"platform": "linux",
|
||||||
|
"logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/ubuntu.png",
|
||||||
|
"image": "ubuntu:latest",
|
||||||
|
"interactive": true,
|
||||||
|
"command": "/bin/bash"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 3,
|
||||||
|
"title": "FDO",
|
||||||
|
"description": "FDO",
|
||||||
|
"platform": "linux",
|
||||||
|
"logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/intel.png",
|
||||||
|
"repository": {
|
||||||
|
"url": "https://github.com/portainer/templates",
|
||||||
|
"stackfile": "stacks/fdo/docker-stack.yml"
|
||||||
|
},
|
||||||
|
"env": [
|
||||||
|
{
|
||||||
|
"name": "owner_api_user",
|
||||||
|
"label": "API Username"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "owner_api_password",
|
||||||
|
"label": "API Password"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user