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

提问:开发人员local环境的配置如何隔离? #213

Closed
redochenzhen opened this issue Feb 28, 2022 · 3 comments
Closed

提问:开发人员local环境的配置如何隔离? #213

redochenzhen opened this issue Feb 28, 2022 · 3 comments
Assignees

Comments

@redochenzhen
Copy link

不同的开发人员,可能使用localhost的服务(比如本地的数据库),这种情况如何处理?

@nobodyiam
Copy link
Member

Do you mean by this?

@zouyx zouyx self-assigned this Mar 10, 2022
@zouyx zouyx added the question label Mar 10, 2022
@zouyx
Copy link
Member

zouyx commented Mar 10, 2022

我觉得可以如此操作:
1.配置 backupConfigPath
将服务器的配置拉下来,并保存到备份文件夹 backup。

{
    "appId": "test",
    "cluster": "dev",
    "namespaceName": "application",
    "ip": "localhost:8888",
    "backupConfigPath":"./backup"
}
  1. 让 agolo 不能同步(将 ip 写错,并设置 muststart=false),他会自动去寻找本地文件就是 backup 文件夹,并将其内容读取到客户端中。

  2. 现在你可以自由修改 backup 中的内容,其中文件名以 namespace 配置中的 namespace 来命名

@stale
Copy link

stale bot commented May 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 9, 2022
@stale stale bot closed this as completed Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants