From c0c4422c7c47ebfe07ca3e7e6c4a96f35d620990 Mon Sep 17 00:00:00 2001 From: gahusb Date: Thu, 28 May 2026 02:38:47 +0900 Subject: [PATCH] =?UTF-8?q?build(lotto):=20PYTHONPATH=3D=5Fshared=20+=20js?= =?UTF-8?q?on-file=20logging=20=EC=B6=94=EA=B0=80=20(Phase=201=20PoC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d525e50..50499f0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,8 +14,15 @@ services: - TZ=${TZ:-Asia/Seoul} - LOTTO_ALL_URL=${LOTTO_ALL_URL:-https://smok95.github.io/lotto/results/all.json} - LOTTO_LATEST_URL=${LOTTO_LATEST_URL:-https://smok95.github.io/lotto/results/latest.json} + - PYTHONPATH=/app:/shared volumes: - ${RUNTIME_PATH}/data:/app/data + - ./_shared:/shared:ro + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] interval: 60s