A template for rapid deployment of Portainer on shared hosting. It uses:
- Portainer Community Edition (CE) - A lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments
- nginx-proxy - Automated nginx proxy for Docker containers using docker-gen
- acme-companion - Automated ACME SSL certificate generation for nginx-proxy
- Clone this repo to your VPS hosting
git clone https://github.com/zakharsk/portainer-https.git && cd portainer-https
- Create
.env
filecp example.env .env && vim .env
- Put your values for
PORTAINER_DOMAIN
andPORTAINER_DOMAIN_EMAIL
.PORTAINER_DOMAIN
without specifying thehttp/https
protocol and without a/
at the end. - Start you container
docker compose up --detach
- Open the
PORTAINER_DOMAIN
address in your favorite browser. - To stop
docker compose down