Skip to main content

Environment Variable

The meanings of the environment variables used in the HDP private deployment container are as follows:

Environment variable nameDescription
ENV_MINGDAO_PROTOProtocol, supports setting http, https
ENV_MINGDAO_HOSTAccess address, such as: example.domain.com (if using a domain name, please configure the proxy first)
ENV_MINGDAO_PORTPort, such as: 80
ENV_MINGDAO_SUBPATHsub-path, such as: https://www.domain.com/abc, set to /abc
ENV_MINGDAO_INTRANET_ENDPOINTThe intranet address corresponding to ENV_MINGDAO_HOST:ENV_MINGDAO_PORT, such as: 192.168.1.1:8880, needs to be configured in cluster mode
ENV_MONGODB_URIMongoDB connection address, such as: mongodb://192.168.1.1:27017,192.168.1.2:27017,192.168.1.3:27017
ENV_MONGODB_OPTIONSMongoDB uri parameter, needs to start with ?
ENV_MONGODB_CACHEGBMongoDB allows maximum memory usage
ENV_MYSQL_HOSTMySQL address, such as: 192.168.2.1 [VIP]
ENV_MYSQL_PORTMySQL port, default: 3306
ENV_MYSQL_USERNAMEMySQL username, default: root
ENV_MYSQL_PASSWORDMySQL password, can be empty, default: 123456
ENV_REDIS_HOST[Redis master-slave or standalone mode] Redis address, such as: 192.168.3.1 [VIP]
ENV_REDIS_PORT[Redis master-slave or standalone mode] Redis port, default: 6379
ENV_REDIS_PASSWORD[Redis master-slave or standalone mode] Redis password, can be empty, default: 123456
ENV_REDIS_MAXMEMORY[Redis standalone mode] allows the maximum memory usage, such as: 5gb, if it is exceeded, it will be cleaned using the LRU algorithm, and the default is unlimited
ENV_REDIS_SENTINEL_ENDPOINTS[Redis Sentinel Mode] Sentinel addresses, multiple separated by English commas
ENV_REDIS_SENTINEL_MASTER[Redis Sentinel Mode] master name
ENV_REDIS_SENTINEL_PASSWORD[Redis Sentinel Mode] Connection password
ENV_KAFKA_ENDPOINTSKafka connection address, such as: 192.168.1.4:9092,192.168.1.5:9092,192.168.1.6:9092
ENV_KAFKA_SECURITY_PROTOCOLKafka security protocol, supports Plaintext (default), SaslPlaintext
ENV_KAFKA_SASL_MECHANISMOnly used when ENV_KAFKA_SECURITY_PROTOCOL is SaslPlaintext, fixed value: PLAIN
ENV_KAFKA_SASL_USERNAMEOnly used when ENV_KAFKA_SECURITY_PROTOCOL is SaslPlaintext, authentication user name
ENV_KAFKA_SASL_PASSWORDOnly used when ENV_KAFKA_SECURITY_PROTOCOL is SaslPlaintext, authentication password
ENV_FILE_ENDPOINTSFile storage service address, such as: 192.168.1.12:9000,192.168.1.13:9000,192.168.1.14:9000,192.168.1.15:9000
ENV_FILE_ACCESSKEYFile Storage Service ACCESSKEY
ENV_FILE_SECRETKEYFile storage service SECRETKEY
ENV_FILECACHE_EXPIREWhether the thumbnail cache expires, the default is true
ENV_FILE_DELETE_ENABLE_PHYSICALWhether to enable physical file deletion, default false
ENV_FILE_DELETE_BEFORE_DAYSOnly used when ENV_FILE_DELETE_ENABLE_PHYSICAL is true, how many days old files are physically deleted, default: 7
ENV_FILE_DELETE_TASK_CRONOnly used when ENV_FILE_DELETE_ENABLE_PHYSICAL is true, scheduled authentication execution time, default: 0 0 1 * * ? 1 am every day
ENV_FILE_UPLOAD_TOKEN_EXPIRE_MINUTESFile upload Token expiration time, default: 120, unit: minutes
ENV_FILE_DOWNLOAD_TOKEN_EXPIRE_MINUTESToken expiration time in the file download address, default: 60, unit: minutes
ENV_FLINK_URLFlink connection address
ENV_FLINK_S3_BUCKETDefines the S3 bucket used by the datapipeline service. Default value: mdoc.
If you modify the default bucket used by Flink, this configuration also needs to be updated simultaneously.
ENV_FRAME_OPTIONSIFrame reference strategy, supports: ALLOWALL, SAMEORIGIN [default], DENY, ALLOW-FROM uri
ENV_DISABLE_IPV6Whether to disable Nginx's IPv6 port listening in the container. Default value: false
ENV_INIT_SERVICE_WAITMSThe time the container waits for the storage component to be ready when starting, unit: milliseconds, default value: 120000