Platform configuration
Configuration file
Full main.json parameter reference: network, paths, databases, Percona Server for MongoDB, ClickHouse, Kvrocks, RabbitMQ, task server, cluster.
Domain settings
DNS records for the platform: admin panel, tracking, pixels, AKMTA. Configure SPF, DKIM, DMARC, BIMI.
LDAP access configuration
LDAP authentication for Admin Panel and user interface: Active Directory, groups, roles, SSL/TLS.
Sending Email via SMTP relay
Sending email through an SMTP relay: Admin Panel setup, TLS, webhooks and Postfix configuration for DSN.
Pixel and push domain configuration
Setting up a cookiesaver domain for pixels and push: DNS, SSL, configuration with and without a proxy, health check.
Cluster and Replication Setup
Deploy a fault-tolerant cluster: Percona Server for MongoDB, ClickHouse, SSDB, RabbitMQ, Kvrocks replication. Configure procworkflow and proctask.
System notifications configuration
Setting up SMTP for platform technical notifications: NOREPLY_MAILER and thresholds for bounces, complaints, deliverability.
Processes UNIX sockets configuration
Enable UNIX sockets for internal platform processes via main.json. Configure paths for each service.
HTTPS Configuration
Enable SSL/TLS for web panel, API, tracking, and pixels. Configure certificates in main.json.
Migrating from MongoDB Community to Percona Server
Migrating from MongoDB Community Edition to Percona Server for MongoDB on existing Altcraft Platform installations.
Adding sender IP addresses
Step-by-step IP addition to node and sender: OS setup, node re-save, MTA synchronization.
Deduplication request settings
Deduplicate repeated API requests to prevent event duplication. Configure period and LevelDB storage in main.json.
PostgreSQL database for Market data
Installing and configuring PostgreSQL 16.1+ for the Market module: creating a user and databases, connecting via Admin Panel.
Proxy server settings
Setting up a proxy for platform HTTP connections: HTTP_PROXY, PREVIEWS_PROXY, LICENSE_PROXY, INTERNAL_RESOURCES exceptions.
Keycloak Integration with Altcraft
Altcraft and Keycloak integration: single sign-on via OIDC with roles, groups and custom user attributes.
Getting HTTP service statuses
Health and readiness APIs for web service load balancing: webcontrol, webadmin, webapi, trkaction, trkwebctrl, cookiesaver.
Platform server load balancing
Active readiness checks in a load balancer: ready-made nginx configurations with nginx_upstream_check_module and HAProxy.
Configuring MongoDB log rotation
Setting up logrotate for MongoDB logs: size, rotation count, compression and mongod restart via SIGUSR1.
Configuration of system constants and directories
Platform JSON configurations: dictionaries, templates, bots, genders. Create custom copies without losing changes on updates.