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