-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
as a workaround to podman's inability to use sub_path volume mounts see containers/podman#20661
- Loading branch information
Showing
11 changed files
with
4,458 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# The init service shell script - initialises the opi volume with any custom | ||
# The init service shell script - initialises the opi volumes with any custom | ||
# bob files from this repo and ensures that each IOC has a subfolder in the | ||
# volume. | ||
# volumes. | ||
|
||
# copy in any opi files from the repo | ||
cp -r /repo/opi/* /opi; | ||
|
||
# make sure there is a subfolder of opi volume for each service | ||
# make sure there is a subfolder of opi volumes for each service | ||
cd /repo/services | ||
for i in *; do | ||
echo adding folder $i to opi volume | ||
mkdir -p /opi/$i; | ||
mkdir -p /opi_auto/$i; | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ services: | |
volumes: | ||
- opi:/opi/ | ||
- opi_auto:/opi_auto/ | ||
- ..:/repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
volumes: | ||
# hand coded opi files from this repo | ||
opi: | ||
# auto generated opi files created by pvi in each IOC | ||
opi_auto: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.