парсер
This commit is contained in:
@@ -31,8 +31,8 @@ services:
|
||||
- minio
|
||||
environment:
|
||||
DB__URL: "postgres://user:password@postgres:5432/tgex"
|
||||
PARSER__URL: "http://tg_parser:8080"
|
||||
S3__ENDPOINT_URL: "http://minio:9000"
|
||||
PARSER__URL: "http://tg_parser:8080"
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
@@ -42,6 +42,8 @@ services:
|
||||
context: telegram_bot
|
||||
depends_on:
|
||||
- backend
|
||||
environment:
|
||||
BACKEND__BASE_URL: "http://backend:8000"
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
@@ -49,18 +51,18 @@ services:
|
||||
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"
|
||||
expose:
|
||||
- 8080
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./tg_parser.session:/data/tg_parser.session
|
||||
- ./tg_parser.json:/data/tg_parser.json
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user