парсер

This commit is contained in:
Artem Tsyrulnikov
2026-01-06 21:04:42 +03:00
parent b77e4fd0b6
commit 2c0ae2dfc3
45 changed files with 2202 additions and 51 deletions

View File

@@ -31,6 +31,7 @@ services:
- minio
environment:
DB__URL: "postgres://user:password@postgres:5432/tgex"
PARSER__URL: "http://tg_parser:8080"
S3__ENDPOINT_URL: "http://minio:9000"
env_file:
- .env
@@ -45,6 +46,23 @@ services:
- .env
restart: unless-stopped
tg_parser:
build:
context: tg_parser
ports:
- "8080:8080"
depends_on:
- postgres
environment:
DB__URL: "postgres://user:password@postgres:5432/tgex"
LOGGER__LEVEL: "info"
LOGGER__PRETTY_CONSOLE: "true"
env_file:
- .env
volumes:
- ./tg_parser.session:/data/tg_parser.session
restart: unless-stopped
volumes:
postgres_data:
minio_data: