Skip to content

A bounce of Portainer templates, pre-configured for use with Traefik.

License

Notifications You must be signed in to change notification settings

gremo/portainer-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portainer Templates

Banner

GitHub Actions Workflow Status GitHub last commit GitHub issues GitHub pull requests

A bounce of Portainer templates, pre-configured for use with Traefik. Simple, no frills, just made to be up and running in a few minutes.

Containers and services may be labeled with:

✨ Quick start

In Portainer web UI, under Settings → General → App Templates, use the following URL:

https://raw.githubusercontent.com/gremo/portainer-templates/refs/heads/main/templates.json

Then in Home → Templates → Applications you should see all the available applications.

🛟 Traefik tips

Generally, templates only allow you to change the Traefik network and endpoint to use while configuration of the endpoint, certificates, and redirections are your responsibility (see below). If you use the following conventions, no major changes are required when deploying a container or a stack.

Network

Default Traefik network name: traefik

Containers and stacks using Traefik must specify the Traefik network, which must be created beforehand as external. Ensure that Traefik itself is included in this network.

Secure entrypoints

Default secure Traefik endpoint name: websecure

Configure the secure endpoint correctly on port 443:

--entrypoints.web.address=:80
--entrypoints.websecure.address=:443

Make sure that both ports 80 (HTTP) and 443 (HTTPS) are exposed by Traefik and are accessible through the firewall.

HTTPS certificate

You probably want an automatic certificate issuance, this example shows a Let's Encrypt resolver configured with the TLS challenge:

--entrypoints.websecure.http.tls.certresolver=letsencrypt
--certificatesresolvers.letsencrypt.acme.email=your-email@example.com
--certificatesresolvers.letsencrypt.acme.tlschallenge=true
--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json

HTTP to HTTPS redirect

You may also want to enable automatic redirection from HTTP to HTTPS:

--entrypoints.web.http.redirections.entryPoint.to=websecure
--entrypoints.web.http.redirections.entrypoint.permanent=true
--entrypoints.web.http.redirections.entryPoint.scheme=https

❤️ Contributing

All kinds of contributions are welcome and appreciated. See the contributing guidelines, the community looks forward to your contributions!

📘 License

Released under the terms of the ISC License.

About

A bounce of Portainer templates, pre-configured for use with Traefik.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published