docs: server commands (#1079)

This commit is contained in:
Jason Rasmussen
2022-12-09 15:54:19 -05:00
committed by GitHub
parent 14889e7d85
commit 40afa3695a
3 changed files with 33 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"label": "How to use the application",
"label": "Usage",
"position": 3,
"link": {
"type": "generated-index",

View File

@@ -0,0 +1,25 @@
---
sidebar_position: 5
---
# Server Commands
The `immich-server` docker image comes preinstalled with an administrative CLI that supports the following commands:
| Command | Description |
| ----------------------------- | ------------------------------------- |
| `immich help` | Display help |
| `immich reset-admin-password` | Reset the password for the admin user |
## How to run a command
To run a command, connect to the container and then execute it. For example:
```bash
docker exec -it immich-server_1 sh
/usr/src/app$ immich reset-admin-password
? Please choose a new password (optional) immich-is-awesome-unline-this-password
New password:
immich-is-awesome-unline-this-password
```