From d8794586d983738983b749a44c20c17071816fb4 Mon Sep 17 00:00:00 2001 From: Deepika J Date: Thu, 28 Apr 2022 12:01:36 +0000 Subject: [PATCH] Add 'template1.json' --- template1.json | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 template1.json diff --git a/template1.json b/template1.json new file mode 100644 index 0000000..5e01a89 --- /dev/null +++ b/template1.json @@ -0,0 +1,52 @@ +{ + "version": "2", + "templates": [ + { + "type": 1, + "title": "Registry", + "description": "Docker image registry", + "categories": ["docker"], + "platform": "linux", + "logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/registry.png", + "image": "registry:latest", + "ports": ["5000/tcp"], + "volumes": [ + { + "container": "/var/lib/registry" + } + ] + }, + { + "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" + } + ] + } + ] +} \ No newline at end of file