парсер
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user