32 lines
1.1 KiB
YAML
32 lines
1.1 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 # Hier liegen Ihre Python-Skripte
|
|
environment:
|
|
- TZ=Europe/Zurich
|
|
# Link to the newest archivegroup information file downloaded
|
|
# from metabase.psi.ch
|
|
#- 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
|
|
# Beginning of name of the downloaded archivebroup information file
|
|
- BEGIN_NAME_GROUPINFO_JSON_FILE=size_by_ownergroup_and_number_of_copies_
|
|
- ERROR_LOGFILE=error.log
|
|
# AD variables
|
|
- AD_SERVER=d.psi.ch
|
|
- AD_SEARCH_BASE=DC=d,DC=psi,DC=ch
|
|
- AD_USER=${AD_USER}
|
|
- AD_PASSWORD=${AD_PASSWORD}
|
|
ports:
|
|
- "1880:1880"
|
|
|
|
frontend-app:
|
|
build: ./frontend
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./shared_data:/usr/share/nginx/html/data:ro # Nur lesend für die Webseite
|