feat: add templates.json and a README.md

This commit is contained in:
2023-07-06 13:57:35 +02:00
commit 95609dc179
2 changed files with 253 additions and 0 deletions

2
README.md Normal file
View File

@@ -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

251
templates.json Normal file
View File

@@ -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"
}
]
}
]
}