update README.md

This commit is contained in:
Gilles Mouchet 2024-11-15 22:37:16 +01:00
parent 56597eee42
commit 2dcd7877ef

View File

@ -3,13 +3,30 @@
## Description ## Description
This docker compose run portainer on docker 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/` Copy crt and key files on `/home/docker/certs/`
## Run ## Run
```bash ```bash
docker compose up -d 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 ## Apache
### http-portainer.conf ### http-portainer.conf
@ -66,6 +83,9 @@ ProxyPassReverse "/" "https://127.0.0.1:9443/"
## Access ## Access
https://portainer.gmolab.net https://portainer.gmolab.net
## Sources
https://omar2cloud.github.io/rasp/psswd/
## Changelog ## Changelog
### v1.0 - 2024-11-11 ### v1.0 - 2024-11-11
#### Added #### Added