forked from nextcloud/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simple entryscript to support 3 use-cases
This entrypoint should support 3 use-cases: 1. Untouched docker image for apache (CMD is apache2-xxx) 2. Untouched docker image for php-fpm (CMD is php-fpm) 3. Extended version with custom CMD The 2 first use-cases are handled by looking a the parameter (the CMD command). The last one is defined by the user when extending the image. He must know whether he extends the apache or the php-fpm image and define the NEXTCLOUD_DOCKER_MODE value with either "apache" or "php-fpm" This PR also removes the NEXTCLOUD_UPDATE=1 that was used to force the script to run when the image had been extended.
- Loading branch information
1 parent
b808756
commit b9adcad
Showing
8 changed files
with
323 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.