-
Notifications
You must be signed in to change notification settings - Fork 0
Midback Custom Settings
Dyoniso edited this page Feb 17, 2022
·
7 revisions
The default configuration env file:
SERVER_PORT=5000
HOSTNAME=127.0.0.1
DATABASE_URL=postgres://postgres:X-ADMIN_PASSWORD@localhost:5432/midback
MB_MAX_FILES=8000
MB_PAGE_SIZE=80
MB_ADS_KEY=1753969
MB_FILES_ACCESS_URL=/files
MB_ADMIN_PASSWORD=X_ADMIN_PASSWORD
MB_HOLIDAYS_RANGE=8
MB_HOLIDAYS_CYCLE=true
MB_GOAL_CYCLE=true
MB_VIP_CYCLE=true
MB_SAME_FILES=false
MB_PASSPORT=true
MB_PUBLIC_POST=true
Some env settings are customized in Midback like:
-
MB_PUBLIC_POSTDefines whether posting files will be public or restricted to admin -
MB_PASSPORTDefines whether or not a user should go through the passport screen -
MB_SAME_FILESDefines whether Midback accepts files from the same source -
MB_VIP_CYCLEActivate or Deactivate the VIP system -
MB_GOAL_CYCLEActivate or Deactivate the Goal system -
MB_HOLIDAYS_CYCLEActivate or Deactivate the Holidays system -
MB_HOLIDAYS_RANGEMaximum length of days after the holidays system -
MB_ADMIN_PASSWORDPassword you will use to mod the MidBack -
MB_FILES_ACCESS_URLFolder name where the files will be saved -
MB_ADS_KEYYour A-ADS User Key. (A-ADS registration required) -
MB_PAGE_SIZEThe number of files each page will render -
MB_MAX_FILESMaximum amount each board will support -
HOSTNAMEHostname of server node -
DATABASE_URLLocation of your postgresql database -
PORTPort that the node server will listen to
See the status screen for a better view of the settings:
