diff --git a/README.md b/README.md index d5737c8..455c9f2 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,30 @@ ## Description This docker compose run portainer on docker -## Certificats +## Requierments +### Folder +```bash +sudo mkdir -p /home/docker/portainer/data +``` +### Certificats Copy crt and key files on `/home/docker/certs/` ## Run ```bash docker compose up -d ``` +## Config +By default the lifetime of the password is 8 hours. For modify goto **Settings** -> **Authentication** +The maximum lifetime is 1 year + +## Reset admin password +```bash +docker container stop portainer +docker run --rm -v /home/docker/portainer/data:/data portainer/helper-reset-password +... +2024/11/15 21:22:13 Password successfully updated for user: admin +2024/11/15 21:22:13 Use the following password to login: 9fB1`%r50ZVH:(XutQqm#M<_LE387,w2 +``` ## Apache ### http-portainer.conf @@ -66,6 +83,9 @@ ProxyPassReverse "/" "https://127.0.0.1:9443/" ## Access https://portainer.gmolab.net +## Sources +https://omar2cloud.github.io/rasp/psswd/ + ## Changelog ### v1.0 - 2024-11-11 #### Added