mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(bug) script mount-proof-of-identity-files creates a volume with an invalid path
This commit is contained in:
parent
eb1c54d8f3
commit
1660987d78
@ -2,6 +2,8 @@
|
||||
|
||||
## next deploy
|
||||
|
||||
- Fix a bug: script mount-proof-of-identity-files creates a volume with an invalid path
|
||||
|
||||
## v5.4.9 2022 June 29
|
||||
|
||||
- Fix a bug: validator of reservation can't find if slot has reserved by reservable type
|
||||
|
@ -22,7 +22,7 @@ add_mount()
|
||||
if [[ ! $(yq eval ".services.$SERVICE.volumes.[] | select (. == \"*proof_of_identity_files\")" docker-compose.yml) ]]; then
|
||||
# change docker-compose.yml permissions for fix yq can't modify file issue
|
||||
chmod 666 docker-compose.yml
|
||||
yq -i eval ".services.$SERVICE.volumes += [\"\./proof_of_identity_files:/usr/src/app/proof_of_identity_files\"]" docker-compose.yml
|
||||
yq -i eval ".services.$SERVICE.volumes += [\"./proof_of_identity_files:/usr/src/app/proof_of_identity_files\"]" docker-compose.yml
|
||||
chmod 644 docker-compose.yml
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user