feat: add api support and auth
This commit is contained in:
parent
31e4b854db
commit
a244d98806
21 changed files with 585 additions and 63 deletions
18
.env.example
Normal file
18
.env.example
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
S3_ORGANIZATION_ID=
|
||||
S3_ACCESS_KEY=
|
||||
S3_SECRET_KEY=
|
||||
|
||||
MONGO_URI=mongodb://root:root@127.0.0.1:27017/forumvirt?authSource=admin
|
||||
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=
|
||||
SMTP_USERNAME=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_SECURE=false
|
||||
|
||||
ADMIN_TOKEN=pass
|
||||
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=root
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue