mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
rename internalPorts to internal_ports
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
7a9a452f45
commit
53065b5631
4 changed files with 16 additions and 16 deletions
|
|
@ -5,7 +5,7 @@ sed -i 's|","location":"|:|g' /tmp/containers.json
|
|||
sed -i 's|","writeable":false|:ro"|g' /tmp/containers.json
|
||||
sed -i 's|","writeable":true|:rw"|g' /tmp/containers.json
|
||||
OUTPUT="$(cat /tmp/containers.json)"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].internalPorts)')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].internal_ports)')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].secrets)')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-watchtower"))')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-domaincheck"))')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue