mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-17 21:49:45 +08:00
Merge pull request #3096 from nextcloud/fix-compose
Update update-yaml.sh
This commit is contained in:
commit
3a66c329ec
2 changed files with 34 additions and 11 deletions
|
|
@ -1,11 +1,21 @@
|
|||
services:
|
||||
nextcloud-aio-apache:
|
||||
depends_on:
|
||||
- nextcloud-aio-onlyoffice
|
||||
- nextcloud-aio-collabora
|
||||
- nextcloud-aio-talk
|
||||
- nextcloud-aio-nextcloud
|
||||
- nextcloud-aio-notify-push
|
||||
- nextcloud-aio-onlyoffice:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-collabora:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-talk:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-nextcloud:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-notify-push:
|
||||
condition: service_started
|
||||
required: false
|
||||
image: nextcloud/aio-apache:latest
|
||||
ports:
|
||||
- ${APACHE_IP_BINDING}:${APACHE_PORT}:${APACHE_PORT}/tcp
|
||||
|
|
@ -59,12 +69,24 @@ services:
|
|||
|
||||
nextcloud-aio-nextcloud:
|
||||
depends_on:
|
||||
- nextcloud-aio-database
|
||||
- nextcloud-aio-redis
|
||||
- nextcloud-aio-clamav
|
||||
- nextcloud-aio-fulltextsearch
|
||||
- nextcloud-aio-talk-recording
|
||||
- nextcloud-aio-imaginary
|
||||
- nextcloud-aio-database:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-redis:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-clamav:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-fulltextsearch:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-talk-recording:
|
||||
condition: service_started
|
||||
required: false
|
||||
- nextcloud-aio-imaginary:
|
||||
condition: service_started
|
||||
required: false
|
||||
image: nextcloud/aio-nextcloud:latest
|
||||
expose:
|
||||
- "9000"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].nextcloud_exec_commands)')"
|
|||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-watchtower"))')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-domaincheck"))')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-borgbackup"))')"
|
||||
OUTPUT="$(echo "$OUTPUT" | jq '.services[] |= if has("depends_on") then .depends_on |= map({ (.): { "condition": "service_started", "required": false } }) else . end')"
|
||||
|
||||
snap install yq
|
||||
mkdir -p ./manual-install
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue