From 695f7f388b1b7e174968babf9f64149f50eea249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Cant=C3=B9?= Date: Thu, 15 Feb 2024 09:41:07 +0100 Subject: [PATCH] reload and disable cache on development --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f310a45..d9b952b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,8 +34,6 @@ services: titiler: build: ./titiler tty: true - depends_on: - - nginx-dev stdin_open: true ports: - "5002:8080" @@ -43,6 +41,8 @@ services: - ./titiler/src:/app/src environment: - TITILER_API_ROOT_PATH=/tiler + - TITILER_API_CACHECONTROL=no-cache + command: ["pdm", "run", "uvicorn", "src.app.app:app", "--host", "0.0.0.0", "--port", "8080", "--reload"] jupyter: build: ./titiler