From 95609dc1795deec9e5ece85ad14e723c71db1f3c Mon Sep 17 00:00:00 2001 From: "Ullrich, Daniel" Date: Thu, 6 Jul 2023 13:57:35 +0200 Subject: [PATCH] feat: add templates.json and a README.md --- README.md | 2 + templates.json | 251 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 253 insertions(+) create mode 100644 README.md create mode 100644 templates.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..bd4c0e0 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# portainer-templates +This repo contains a set of atlassian templates for portainer in the json format. More precisely jira, confluence and a postgres-db for each of them diff --git a/templates.json b/templates.json new file mode 100644 index 0000000..964bdf3 --- /dev/null +++ b/templates.json @@ -0,0 +1,251 @@ +{ + "version": "2", + "templates": [ + { + "type": 1, + "title": "Confluence 8.1", + "description": "Installs Confluence 8.1 with OpenJDK", + "logo": "https://cdn.icon-icons.com/icons2/2429/PNG/512/confluence_logo_icon_147305.png", + "platform": "linux", + "name": "confluence", + "hostname": "confluence", + "categories": [ + "wiki", + "atlassian", + "confluence" + ], + "image": "atlassian/confluence:8.1", + "volumes": [ + { + "container": "/var/atlassian/application-data/confluence" + } + ], + "network": "app-net", + "env": [ + { + "name": "VIRTUAL_HOST", + "label": "VIRTUAL_HOST: Public URL of the application (mandatory)", + "description": "The public URL of the application used to configure the reverse proxy", + "default": "CHANGEME to sth.apps.scandio.net" + }, + { + "name": "VIRTUAL_PORT", + "label": "Port of the application to proxy (mandatory)", + "default": "8090", + "preset": true + }, + { + "name": "LETSENCRYPT_HOST", + "label": "LETSENCRYPT_HOST: Public URL of the application (mandatory and same as above)", + "description": "The public URL of the application used to issue a Let's Encrypt certificate", + "default": "CHANGEME to sth.apps.scandio.net" + }, + { + "name": "ATL_PROXY_NAME", + "label": "ATL_PROXY_NAME: Public URL of the application (mandatory and same as above)", + "description": "The public URL of the application used to configure the Tomcat connector", + "default": "CHANGEME to sth.apps.scandio.net" + }, + { + "name": "ATL_PROXY_PORT", + "label": "Public port of the application (mandatory)", + "default": "443", + "preset": true + }, + { + "name": "ATL_TOMCAT_SCHEME", + "label": "Public scheme of the application (mandatory)", + "default": "https", + "preset": true + }, + { + "name": "ATL_TOMCAT_SECURE", + "label": "Public scheme of the application (mandatory)", + "default": true, + "preset": true + }, + { + "name": "ATL_JDBC_USER", + "label": "Database User", + "default": "confluence" + }, + { + "name": "ATL_JDBC_PASSWORD", + "label": "Database Password", + "default": "confluence" + }, + { + "name": "ATL_JDBC_URL", + "label": "Database connection string", + "default": "jdbc:postgresql://confluence-db:5432/confluence" + }, + { + "name": "ATL_DB_TYPE", + "label": "The type of database", + "default": "postgresql" + } + ] + }, + { + "type": 1, + "title": "PostgreSQL 14 Confluence", + "description": "Installs PostgreSQL 14 for Confluence", + "logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/postgres.png", + "platform": "linux", + "name": "confluence-db", + "hostname": "confluence-db", + "categories": [ + "database", + "sql-database", + "postgresql" + ], + "image": "postgres:14", + "volumes": [ + { + "container": "/var/lib/postgresql/data" + } + ], + "network": "app-net", + "env": [ + { + "name": "POSTGRES_DB", + "label": "Database Name", + "default": "confluence" + }, + { + "name": "POSTGRES_USER", + "label": "Name of the database user (mandatory)", + "default": "confluence" + }, + { + "name": "POSTGRES_PASSWORD", + "label": "Password of the database user (mandatory)", + "default": "confluence" + } + ] + }, + { + "type": 1, + "title": "Jira 9", + "description": "Installs Jira 9", + "logo": "https://wac-cdn.atlassian.com/dam/jcr:88902887-3bc9-48f4-b428-39ef6b0b280d/Jira%20Core-icon-blue.svg?cdnVersion=693", + "platform": "linux", + "name": "jira", + "hostname": "jira", + "categories": [ + "project-management", + "atlassian", + "jira" + ], + "image": "atlassian/jira-core:9.7", + "volumes": [ + { + "container": "/var/atlassian/jira" + } + ], + "network": "app-net", + "env": [ + { + "name": "VIRTUAL_HOST", + "label": "VIRTUAL_HOST: Public URL of the application (mandatory)", + "description": "The public URL of the application used to configure the reverse proxy", + "default": "CHANGEME to sth.apps.scandio.net" + }, + { + "name": "VIRTUAL_PORT", + "label": "Port of the application to proxy (mandatory)", + "default": "8080", + "preset": true + }, + { + "name": "LETSENCRYPT_HOST", + "label": "LETSENCRYPT_HOST: Public URL of the application (mandatory and same as above)", + "description": "The public URL of the application used to issue a Let's Encrypt certificate", + "default": "CHANGEME to sth.apps.scandio.net" + }, + { + "name": "ATL_PROXY_NAME", + "label": "ATL_PROXY_NAME: Public URL of the application (mandatory and same as above)", + "description": "The public URL of the application used to configure the Tomcat connector", + "default": "CHANGEME to sth.apps.scandio.net" + }, + { + "name": "ATL_PROXY_PORT", + "label": "Public port of the application (mandatory)", + "default": "443", + "preset": true + }, + { + "name": "ATL_TOMCAT_SCHEME", + "label": "Public scheme of the application (mandatory)", + "default": "https", + "preset": true + }, + { + "name": "ATL_TOMCAT_SECURE", + "label": "Public scheme of the application (mandatory)", + "default": true, + "preset": true + }, + { + "name": "ATL_JDBC_USER", + "label": "Database User", + "default": "jira" + }, + { + "name": "ATL_JDBC_PASSWORD", + "label": "Database Password", + "default": "jira" + }, + { + "name": "ATL_JDBC_URL", + "label": "Database connection string", + "default": "jdbc:postgresql://jira-db:5432/jira" + }, + { + "name": "ATL_DB_TYPE", + "label": "The type of database", + "default": "postgresql" + } + ] + }, + { + "type": 1, + "title": "PostgreSQL 14 Jira", + "description": "Installs PostgreSQL 14 for Jira", + "logo": "https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/postgres.png", + "platform": "linux", + "name": "jira-db", + "hostname": "jira-db", + "categories": [ + "database", + "sql-database", + "postgresql" + ], + "image": "postgres:14", + "volumes": [ + { + "container": "/var/lib/postgresql/data" + } + ], + "network": "app-net", + "env": [ + { + "name": "POSTGRES_DB", + "label": "Database Name", + "default": "jira" + }, + { + "name": "POSTGRES_USER", + "label": "Name of the database user (mandatory)", + "default": "jira" + }, + { + "name": "POSTGRES_PASSWORD", + "label": "Password of the database user (mandatory)", + "default": "jira" + } + ] + } + ] +} \ No newline at end of file