Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
justincnn opened this issue Jan 4, 2024 · 5 comments · May be fixed by #4902
Open

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

justincnn opened this issue Jan 4, 2024 · 5 comments · May be fixed by #4902

Comments

@justincnn
Copy link

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

谢谢

@Issues-translate-bot
Copy link

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

@lwqisme
Copy link

lwqisme commented Jan 10, 2024

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

@Issues-translate-bot
Copy link

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?

@SpiralTower
Copy link

SpiralTower commented Jan 11, 2024

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

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

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

@Issues-translate-bot
Copy link

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.

@bygsn bygsn linked a pull request Jun 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants