Spin up a Portainer® instance with a managed SSL certificate with two commands.
- docker https://docs.docker.com/engine/installation/
- docker-compose https://docs.docker.com/compose/install/
- Clone this repository:
git clone https://github.com/evertramos/docker-portainer-letsencrypt.git
- Run the start script and type "localhost" into your browser
Note
You might need to give the following script execute permission: chmod +x ./start.sh
./start.sh
- To run it in the background, pass "prod" argument to the start script:
./start.sh prod
- To stop the container instance, run the stop script:
Note
If you're running it in the foreground as demonstrated in the quick-start, just CTRL+C
will suffice
./stop.sh
Note
Keep in mind that when starting for the first time it may take a few moments (even a couple minutes) to get your Let's Encrypt certificates generated.