Files
private-cloud/console/mini_poem/configuration/constants.js
2020-01-12 19:15:08 +08:00

40 lines
815 B
JavaScript

/*
* Created by Strawmanbobi
* 2014-08-30
*/
// global constants describes the ability sets of the POEM framework
global.VERSION = "0.0.4";
global.ICODE = "PoEM~ V0.0.4";
// runtime environment
global.ENV = "dev";
// generic server configuration
global.LISTEN_PORT = "8080";
global.SERVER_ADDRESS = "127.0.0.1";
// local environment
global.FILE_TEMP_PATH = "";
// db : MySQL
global.MYSQL_DB_SERVER_ADDRESS = "127.0.0.1";
global.MYSQL_DB_NAME = "default_db";
global.MYSQL_DB_USER = "root";
global.MYSQL_DB_PASSWORD = "root";
// cache : redis
global.REDIS_HOST = "localhost";
global.REDIS_PORT = "6379";
global.REDIS_PASSWORD = "";
// external : python path
global.PYTHON_PATH = "";
// HTTP request
global.EXTERNAL_SERVER_ADDRESS = "127.0.0.1";
global.EXTERNAL_SERVER_PORT = "80";
global.TOKEN_TTL = 60;