36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
services:
|
|
logic-red:
|
|
build: ./logic
|
|
volumes:
|
|
- ./logic/node-red-data:/data
|
|
- ./shared_data:/data/results # Hier landen die JSON/SQLite Dateien
|
|
- ./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_
|
|
- ERROR_LOGFILE=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}
|
|
ports:
|
|
- "1880:1880"
|
|
|
|
# --- NEUER STREAMLIT CONTAINER ---
|
|
analytics-app:
|
|
build: ./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
|
|
environment:
|
|
- TZ=Europe/Zurich
|