NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[help]云同步和自定义接口有办法写在docker配置里么?

Open justincnn opened this issue 1 year ago • 5 comments

现在每次换电脑,或者换浏览器都需要重新设置一次,有办法把这些设置固定在立main么?

谢谢

justincnn avatar Jan 04 '24 06:01 justincnn

Bot detected the issue body's language is not English, translate it automatically.


Title: [help]Is there a way to write cloud synchronization and custom interfaces in the docker configuration?

Now every time I change computers or browsers, I need to reset them. Is there a way to fix these settings in the main site?

Thanks

Issues-translate-bot avatar Jan 04 '24 06:01 Issues-translate-bot

我也想问这个问题,为什么按照文档的设置了docker的apikey、接口地址等,在浏览器界面上还需要再设置呢

lwqisme avatar Jan 10 '24 13:01 lwqisme

Bot detected the issue body's language is not English, translate it automatically.


I also want to ask this question, why docker's apikey, interface address, etc. are set according to the document, but do they need to be set again on the browser interface?

Issues-translate-bot avatar Jan 10 '24 13:01 Issues-translate-bot

配置相关环境变量在readme文档里有 (注意密码会公开!,仅临时过渡)配置云同步目前你可以自行fork并对应修改app/store/sync.ts:32-36

webdav: {
    endpoint: "",
    username: "",
    password: "",
  },

修改默认同步类型到UpStash可以修改app/store/sync.ts:28 为 provider: ProviderType.UpStash,并且修改对应配置。

SpiralTower avatar Jan 11 '24 15:01 SpiralTower

Bot detected the issue body's language is not English, translate it automatically.


Configuration related environment variables are in the readme document. To configure cloud synchronization, you can currently fork it yourself and modify app/store/sync.ts:32-36 accordingly.

webdav: {
    endpoint: "",
    username: "",
    password: "",
  },

To change the default synchronization type to UpStash, you can modify app/store/sync.ts:28 to provider: ProviderType.UpStash, and modify the corresponding configuration.

Issues-translate-bot avatar Jan 11 '24 15:01 Issues-translate-bot