Merge server state with origin/main (keep origin version)

This commit is contained in:
root
2026-02-12 16:05:07 +00:00
15 changed files with 28 additions and 9 deletions

11
.dockerignore Normal file
View File

@@ -0,0 +1,11 @@
.venv
__pycache__
*.pyc
*.pyo
*.pyd
*.db-shm
*.db-wal
.git
.gitignore
Dockerfile*
docker-compose*.yml

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
# Copy to .env and set your own value
SECRET_KEY=replace-with-a-long-random-string

Binary file not shown.

BIN
data/infra.db Normal file

Binary file not shown.

2
data/leads.csv Normal file
View File

@@ -0,0 +1,2 @@
created_at,name,company,phone,email,city,computers,message
2026-02-12T16:33:08,Иван,ООО Тест,123,,,10,
1 created_at name company phone email city computers message
2 2026-02-12T16:33:08 Иван ООО Тест 123 10

View File

@@ -1,7 +1,7 @@
import multiprocessing import multiprocessing
bind = "0.0.0.0:4545" bind = "0.0.0.0:4545"
workers = 4 workers = max(4, multiprocessing.cpu_count() * 2)
threads = 4 threads = 4
timeout = 60 timeout = 60
graceful_timeout = 30 graceful_timeout = 30

4
static/img/README.txt Normal file
View File

@@ -0,0 +1,4 @@
Положите файл логотипа сюда:
static/img/infrait-logo.png
Текущий шаблон уже подключен к этому пути.