docs: update readme

This commit is contained in:
Tianzhou Chen
2023-12-17 22:47:33 +08:00
parent cfab43e9a9
commit 4bbf7dce16
2 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,10 @@ docker run --name sqlchat --platform linux/amd64 --env NEXTAUTH_SECRET="$(openss
* Pass an arbitrary string to NEXTAUTH_SECRET otherwise next-auth will complain. It doesn't matter
if you don't enable login.
* If you connect to the database on the same host, you need to use `host.docker.internal` as the host name.
* If you chat to the database on the same host, you need to use `host.docker.internal` as the host in
the database connection setting.
<img src="https://raw.githubusercontent.com/sqlchat/sqlchat/main/docs/docker-connection-setting.webp" />
### Startup options

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB