Environment Variable
The meanings of the environment variables used in the HDP private deployment container are as follows:
| Environment variable name | Description |
|---|---|
| ENV_MINGDAO_PROTO | Protocol, supports setting http, https |
| ENV_MINGDAO_HOST | Access address, such as: example.domain.com (if using a domain name, please configure the proxy first) |
| ENV_MINGDAO_PORT | Port, such as: 80 |
| ENV_MINGDAO_SUBPATH | sub-path, such as: https://www.domain.com/abc, set to /abc |
| ENV_MINGDAO_INTRANET_ENDPOINT | The 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_URI | MongoDB connection address, such as: mongodb://192.168.1.1:27017,192.168.1.2:27017,192.168.1.3:27017 |
| ENV_MONGODB_OPTIONS | MongoDB uri parameter, needs to start with ? |
| ENV_MONGODB_CACHEGB | MongoDB allows maximum memory usage |
| ENV_MYSQL_HOST | MySQL address, such as: 192.168.2.1 [VIP] |
| ENV_MYSQL_PORT | MySQL port, default: 3306 |
| ENV_MYSQL_USERNAME | MySQL username, default: root |
| ENV_MYSQL_PASSWORD | MySQL 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_ENDPOINTS | Kafka connection address, such as: 192.168.1.4:9092,192.168.1.5:9092,192.168.1.6:9092 |
| ENV_KAFKA_SECURITY_PROTOCOL | Kafka security protocol, supports Plaintext (default), SaslPlaintext |
| ENV_KAFKA_SASL_MECHANISM | Only used when ENV_KAFKA_SECURITY_PROTOCOL is SaslPlaintext, fixed value: PLAIN |
| ENV_KAFKA_SASL_USERNAME | Only used when ENV_KAFKA_SECURITY_PROTOCOL is SaslPlaintext, authentication user name |
| ENV_KAFKA_SASL_PASSWORD | Only used when ENV_KAFKA_SECURITY_PROTOCOL is SaslPlaintext, authentication password |
| ENV_FILE_ENDPOINTS | File 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_ACCESSKEY | File Storage Service ACCESSKEY |
| ENV_FILE_SECRETKEY | File storage service SECRETKEY |
| ENV_FILECACHE_EXPIRE | Whether the thumbnail cache expires, the default is true |
| ENV_FILE_DELETE_ENABLE_PHYSICAL | Whether to enable physical file deletion, default false |
| ENV_FILE_DELETE_BEFORE_DAYS | Only used when ENV_FILE_DELETE_ENABLE_PHYSICAL is true, how many days old files are physically deleted, default: 7 |
| ENV_FILE_DELETE_TASK_CRON | Only 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_MINUTES | File upload Token expiration time, default: 120, unit: minutes |
| ENV_FILE_DOWNLOAD_TOKEN_EXPIRE_MINUTES | Token expiration time in the file download address, default: 60, unit: minutes |
| ENV_FLINK_URL | Flink connection address |
| ENV_FLINK_S3_BUCKET | Defines 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_OPTIONS | IFrame reference strategy, supports: ALLOWALL, SAMEORIGIN [default], DENY, ALLOW-FROM uri |
| ENV_DISABLE_IPV6 | Whether to disable Nginx's IPv6 port listening in the container. Default value: false |
| ENV_INIT_SERVICE_WAITMS | The time the container waits for the storage component to be ready when starting, unit: milliseconds, default value: 120000 |