copied from preCICE tutorials

This commit is contained in:
jakob.schratter 2026-01-26 16:14:46 +01:00
commit 3f1b1a6d0f
68 changed files with 156449 additions and 0 deletions

View file

@ -0,0 +1,24 @@
version: "3.9"
services:
prepare:
build:
context: {{ dockerfile_context }}
target: base_image
args:
{% for key, value in build_arguments.items() %}
- {{key}}={{value}}
{% endfor %}
volumes:
- {{ run_directory }}:/runs
command: >
/bin/bash -c "id &&
cd '/runs/{{ tutorial_folder }}' &&
sed -i 's%</participant>%<export:vtk directory=\"../{{precice_output_folder}}\" /> </participant>%g' precice-config.xml &&
sed -i 's|m2n:sockets |m2n:sockets network=\"eth0\" |g' precice-config.xml &&
cat precice-config.xml"
{% for service in services %}
{{ service }}:
{{ services[service] |indent(4) }}
{% endfor %}