Update 'template.json'

This commit is contained in:
2022-04-28 11:56:36 +00:00
parent 8cf9e49340
commit 76615896d9
+16 -47
View File
@@ -1,52 +1,21 @@
{ {
"version": "2", "version": "3",
"templates": [ "services": {
{ "portainer": {
"type": 1, "image": "portainer/portainer-ce:latest",
"title": "Registry", "container_name": "portainer",
"description": "Docker image registry", "restart": "unless-stopped",
"categories": ["docker"], "security_opt": [
"platform": "linux", "no-new-privileges:true"
"logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/registry.png", ],
"image": "registry:latest",
"ports": ["5000/tcp"],
"volumes": [ "volumes": [
{ "/etc/localtime:/etc/localtime:ro",
"container": "/var/lib/registry" "/var/run/docker.sock:/var/run/docker.sock:ro",
} "./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"
}
] ]
} }
] }
} }