mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-23 07:38:06 +02:00
Compare commits
4 commits
5d6d26594a
...
77ef04557e
Author | SHA1 | Date | |
---|---|---|---|
|
77ef04557e | ||
|
2f4de23ea1 | ||
|
2a7d6d8937 | ||
|
db577ce536 |
2 changed files with 24 additions and 3 deletions
19
README.md
19
README.md
|
@ -1,3 +1,11 @@
|
||||||
|

|
||||||
|
[](https://github.com/nextcloud/docker/releases/)
|
||||||
|
[](https://nextcloud.com/changelog/)
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
# What is Nextcloud?
|
# What is Nextcloud?
|
||||||
|
|
||||||
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
|
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
|
||||||
|
@ -19,6 +27,9 @@ The second option is a `fpm` container. It is based on the [php-fpm](https://hub
|
||||||
|
|
||||||
Most Nextcloud Server administrative matters are covered in the official [Nextcloud Admin Manual](https://docs.nextcloud.com/server/latest/admin_manual/) or [other official Nextcloud documentation](https://docs.nextcloud.com) (which are all routinely updated).
|
Most Nextcloud Server administrative matters are covered in the official [Nextcloud Admin Manual](https://docs.nextcloud.com/server/latest/admin_manual/) or [other official Nextcloud documentation](https://docs.nextcloud.com) (which are all routinely updated).
|
||||||
|
|
||||||
|
[](https://help.nextcloud.com/)
|
||||||
|
[](https://help.nextcloud.com/)
|
||||||
|
|
||||||
**If you have any problems or usage questions while using the image, please ask for assistance on the [Nextcloud Community Help Forum](https://help.nextcloud.com)** rather than reporting them as "bugs" (unless they are bugs of course). This helps the
|
**If you have any problems or usage questions while using the image, please ask for assistance on the [Nextcloud Community Help Forum](https://help.nextcloud.com)** rather than reporting them as "bugs" (unless they are bugs of course). This helps the
|
||||||
maintainers (who are volunteers) remain focused on making the image better (rather than responding solely to one-on-one support issues). (Tip: Some of the maintainers are also regular responders to help requests
|
maintainers (who are volunteers) remain focused on making the image better (rather than responding solely to one-on-one support issues). (Tip: Some of the maintainers are also regular responders to help requests
|
||||||
on the [community help forum](https://help.nextcloud.com/).)
|
on the [community help forum](https://help.nextcloud.com/).)
|
||||||
|
@ -732,8 +743,16 @@ If there is a relevant existing open issue, you can either add to the discussion
|
||||||
|
|
||||||
If you believe you've found a new bug, please create a new Issue so that others can try to reproduce it and remediation can be tracked.
|
If you believe you've found a new bug, please create a new Issue so that others can try to reproduce it and remediation can be tracked.
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
**If you have any problems or usage questions while using the image, please ask for assistance on the [Nextcloud Community Help Forum](https://help.nextcloud.com)** rather than reporting them as "bugs" (unless they really are bugs of course). This helps the
|
**If you have any problems or usage questions while using the image, please ask for assistance on the [Nextcloud Community Help Forum](https://help.nextcloud.com)** rather than reporting them as "bugs" (unless they really are bugs of course). This helps the
|
||||||
maintainers (who are volunteers) remain focused on making the image better (rather than responding solely to one-on-one support issues). (Tip: Some of the maintainers are also regular responders to help requests
|
maintainers (who are volunteers) remain focused on making the image better (rather than responding solely to one-on-one support issues). (Tip: Some of the maintainers are also regular responders to help requests
|
||||||
on the [Nextcloud Community Help Forum](https://help.nextcloud.com).)
|
on the [Nextcloud Community Help Forum](https://help.nextcloud.com).)
|
||||||
|
|
||||||
|
[](https://help.nextcloud.com/)
|
||||||
|
[](https://help.nextcloud.com/)
|
||||||
|
|
||||||
Most Nextcloud Server matters are covered in the official [Nextcloud Admin Manual](https://docs.nextcloud.com/server/latest/admin_manual/) or the [other official Nextcloud documentation](https://docs.nextcloud.com) (which are routinely updated).
|
Most Nextcloud Server matters are covered in the official [Nextcloud Admin Manual](https://docs.nextcloud.com/server/latest/admin_manual/) or the [other official Nextcloud documentation](https://docs.nextcloud.com) (which are routinely updated).
|
||||||
|
|
|
@ -237,12 +237,14 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
fi
|
fi
|
||||||
if [ -n "${NEXTCLOUD_TRUSTED_DOMAINS+x}" ]; then
|
if [ -n "${NEXTCLOUD_TRUSTED_DOMAINS+x}" ]; then
|
||||||
echo "Setting trusted domains…"
|
echo "Setting trusted domains…"
|
||||||
|
set -f # turn off glob
|
||||||
NC_TRUSTED_DOMAIN_IDX=1
|
NC_TRUSTED_DOMAIN_IDX=1
|
||||||
for DOMAIN in $NEXTCLOUD_TRUSTED_DOMAINS ; do
|
for DOMAIN in ${NEXTCLOUD_TRUSTED_DOMAINS}; do
|
||||||
DOMAIN=$(echo "$DOMAIN" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
|
DOMAIN=$(echo "${DOMAIN}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
|
||||||
run_as "php /var/www/html/occ config:system:set trusted_domains $NC_TRUSTED_DOMAIN_IDX --value=$DOMAIN"
|
run_as "php /var/www/html/occ config:system:set trusted_domains $NC_TRUSTED_DOMAIN_IDX --value=\"${DOMAIN}\""
|
||||||
NC_TRUSTED_DOMAIN_IDX=$((NC_TRUSTED_DOMAIN_IDX+1))
|
NC_TRUSTED_DOMAIN_IDX=$((NC_TRUSTED_DOMAIN_IDX+1))
|
||||||
done
|
done
|
||||||
|
set +f # turn glob back on
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_path post-installation
|
run_path post-installation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue