mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: reset admin password (#1335)
* refactor: reset-admin-password * chore: docs
This commit is contained in:
parent
5a6a726014
commit
1e2f02613f
8 changed files with 100 additions and 40 deletions
BIN
docs/docs/features/img/disable-password-login.png
Normal file
BIN
docs/docs/features/img/disable-password-login.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
BIN
docs/docs/features/img/enable-password-login.png
Normal file
BIN
docs/docs/features/img/enable-password-login.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
docs/docs/features/img/reset-admin-password.png
Normal file
BIN
docs/docs/features/img/reset-admin-password.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -11,29 +11,18 @@ The `immich-server` docker image comes preinstalled with an administrative CLI (
|
|||
|
||||
## How to run a command
|
||||
|
||||
To run a command, connect to the container and then execute it by running `immich <command>`.
|
||||
To run a command, [connect](/docs/guides/docker-help.md#attach-to-a-container) to the `immich_server` container and then execute the command via `immich <command>`.
|
||||
|
||||
## Examples
|
||||
|
||||
```bash title="Reset Admin Password"
|
||||
docker exec -it immich_server sh
|
||||
Reset Admin Password
|
||||
|
||||
/usr/src/app$ immich reset-admin-password
|
||||
? Please choose a new password (optional) immich-is-awesome-unlike-this-password
|
||||
New password:
|
||||
immich-is-awesome-unlike-this-password
|
||||
```
|
||||

|
||||
|
||||
```bash title="Disable Password Login"
|
||||
docker exec -it immich_server sh
|
||||
Disable Password Login
|
||||
|
||||
/usr/src/app$ immich disable-password-login
|
||||
Password login has been disabled.
|
||||
```
|
||||

|
||||
|
||||
```bash title="Enable Password Login"
|
||||
docker exec -it immich_server sh
|
||||
Enabled Password Login
|
||||
|
||||
/usr/src/app$ immich enable-password-login
|
||||
Password login has been enabled.
|
||||
```
|
||||

|
||||
|
|
|
|||
|
|
@ -4,11 +4,27 @@ sidebar_position: 1
|
|||
|
||||
# Docker Help
|
||||
|
||||
## Logs
|
||||
## Containers
|
||||
|
||||
```bash title="Log Examples"
|
||||
```bash
|
||||
docker ps # see a list of running containers
|
||||
docker ps -a # see a list of running and stopped containers
|
||||
```
|
||||
|
||||
## Attach to a Container
|
||||
|
||||
```bash
|
||||
docker exec -it <id or name> <command> # attach to a container with a command
|
||||
docker exec -it immich_server sh
|
||||
docker exec -it immich_microservices sh
|
||||
docker exec -it immich_machine_learning sh
|
||||
docker exec -it immich_web sh
|
||||
docker exec -it immich_proxy sh
|
||||
```
|
||||
|
||||
## Logs
|
||||
|
||||
```bash
|
||||
docker logs <id or name> # see the logs for a specific container (by id or name)
|
||||
|
||||
docker logs immich_server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue