Adds an index for the self-hosted version
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|
||||||
COPY templates.json /usr/share/nginx/html/templates.json
|
COPY templates.json /usr/share/nginx/html/templates.json
|
||||||
|
COPY index.html /usr/share/nginx/html/index.html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
49
index.html
Normal file
49
index.html
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<head>
|
||||||
|
<title>Portainer Templates</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<h1>Portainer Templates</h1>
|
||||||
|
<p>
|
||||||
|
<i>Your template server is up and running 🎉</i>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Within your Portainer instance, you can add this URL as a template source:
|
||||||
|
<a href="/templates.json"><code>templates.json</code></a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
For further documentation, or to make changes, visit the GitHub repo at
|
||||||
|
<a href="https://github.com/lissy93/portainer-templates">github.com/lissy93/portainer-templates</a>
|
||||||
|
<br>
|
||||||
|
Or to browse the full list of apps, along with stats, config options and usage docs, see
|
||||||
|
<a href="https://portainer-templates.as93.net">portainer-templates.as93.net</a>
|
||||||
|
</p>
|
||||||
|
</main>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background: #101828;
|
||||||
|
color: #ffffff;
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 3rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
main {
|
||||||
|
background: #1d2939;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 6px;
|
||||||
|
margin: 1rem auto;
|
||||||
|
max-width: 1000px;
|
||||||
|
}
|
||||||
|
i {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #0ba5ec;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</body>
|
||||||
Reference in New Issue
Block a user