tools: fix make/compose

This commit is contained in:
2026-07-03 19:54:55 +02:00
parent 4e7f0476e0
commit edceea6619
2 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ endif
DOCKER ?= podman DOCKER ?= podman
APP_EXEC ?= $(DOCKER) compose exec app 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 TORTOISE ?= $(APP_RUN) uv run tortoise
POSTGRES_EXEC ?= $(DOCKER) compose exec postgres POSTGRES_EXEC ?= $(DOCKER) compose exec postgres
+2 -10
View File
@@ -17,7 +17,7 @@ services:
- BIND=0.0.0.0 - BIND=0.0.0.0
- DB_URI=postgres://tout-doux:tout-doux@postgres:5432/tout-doux - DB_URI=postgres://tout-doux:tout-doux@postgres:5432/tout-doux
- CACHE_URI=redis://redis:6379 - 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: networks:
- backend - backend
depends_on: depends_on:
@@ -40,15 +40,7 @@ services:
postgres: postgres:
image: postgres:17 image: postgres:17
healthcheck: healthcheck:
test: test: ["CMD-SHELL", "pg_isready -d tout-doux -U tout-doux"]
[
"CMD-SHELL",
"pg_isready",
"-d",
"tout-doux",
"-U",
"tout-doux",
]
interval: 10s interval: 10s
timeout: 60s timeout: 60s
retries: 3 retries: 3