summaryrefslogtreecommitdiffstats
path: root/docker-entrypoint.sh
AgeCommit message (Collapse)Author
2021-03-24Enable session locking for the redis session handler and use more sane ↵Michael Griego
locking configs. (#1364) Signed-off-by: Mike Griego <mike@griegocentral.com>
2020-12-20enable usage of REDIS_HOST_PASSWORD_FILE (#1325)KnallbertLp
2020-07-28Revert "Fix triggering install and update script (#1181)"J0WI
This reverts commit de90bed706d03973c8181b695e0207fa45847c28.
2020-07-26Fix triggering install and update script (#1181)stackcoder
* Match cmd provided by Dockerfile again with entrypoint.sh Signed-off-by: stackcoder <stackcoder@gmail.com> * Fixup README.md Signed-off-by: stackcoder <stackcoder@gmail.com>
2020-06-09Remove db prefix option (#1131)J0WI
* Remove db prefix option Signed-off-by: J0WI <J0WI@users.noreply.github.com> * Upgrade to 18.0.6 Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-04-06Disable rewriteip for apache image (#1010)kesselb
* Disable rewrite ip for apache image Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> * Run update.sh Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-31Compatibility with docker secrets (#560)Boris Gorbylev
* Read passwords from files specified with *_PASSWORD_FILE variables (docker secrets) Fixes #731 Signed-off-by: Boris Gorbylev <ekho@ekho.name> Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de> * Add NEXTCLOUD_ADMIN_USER, POSTGRES_DB, POSTGRES_USER Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de> * Fix Variables Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de> Co-authored-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
2020-01-13Change sleep time from 3s to 10s in all entrypoint.sh files (#963)18.0.0RC2-fpm-alpine18.0.0RC2-fpm18.0.0RC2-apache18.0.0RC218.0.0-rc-fpm-alpine18.0.0-rc-fpm18.0.0-rc-apache18.0.0-rc17.0.2-fpm-alpine17.0.2-fpm17.0.2-apache17.0.216.0.7-fpm-alpine16.0.7-fpm16.0.7-apache16.0.715.0.14-fpm-alpine15.0.14-fpm15.0.14-apache15.0.1415.0-fpm-alpine15.0-fpm15.0-apache15.015-fpm-alpine15-fpm15-apache15J0WI
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de> Co-authored-by: Nils160988 <nilswittenbrink@web.de>
2020-01-10Fix Redis Unix socket support (#944)Tortue Torche
* Fix Redis Unix socket support Rebase and rewrite the @epma01 pull request, based on last Nextcloud Docker changes See: https://github.com/nextcloud/docker/pull/735 Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com> * Fix CI tests with update.sh script Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
2019-09-10Set redis password (#856)17.0.0beta4-fpm-alpine17.0.0beta4-fpm17.0.0beta4-apache17.0.0beta417.0.0-beta-fpm-alpine17.0.0-beta-fpm17.0.0-beta-apache17.0.0-beta17.0-beta-fpm-alpine17.0-beta-fpm17.0-beta-apache17.0-beta17-beta-fpm-alpine17-beta-fpm17-beta-apache17-beta16.0.4-fpm-alpine16.0.4-fpm16.0.4-apache16.0.415.0.11-fpm-alpine15.0.11-fpm15.0.11-apache15.0.1114.0.14-fpm-alpine14.0.14-fpm14.0.14-apache14.0.1414.0-fpm-alpine14.0-fpm14.0-apache14.014-fpm-alpine14-fpm14-apache14algakzru
2019-06-22Avoid empty table prefixJ0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-30Revert "Compatibility with docker secrets (Fix #560)"Tilo Spannagel
[skip travis] Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-04-29Compatibility with docker secrets (Fix #560)J0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-26Add Redis session handlerJ0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-03-13Copy version.php lastTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-12-12Fix typo in docker-entrypoint.shRichard Steinmetz
Signed-off-by: Richard Steinmetz <steinmetz.richard@googlemail.com>
2018-10-16Merge pull request #515 from SnowMB/add_update_variableTilo Spannagel
Add NEXTCLOUD_UPDATE for containers started with non-default commands
2018-10-15add a mechanism to set trusted domains on installArthur Schiwon
2018-10-15added new environment variableMarc Brückner
2018-10-03Merge pull request #480 from SnowMB/fix_sleeps14.0.1-fpm-alpine14.0.1-fpm14.0.1-apache14.0.113.0.6-fpm-alpine13.0.6-fpm13.0.6-apache13.0.612.0.11-fpm-alpine12.0.11-fpm12.0.11-apache12.0.11Tilo Spannagel
added retry loop and decreased sleep time
2018-10-02added retry loop and decreased sleep timeMarc Brückner
2018-10-01Use exclude file for the updaterTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-09-29echo to stdout when migration-script is running (#333)Marc Bihlmaier
* echo to stdout when migration-script is running * specifying output * output Initializing new instance * simplify output
2018-09-27Ignore shellcheck errorsTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-09-27fixed expansion of environment variablesMarc Brückner
2018-09-14fix regex for apacheMarc Brückner
2018-09-13only initialize / update when the command is apache* or php-fpm (do nothing ↵Marc Brückner
on thins like bash, echo)
2018-09-13- using defaults from autoconfig.phpMarc Brückner
- using '-n' instead of '! -z' - adding quotes
2018-09-12implement #455: auto-install via occ maintenance:installMarc Brückner
2018-09-09Fix small typo in upgrade scriptLouis Matthijssen
2018-08-16Remove the "--no-app-disable" option form the "occ upgrade" commandTilo Spannagel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-01Fix indentationTilo Spannagel
2018-03-15Make docker-entrypoint.sh posix compliantTilo Spannagel
2018-03-13Add images for Release CandidatesTilo Spannagel
2017-08-14Fix permissions when running as rootTilo Spannagel
2017-08-14update directory permissions to be compatible with non-rootTobias Brunner
This commit updates the directory permissions to be more compatible when running the image without root f.e. on OpenShift or when specifying it when running with `docker run --user www-data:root ...`. It adds detection logic to the entrypoint script as sudo is not always allowed. This change in directory permissions was also proposed by the official documentation, see https://github.com/nextcloud/documentation/commit/22e2530. The `chown` before the volume definition is needed to prepare the volume as it inherits the permissions. refs https://github.com/nextcloud/docker/issues/107
2017-06-29Ensure apps.config.php get only copied when upgrading from old versionTilo Spannagel
2017-06-29Ensure config/apps.config.php get copiedYuxiang Zhu
PR #115 breaks the logic that config/apps.config.php get copied after custom_apps: https://github.com/nextcloud/docker/pull/115#discussion_r124702790. This patch is going to copy that file if it doesn't exist.
2017-06-28Copy config, data, custom_apps, and themes to volume when emptyYuxiang Zhu
When Nextcloud performs an upgrade or clean installation, it will check whether /var/www/html/{config,data,custom_apps,themes} exist. If not, it will copy /usr/src/nextcloud/{config,data,custom_apps,themes} to /var/www/html. This leads to a problem: If those subdirectories are existent but empty, it will not do the copy. This situation is common when you mount volumes to those subdirectories, like: ``` version: "2.1" services: app: image: nextcloud:12-apache volumes: - nextcloud:/var/www/html:Z - nextcloud-custom_apps:/var/www/html/custom_apps:Z - nextcloud-config:/var/www/html/config:Z - nextcloud-data:/var/www/html/data:Z - nextcloud-themes:/var/www/html/themes:Z ports: - 8080:80/tcp db: image: mariadb volumes: - db:/var/lib/mysql:Z environment: MYSQL_USER: nextcloud MYSQL_DATABASE: nextcloud MYSQL_PASSWORD: nextcloud MYSQL_ROOT_PASSWORD: nextcloud volumes: nextcloud: nextcloud-custom_apps: nextcloud-config: nextcloud-data: nextcloud-themes: db: ``` This patch will fix this issue by copying to those subdirectories when they are empty.
2017-05-23Don't overwrite themes9.0.58-fpm9.0.58-apache9.0.589.0-fpm9.0-apache9.09-fpm9-apache9Tilo Spannagel
2017-04-19strong permissionsTilo Spannagel
2017-04-19more specific downgrade messageTilo Spannagel
2017-04-17split app folderTilo Spannagel
2017-04-17show disabled appsTilo Spannagel
2017-04-17run occ upgradeTilo Spannagel
2017-04-17use rsync for upgradeTilo Spannagel
2017-04-17add version comparisonTilo Spannagel
2016-07-30first commitpierreozoux