Skip to content

Commit 8bca82c

Browse files
committed
uv in docker compose
1 parent 61458eb commit 8bca82c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ services:
348348
environment:
349349
- KAFKA_BOOTSTRAP_SERVERS=kafka:29092
350350
- SCHEMA_REGISTRY_URL=http://schema-registry:8081
351-
command: ["python", "-m", "scripts.create_topics"]
351+
command: ["uv", "run", "python", "-m", "scripts.create_topics"]
352352
networks:
353353
- app-network
354354
restart: "no" # Run once and exit
@@ -533,7 +533,7 @@ services:
533533
condition: service_completed_successfully
534534
mongo:
535535
condition: service_started
536-
command: python workers/run_event_replay.py
536+
command: uv run python workers/run_event_replay.py
537537
env_file:
538538
- ./backend/.env
539539
environment:
@@ -560,7 +560,7 @@ services:
560560
condition: service_completed_successfully
561561
mongo:
562562
condition: service_started
563-
command: python workers/dlq_processor.py
563+
command: uv run python workers/dlq_processor.py
564564
env_file:
565565
- ./backend/.env
566566
environment:

0 commit comments

Comments
 (0)