Which environment variables should I set before production installation?
Sure, here is the list including the new environment variables that can not be changed later or will require significant effort after installation:
Environment Variables
-
EVENT_PARTITIONING
- Explanation: Specifies the partitioning strategy for event data. Determines how event data is organized over time.
- Default Value:
quarter
-
PROFILE_PARTITIONING
- Explanation: Specifies the partitioning strategy for profile data. Determines how profile data is organized over time.
- Default Value:
quarter
-
SESSION_PARTITIONING
- Explanation: Specifies the partitioning strategy for session data. Determines how session data is organized over time.
- Default Value:
quarter
-
ENTITY_PARTITIONING
- Explanation: Specifies the partitioning strategy for entity data. Determines how entity data is organized over time.
- Default Value:
quarter
-
ITEM_PARTITIONING
- Explanation: Specifies the partitioning strategy for item data. Determines how item data is organized over time.
- Default Value:
year
-
LOG_PARTITIONING
- Explanation: Specifies the partitioning strategy for general logs. Determines how log data is organized over time.
- Default Value:
month
-
DISPATCH_LOG_PARTITIONING
- Explanation: Specifies the partitioning strategy for dispatch logs. Determines how dispatch log data is organized over time.
- Default Value:
month
-
CONSOLE_LOG_PARTITIONING
- Explanation: Specifies the partitioning strategy for console logs. Determines how console log data is organized over time.
- Default Value:
month
-
USER_LOG_PARTITIONING
- Explanation: Specifies the partitioning strategy for user logs. Determines how user log data is organized over time.
- Default Value:
year
-
FIELD_CHANGE_LOG_PARTITIONING
- Explanation: Specifies the partitioning strategy for field change logs. Determines how field change log data is organized over time.
- Default Value:
month
-
AUTO_PROFILE_MERGING
- Explanation: Sets the secret key for hashing data during the automatic profile merging process. This is used to ensure secure merging of profiles.
- Default Value:
s>a.d-kljsa87^5adh
-
INSTALLATION_TOKEN
- Explanation: Token used for the installation process. It is required for setting up and initializing Tracardi.
- Default Value:
tracardi
-
ELASTIC_INDEX_REPLICAS
- Explanation: Specifies the number of replica shards for Elasticsearch indices. Determines the number of copies of each shard.
- Default Value:
1
-
ELASTIC_INDEX_SHARDS
- Explanation: Specifies the number of primary shards for Elasticsearch indices. Determines how the index is divided.
- Default Value:
3
-
ELASTIC_CONF_INDEX_SHARDS
- Explanation: Specifies the number of primary shards for Elasticsearch configuration indices. Used for specific configurations of the Elasticsearch setup.
- Default Value:
1