docker-compose.prod.yml angepasst, damit es auf unserer Produktion laeuft.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
- [ ] Benutzerseite, wo er selber Filter erstellen kann, z.B. Anzahl Datasets groesser als ...
|
||||
- [x] Diagramm für die Department-Verteilung einbauen (Plotly)
|
||||
- [x] Export-Button für gefilterte Excel-Dateien hinzufügen
|
||||
- [ ] Zeile 30/31 scheint mir noch nicht richtig in app.py
|
||||
|
||||
## ⚙️ Node-RED & AD-Skript
|
||||
- [x] Python-Skript auf lokale Datei-Pipes umstellen
|
||||
|
||||
+12
-16
@@ -1,25 +1,25 @@
|
||||
services:
|
||||
logic-red:
|
||||
build: ./logic
|
||||
container_name: archive_cost_logic
|
||||
volumes:
|
||||
- ./logic/node-red-data:/data
|
||||
- ./shared_data:/data/results # Hier landen die JSON/SQLite Dateien
|
||||
- ./shared_data:/data/results
|
||||
- ./logic/scripts:/data/scripts
|
||||
environment:
|
||||
- TZ=Europe/Zurich
|
||||
- GROUPINFO_JSON_LNK_NAME=archivegroup_information.json
|
||||
- GROUPINFO_JSON_LNK_NAME_WITH_PATH=/data/archivegroup_information.json
|
||||
- NON_SPECIFIED_GROUPS=/data/non_specified_groups.csv
|
||||
- BEGIN_NAME_GROUPINFO_JSON_FILE=size_by_ownergroup_and_number_of_copies_
|
||||
- BEGIN_NAME_GROUPINFO_JSON_FILE_WITH_PATH=/data/size_by_ownergroup_and_number_of_copies_
|
||||
- JSON_CACHE_WITH_PATH=/data/results/json_cache.json
|
||||
- NON_SPECIFIED_GROUPS=/data/non_specified_groups.csv
|
||||
- ERROR_LOGFILE=/data/logs/get_new_groupinfo_error.log
|
||||
- JSON_CACHE=json_cache.json
|
||||
- JSON_CACHE_WITH_PATH=/data/json_cache.json
|
||||
- AD_SERVER=d.psi.ch
|
||||
- AD_SEARCH_BASE=DC=d,DC=psi,DC=ch
|
||||
- AD_USER=${AD_USER}
|
||||
- AD_PASSWORD=${AD_PASSWORD}
|
||||
- METABASE_API_KEY=${METABASE_API_KEY}
|
||||
# Ausfuehrungszeitpunkt fuer den Haupt-Workflow im Cron-Format
|
||||
- MAIN_WORKFLOW_CRON=0 6 * * *
|
||||
# Behalte size_by_ownergroup_and_number_of_copies_ Files juenger als CLEANUP_TIME Tage
|
||||
- CLEANUP_TIME=20
|
||||
# Ausfuehrungszeitpunkt fuer den Cleanup im Cron-Format (Minuten Stunden * * *)
|
||||
@@ -28,33 +28,29 @@ services:
|
||||
- CLEANUP_SCRIPT_PATH=/data/scripts/cleanup.sh
|
||||
# Pfad zum Logfile des Cleanup-Skripts
|
||||
- CLEANUP_LOGFILE_PATH=/data/logs/cleanup.log
|
||||
# Ausfuehrungszeitpunkt fuer den Haupt-Workflow im Cron-Format
|
||||
- MAIN_WORKFLOW_CRON=0 6 * * *
|
||||
ports:
|
||||
- "1880:1880"
|
||||
secrets:
|
||||
- ad_user
|
||||
- ad_password
|
||||
- metabase_api_key
|
||||
ports:
|
||||
- "1880:1880"
|
||||
|
||||
# --- NEUER STREAMLIT CONTAINER ---
|
||||
analytics-app:
|
||||
build: ./analytics
|
||||
container_name: archive_cost_analytics
|
||||
ports:
|
||||
- "8501:8501" # Standard-Port für Streamlit im Browser
|
||||
volumes:
|
||||
- ./analytics:/app # Mappt deinen Code, damit Änderungen live ohne Rebuild sichtbar sind
|
||||
- ./shared_data:/data:ro # Bindet die JSON-Daten NUR LESEND unter /data ein
|
||||
- ./analytics/config:/app/config # Mappt den config Ordner
|
||||
- ./analytics/data:/app/data # Mappt den data Ordner
|
||||
- ./analytics:/app
|
||||
- ./shared_data:/data/results:ro
|
||||
environment:
|
||||
- TZ=Europe/Zurich
|
||||
|
||||
# Deklarieren, dass die Secrets von "außen" kommen
|
||||
secrets:
|
||||
ad_user:
|
||||
external: true
|
||||
ad_password:
|
||||
external: true
|
||||
metabase_api_key:
|
||||
external: true
|
||||
external: true
|
||||
@@ -1 +1 @@
|
||||
size_by_ownergroup_and_number_of_copies_2026-06-26T12_45_18.json
|
||||
size_by_ownergroup_and_number_of_copies_2026-06-29T09_28_19.json
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user