From df4abfdfb79b26e52ab07ed13cbf5f9b82775db4 Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 11 Jul 2024 22:50:47 +0800 Subject: [PATCH] chore: update .env.example --- .env.example | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 758deb8a35..c6f7c0477b 100644 --- a/.env.example +++ b/.env.example @@ -31,17 +31,20 @@ LOGGER_FORMAT= ################# DATABASE ################# -DB_DIALECT=sqlite -DB_STORAGE=storage/db/nocobase.sqlite +# postgres | msysql | mariadb | sqlite +DB_DIALECT=postgres DB_TABLE_PREFIX= -# DB_HOST=localhost -# DB_PORT=5432 -# DB_DATABASE=postgres -# DB_USER=nocobase -# DB_PASSWORD=nocobase +DB_HOST=localhost +DB_PORT=5432 +DB_DATABASE=nocobase +DB_USER=nocobase +DB_PASSWORD=nocobase # DB_LOGGING=on # DB_UNDERSCORED=false +# sqlite only +# DB_STORAGE=storage/db/nocobase.sqlite + #== SSL CONFIG ==# # DB_DIALECT_OPTIONS_SSL_CA= # DB_DIALECT_OPTIONS_SSL_KEY=