diff --git a/Makefile b/Makefile index c3b365b..12ae82a 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ endif DOCKER ?= podman APP_EXEC ?= $(DOCKER) compose exec app -APP_RUN ?= $(DOCKER) compose run --rm -it app +APP_RUN ?= $(DOCKER) compose run --rm app TORTOISE ?= $(APP_RUN) uv run tortoise POSTGRES_EXEC ?= $(DOCKER) compose exec postgres diff --git a/compose.yml b/compose.yml index 7c36363..b3ec298 100644 --- a/compose.yml +++ b/compose.yml @@ -17,7 +17,7 @@ services: - BIND=0.0.0.0 - DB_URI=postgres://tout-doux:tout-doux@postgres:5432/tout-doux - CACHE_URI=redis://redis:6379 - command: uv run tout-doux --debug + command: uv run --no-cache --no-sync --link-mode=copy tout-doux --debug networks: - backend depends_on: @@ -40,15 +40,7 @@ services: postgres: image: postgres:17 healthcheck: - test: - [ - "CMD-SHELL", - "pg_isready", - "-d", - "tout-doux", - "-U", - "tout-doux", - ] + test: ["CMD-SHELL", "pg_isready -d tout-doux -U tout-doux"] interval: 10s timeout: 60s retries: 3