- 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)
8 lines
193 B
Caddyfile
8 lines
193 B
Caddyfile
:8080 {
|
|
basic_auth /* {
|
|
# Set BASIC_AUTH_HASH on the server: caddy hash-password --plaintext 'YOUR_PWD'
|
|
admin {env.BASIC_AUTH_HASH}
|
|
}
|
|
reverse_proxy localhost:4213
|
|
}
|