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

如何设置 环境变量 DATABASE_URL 和 REDIS_URL? #211

Open
yang4boy opened this issue Mar 19, 2024 · 1 comment
Open

如何设置 环境变量 DATABASE_URL 和 REDIS_URL? #211

yang4boy opened this issue Mar 19, 2024 · 1 comment

Comments

@yang4boy
Copy link

我的所有配置都已经搞好了 但是启动服务以后
会提示"请设置环境变量 DATABASE_URL 和 REDIS_URLPlease set the environment variables DATABASE_URL and REDIS_URL."
我尝试创建.env或者.env.local 配置属性, 重启服务器,仍然无法获取到这两个值.
麻烦问问,这两个值到底怎么设置才可以生效?

@54853315
Copy link

export DATABASE_URL=xxxxx

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

No branches or pull requests

2 participants