Set up sensible volumes for TransFAIR

Also gave instructions to copy over data file.
This commit is contained in:
Croft 2024-02-13 14:00:21 +01:00
parent 81e5a6ea3f
commit 7c2e9af947
2 changed files with 5 additions and 2 deletions

View File

@ -142,12 +142,15 @@ If this is an ECDC/EHDS2 installation, switch to the ```ehds2``` branch and copy
```shell ```shell
cd /srv/docker/bridgehead cd /srv/docker/bridgehead
sudo git checkout ehds2 sudo git checkout ehds2
mkdir test data
sudo mkdir -p /etc/bridgehead/ sudo mkdir -p /etc/bridgehead/
sudo cp bbmri/modules/bbmri.conf /etc/bridgehead/ sudo cp bbmri/modules/bbmri.conf /etc/bridgehead/
sudo chown -R bridgehead:root . /etc/bridgehead sudo chown -R bridgehead:root . /etc/bridgehead
sudo vi /etc/bridgehead/bbmri.conf # Modify to include national node name and admin contact details sudo vi /etc/bridgehead/bbmri.conf # Modify to include national node name and admin contact details
``` ```
For an ECDC/EHDS2 installation, you will also need to copy your data in a ```.csv``` file to ```/srv/docker/bridgehead/data```.
If this is not an ECDC/EHDS2 installation, then download your site specific configuration repository: If this is not an ECDC/EHDS2 installation, then download your site specific configuration repository:
```shell ```shell
sudo mkdir -p /etc/bridgehead/ sudo mkdir -p /etc/bridgehead/

View File

@ -46,8 +46,8 @@ services:
restart: on-failure restart: on-failure
command: sh -c "sleep 60 && rm -rf /app/test/* && java -jar transFAIR.jar && tail -f /dev/null" command: sh -c "sleep 60 && rm -rf /app/test/* && java -jar transFAIR.jar && tail -f /dev/null"
volumes: volumes:
- /home/gerhard/Projects/EHDS2/PrototypeSpring2024/test/:/app/test/ - ./test/:/app/test/
- /home/gerhard/Projects/EHDS2/PrototypeSpring2024/Data/:/app/data/ - ./data/:/app/data/
# Report on the data pushed to Blaze by TransFAIR # Report on the data pushed to Blaze by TransFAIR
blazectl: blazectl: