Добавлен поллер накладной
This commit is contained in:
@@ -45,5 +45,17 @@ services:
|
||||
- ./config.yaml:/config.yaml
|
||||
command: ["poetry", "run", "alembic", "upgrade", "head"]
|
||||
restart: "no"
|
||||
waybill-poller:
|
||||
image: yusupal1ev/g2s-aggregator:0.0.2
|
||||
container_name: g2s-aggregator-waybill-poller
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
migrations:
|
||||
condition: service_completed_successfully
|
||||
volumes:
|
||||
- ./config.yaml:/config.yaml
|
||||
command: ["poetry", "run", "python", "-m", "app.workers.waybill_poller"]
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
postgres:
|
||||
|
||||
Reference in New Issue
Block a user