mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
♻️ refactor: remove NEXT_PUBLIC_SERVICE_MODE env and use server by default (#10017)
* remove NEXT_PUBLIC_SERVICE_MODE * update * fix tests * update e2e workflow * update config * Rename DATABASE_TEST_URL to DATABASE_URL
This commit is contained in:
@@ -15,13 +15,7 @@ if you have any other question, please open issue here: https://github.com/lobeh
|
||||
const DB_FAIL_INIT_HINT = `------------------------------------------------------------------------------------------
|
||||
⚠️ Database migrate failed due to not find the db instance.
|
||||
|
||||
1) You might not switch to server db mode, please set the env blow and try again:
|
||||
|
||||
\`\`\`
|
||||
NEXT_PUBLIC_SERVICE_MODE=server
|
||||
\`\`\`
|
||||
|
||||
2) if you are using docker postgres image, you may need to set DATABASE_DRIVER to node
|
||||
if you are using docker postgres image, you may need to set DATABASE_DRIVER to node
|
||||
|
||||
\`\`\`
|
||||
DATABASE_DRIVER=node
|
||||
|
||||
Reference in New Issue
Block a user