From 0a6b9ef5e20fdafbc375e5edae1b56ec11f08c02 Mon Sep 17 00:00:00 2001 From: Oliver Braasch Date: Tue, 22 Sep 2026 13:14:29 +0200 Subject: [PATCH] Dateien nach "/" hochladen --- app.py | 2 +- docker-compose.yml | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app.py b/app.py index 1b3c575..de92339 100644 --- a/app.py +++ b/app.py @@ -168,7 +168,7 @@ header{ background:#0d0e10;padding:28px 24px; } .header-inner{max-width:760px;margin:0 auto} -.logo{font-size:1.9em;font-weight:800;letter-spacing:.5px;margin:0} +.logo{font-size:1.9em;font-weight:800;letter-spacing:.5px;margin:0;color:#fff} .logo .accent{color:var(--orange)} .subtitle{color:#9aa2ab;margin:6px 0 0;font-size:.95em} main{max-width:760px;margin:32px auto;padding:0 24px 48px} diff --git a/docker-compose.yml b/docker-compose.yml index 98faea8..d6e6bc3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,14 +30,20 @@ services: # bestehenden Reverse Proxy (CloudPanel) mit TLS + eigenem Vhost. # HOST_PORT frei wählbar, falls 8000 schon belegt ist (siehe README). ports: - - "${HOST_PORT:-8010}:8000" + - "127.0.0.1:${HOST_PORT:-8010}:8000" # Härtung: kein Zugriff auf den Docker-Socket, kein Host-Mount, # Root-Dateisystem read-only, keine erweiterten Rechte. read_only: true - tmpfs: - - /tmp - - /app/scan-tmp + volumes: + - type: tmpfs + target: /tmp + tmpfs: + mode: 01777 + - type: tmpfs + target: /app/scan-tmp + tmpfs: + mode: 01777 cap_drop: - ALL security_opt: