From 0d77f83045d42551b13136378f8bcb080f6fd328 Mon Sep 17 00:00:00 2001 From: rafapolo Date: Wed, 25 Mar 2026 13:27:51 +0100 Subject: [PATCH] simplify container: skip db prep, password via env var, fixed server IP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - start.sh: remove prepara_db.py step; load S3 creds via DuckDB init file - Caddyfile: switch to basic_auth with {env.BASIC_AUTH_HASH} — no rebuild to rotate password - Dockerfile: drop Python/pip layers (no longer needed at runtime) - haloy.yml: set server to 89.167.95.136, add BASIC_AUTH_HASH to env - remove requirements.txt (only needed for local prepara_db.py, not the container) --- Caddyfile | 7 +++---- Dockerfile | 11 +---------- haloy.yml | 4 ++-- requirements.txt | 3 --- start.sh | 17 +++++++++++++---- 5 files changed, 19 insertions(+), 23 deletions(-) delete mode 100644 requirements.txt diff --git a/Caddyfile b/Caddyfile index 417319a..3e7c599 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,8 +1,7 @@ :8080 { - basicauth /* { - # user: admin | pwd: 2/e+h "$INIT" <