addded services

This commit is contained in:
2026-07-15 13:29:08 +03:00
parent ec33cd5398
commit 9ebbb83bdb
105 changed files with 10833 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
services:
puhososik:
restart: unless-stopped
build: .
pids_limit: 256
mem_limit: 128M
cpus: 0.5
environment:
- SECRET_KEY=${SECRET_KEY}
volumes:
- ./data:/app/data
ports:
- 5252:5000
cleaner:
restart: unless-stopped
build: ./cleaner
pids_limit: 32
mem_limit: 32M
cpus: 0.1
depends_on:
- puhososik
volumes:
- ./data:/data
environment:
- DB_PATH=/data/puhososik.db
- DELETE_AFTER=1800
- SLEEP=300
- BATCH_SIZE=400