immich/docs/docs/features/server-commands.md
Jason Rasmussen bd838a71d1
feat(web,server): disable password login (#1223)
* feat(web,server): disable password login

* chore: unit tests

* chore: fix import

* chore: linting

* feat(cli): server command for enable/disable password login

* chore: update docs

* feat(web): confirm dialogue

* chore: linting

* chore: linting

* chore: linting

* chore: linting

* chore: linting

* chore: fix web test

* chore: server unit tests
2023-01-09 16:32:58 -05:00

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.