mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 03:32:06 +10:00
fixes
* integrate websocket redis adapter * use APP_SECRET for jwt signing * auto migrate database on startup in production * add updatedAt to update db operations * create enterprise ee package directory * fix comment editor focus * other fixes
This commit is contained in:
18
.env.example
18
.env.example
@ -1,22 +1,15 @@
|
||||
APP_URL=http://localhost
|
||||
APP_SECRET=
|
||||
|
||||
APP_URL=http://localhost:3000
|
||||
APP_SECRET=REPLACE_WITH_LONG_SECRET
|
||||
PORT=3000
|
||||
DEBUG_MODE=true
|
||||
NODE_ENV=production
|
||||
|
||||
JWT_SECRET_KEY=ba8642edbed7f6c450e46875e8c835c7e417031abe1f7b03f3e56bb7481706d8
|
||||
JWT_TOKEN_EXPIRES_IN=30d
|
||||
|
||||
DATABASE_URL="postgresql://postgres:password@localhost:5432/dc?schema=public"
|
||||
REDIS_URL=redis://@127.0.0.1:6379
|
||||
DATABASE_URL="postgresql://postgres:password@localhost:5432/docmost?schema=public"
|
||||
REDIS_URL=redis://127.0.0.1:6379
|
||||
|
||||
# local | s3
|
||||
STORAGE_DRIVER=local
|
||||
|
||||
# local config
|
||||
LOCAL_STORAGE_PATH=/storage
|
||||
|
||||
# S3 Config
|
||||
AWS_S3_ACCESS_KEY_ID=
|
||||
AWS_S3_SECRET_ACCESS_KEY=
|
||||
@ -24,7 +17,6 @@ AWS_S3_REGION=
|
||||
AWS_S3_BUCKET=
|
||||
AWS_S3_ENDPOINT=
|
||||
AWS_S3_URL=
|
||||
AWS_S3_USE_PATH_STYLE_ENDPOINT=false
|
||||
|
||||
# EMAIL drivers: smtp / postmark / log
|
||||
MAIL_DRIVER=smtp
|
||||
@ -33,7 +25,7 @@ MAIL_PORT=2525
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_FROM_ADDRESS=hello@example.com
|
||||
MAIL_FROM_NAME=
|
||||
MAIL_FROM_NAME=Docmost
|
||||
|
||||
# for postmark driver
|
||||
POSTMARK_TOKEN=
|
||||
|
||||
Reference in New Issue
Block a user