Skip to content

Configuration Options

Complete configuration options for DealAI.lt.

File: .env

# Database
DB_HOST=162.55.174.116
DB_PORT=5432
DB_NAME=dealai_products
DB_USER=dealai_user
DB_PASSWORD=your_password
# Elasticsearch
ELASTICSEARCH_HOST=91.99.113.45
ELASTICSEARCH_PORT=9200
ELASTICSEARCH_INDEX=products
# Scrapyd
SCRAPYD_HOST=78.56.0.236
SCRAPYD_PORT=6800
SCRAPYD_PROJECT=dealai_scrapers

File: php.ini

memory_limit = 512M
max_execution_time = 300
upload_max_filesize = 64M
post_max_size = 64M

File: postgresql.conf

max_connections = 200
shared_buffers = 4GB
work_mem = 50MB

File: elasticsearch.yml

cluster.name: dealai-cluster
network.host: 0.0.0.0
http.port: 9200