mirror of https://github.com/immich-app/immich.git
1.2 KiB
1.2 KiB
Server Commands
The immich-server docker image comes preinstalled with an administrative CLI (immich) that supports the following commands:
| Command | Description |
|---|---|
help |
Display help |
reset-admin-password |
Reset the password for the admin user |
disable-password-login |
Disable password login |
enable-password-login |
Enable password login |
How to run a command
To run a command, connect to the container and then execute it by running immich <command>.
Examples
docker exec -it immich_server sh
/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
docker exec -it immich_server sh
/usr/src/app$ immich disable-password-login
Password login has been disabled.
docker exec -it immich_server sh
/usr/src/app$ immich enable-password-login
Password login has been enabled.