Konecty Open source Tech Business Platform
Konecty environment variables
KONECTY_MODE: Can beproductionordevelopmentDISABLE_KONSISTENT: can be totrueif you don't want Konsistent to run on the same process as Kondata. It's enabled by default.MONGO_URL: Mongo database URLMONGO_OPLOG_URL: Mongo database oplog URLDISABLE_REINDEX: can be totrueif you don't want to verify if all index are created.ROOT_URL: your public urlBLOB_URL: the URL where blob is running (file and images server)ALLOWED_ORIGINS: a list of cors alloweds URLs separated by|LOG_REQUEST=true: if provide all requests are loggedsDEFAULT_SMTP_HOST: SMTP host for default email sender (required)DEFAULT_SMTP_PORT: SMTP port for default email sender (required)DEFAULT_SMTP_USERNAME: SMTP username for default email sender (required)DEFAULT_SMTP_PASSWORD: SMTP password for default email sender (required)DEFAULT_SMTP_SECURE: SMTP secure flag for default email senderDEFAULT_SMTP_TLS: SMTP tls flag for default email senderDEFAULT_SMTP_IGNORE_TLS: SMTP configignoreTLSfor nodemailer, if this is true and secure is false then TLS is not used even if the server supports STARTTLS extensionDEFAULT_SMTP_TLS_REJECT_UNAUTHORIZED: SMTP configtls.rejectUnauthorizedfor nodemailer, config would open a connection to TLS server with self-signed or invalid TLS certificateDEFAULT_SMTP_AUTH_METHOD: SMTP configauthMethodfor nodemailer, defines preferred authentication method, defaults to ‘PLAIN’DEFAULT_SMTP_DEBUG: SMTP configdebugfor nodemailer, if set to true, then logs SMTP traffic, otherwise logs only transaction events
FILE STORAGE API
S3_DOMAIN: required if different of AWS eg:digitaloceanspaces.comS3_REGION: S3 regionS3_BUCKET: S3 bucketS3_ACCESSKEY: Generated for your aws account. Follow this instructions: Where’s My Secret Access Key?.S3_SECREDKEY: Generate with instructions above (👆 ).
NODE RED INTEGRATION
Learn about this: Node-RED
NR_ENABLE: true if you want to enable in process node-red instanceNR_NAMESPACE: unique identifier for current instance. Default:flowsNR_ADMIN: Nodered admin URL. Default:/flowsNR_API: Nodered rest endpoints prefix. Default"/api
How to run on Docker
docker pull konecty/konecty
docker run --name kondata -p 3000:3000 --link mongo --env MONGO_URL=mongodb://mongo:27017/konecty --env MONGO_OPLOG_URL=mongodb://mongo:27017/local konecty/konecty
REST API
Examples of REST usage can be found here: REST
Logs
- KONDATA only log requests when status code of the response isn't 200 (OK).
DEVELOPMENT
sudo apt install build-essential
meteor npm install
meteor

