Skip to content

Commit 9055246

Browse files
committed
Add desktop client instructions to docker guide
1 parent 2db6d04 commit 9055246

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

docs/self-hosting/guides/docker.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,26 @@ You can now access the application in your browser. The URL depends on your setu
116116
117117
You can find information about how to test the setup in the [testing documentation](../testing).
118118
119+
### 8. Activate Desktop client access (optional)
120+
121+
The solidtime Desktop client authenticates with the API with OAuth.
122+
The Desktop client needs a client. You can create a client by running the following command:
123+
124+
```bash
125+
docker compose exec scheduler php artisan passport:client --name=desktop --redirect_uri=solidtime://oauth/callback --public -n
126+
```
127+
128+
This command will output the client ID. Write down the client ID, you will need it to configure the Desktop client.
129+
130+
In the solidtime Desktop you can now Configure the API URL and the client ID.
131+
For that start the app and click on "Instance Settings".
132+
133+
<img src="/img/solidtime-desktop-instance-settings-1.png" alt="Screenshot of soldtime Desktop showing the start screen with an arrow on the Instance Settings button" width="500" />
134+
135+
There you can enter the API URL and the client ID.
136+
137+
<img src="/img/solidtime-desktop-instance-settings-2.png" alt="Screenshot of soldtime Desktop showing the Instance Settings interface" width="500" />
138+
119139
## Update
120140

121141
To update solidtime, you can pull the latest image from the Docker registry.
Loading
Loading

0 commit comments

Comments
 (0)