Compare commits

...

1089 Commits

Author SHA1 Message Date
J0WI
7e1fba34d7
Alpine 3.23 (#2507)
* Run earlier

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* Run update.sh

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* Alpine 3.23

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-12-11 21:50:11 +00:00
GitHub Workflow
f2ab521657 Runs update.sh 2025-12-08 00:40:35 +00:00
GitHub Workflow
168c570a07 Runs update.sh 2025-11-27 00:38:14 +00:00
J0WI
3323992cb0
Fix pecl argument order (#2503)
* Fix pecl argument order

* Add liblz4-dev

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-11-25 23:33:59 +00:00
GitHub Workflow
722ea77ac0 Runs update.sh 2025-11-25 21:53:20 +00:00
Jonas Zürcher
8b4598357c
Switch to the repository on github to speedup download and build time. (#2489)
Signed-off-by: Jonas Zürcher <mail@jonaszuercher.ch>
2025-11-25 21:53:06 +00:00
J0WI
dea057bebe
Remove EOL 30 files (#2501)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-11-21 00:19:00 +00:00
J0WI
4f4c97fcc5
Bump stable to 31.0.11
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-11-21 00:17:59 +00:00
GitHub Workflow
32ff000966 Runs update.sh 2025-11-20 23:58:13 +00:00
J0WI
e836e09e2f
Remove EOL 30 (#2500)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-11-20 23:58:01 +00:00
Josh
264d04f2a2
feat: Add Table of Contents to README
Added a Table of Contents section to improve navigation.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-11-07 16:44:12 -05:00
GitHub Workflow
f158223d14 Runs update.sh 2025-11-07 00:38:19 +00:00
GitHub Workflow
50bf6dc8f9 Runs update.sh 2025-10-23 23:59:36 +00:00
J0WI
50826df6b5
Bump stable to 31.0.10
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-10-23 23:59:20 +00:00
GitHub Workflow
646fc1b0e2 Runs update.sh 2025-10-14 00:35:34 +00:00
GitHub Workflow
1f87830fd6 Runs update.sh 2025-09-28 00:39:46 +00:00
GitHub Workflow
f5b7b40808 Runs update.sh 2025-09-26 01:22:24 +00:00
Josh
09beb3754b
chore: drop unused libmcrypt-dev from Dockerfile templates (#2473)
* chore: drop libmcrypt-dev from Alpine Dockerfile template

Removed 'libmcrypt-dev' from the list of dependencies.

Was deprecated in PHP 7.1.0 and removed in PHP 7.2.0.
Has not been used by Nextcloud for awhile.
And we're not installing mcrypt as a PECL installation so it's not used at all.


Signed-off-by: Josh <josh.t.richards@gmail.com>

* chore: drop libmcrypt-dev from Debian Dockerfile template

Removed libmcrypt-dev from the list of dependencies.

Signed-off-by: Josh <josh.t.richards@gmail.com>

---------

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-26 01:22:11 +00:00
GitHub Workflow
8043c5ed93 Runs update.sh 2025-09-26 00:34:58 +00:00
J0WI
c8211b8672
Bump stable to 31.0.9
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-09-14 15:40:17 +00:00
GitHub Workflow
2ac1f1346c Runs update.sh 2025-09-12 00:34:49 +00:00
GitHub Workflow
4cf9a20fdf Runs update.sh 2025-08-28 20:38:48 +00:00
mwester117
1907ded05a
Removed mimetype application/wasm from nginx.conf files because they are included in mime.types of nginx:alpine-slim image (#2458)
Signed-off-by: Marco Wester <42421851+mwester117@users.noreply.github.com>
Co-authored-by: Marco Wester <git@mwester.de>
2025-08-28 20:38:38 +00:00
J0WI
943e55d314
Debian Trixie (#2454)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-08-14 19:55:08 +00:00
GitHub Workflow
9a78a3478e Runs update.sh 2025-08-14 18:54:14 +00:00
GitHub Workflow
6e4ccffb9a Runs update.sh 2025-08-06 00:42:16 +00:00
SebastianRzk
b326158abc
add dynamic re-resolve feature of nginx (#2413)
Signed-off-by: SebastianRzk <github@sebastianruziczka.de>
Co-authored-by: SebastianRzk <github@sebastianruziczka.de>
2025-07-28 20:56:54 +00:00
GitHub Workflow
4a6e70cdb3 Runs update.sh 2025-07-28 20:49:21 +00:00
J0WI
9f11a11c45
Remove EOL 29 (#2448)
* Remove EOL 29

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* Bump stable to 31.0.7

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-07-11 11:19:38 +00:00
GitHub Workflow
0637214ee8 Runs update.sh 2025-07-11 00:40:22 +00:00
J0WI
f0a7a8c934
Bump stable to 31.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-06-13 14:48:44 +00:00
J0WI
3d950bcf0c
Alpine 3.22 (#2436) 2025-06-13 14:47:41 +00:00
GitHub Workflow
a2233a9553 Runs update.sh 2025-06-13 00:39:02 +00:00
J0WI
5e0bfbff2d
Bump stable to 31.0.5
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-05-16 15:05:19 +00:00
GitHub Workflow
02fc45a96e Runs update.sh 2025-05-16 00:38:01 +00:00
Kaloyan Nikolov
614be28550
Updated examples (#2405)
* Updated examples

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Lock examples to PostgreSQL 16

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Pin postgresql to 16 in Readme example

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Update .examples/docker-compose/insecure/mariadb/apache/compose.yaml

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Update .examples/docker-compose/insecure/postgres/apache/compose.yaml

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Update .examples/docker-compose/insecure/mariadb/fpm/compose.yaml

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Moved some comments on new lines.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Moved another comment to new line

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Unified across files / updated README file.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Use canonical links to external services.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

---------

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2025-04-18 15:42:58 +00:00
J0WI
645f515e29
Restore PHP 8.3 (#2422)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-04-18 15:01:40 +00:00
J0WI
a19d68f081
Bump stable to 31.0.4
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-04-18 13:51:26 +00:00
J0WI
f130178136
Imagick 3.8.0 (#2417)
* Revert "Build imagick for PHP 8.3 (#2394)"

This reverts commit af00599148.

* PHP imagick 3.8.0

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-04-18 13:37:27 +00:00
GitHub Workflow
f3e0c49c38 Runs update.sh 2025-04-18 13:13:10 +00:00
Josh
b36cfa65da
fix(hooks): make the output more uniform and delineated (#2343)
* fix(hooks): Consistent logging + skip when empty too

- Use "Searching for scripts [...] located in [...]" consistently (i.e. for each hook_folder_path instead of only for some / under some conditions)
- Skip early if a given hook folder is empty too (not just nonexistent)
- Add feature name (hooks) to all messaging for clarity

Signed-off-by: Josh <josh.t.richards@gmail.com>

* fix(hooks): Clear state delineation / consistent output 

Signed-off-by: Josh <josh.t.richards@gmail.com>

---------

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-04-18 13:12:44 +00:00
Jean-Kevin KPADEY
6e8f484c4b
fix: handle redis host user in the configuration of the session handler (#2411)
Signed-off-by: Jean-Kevin KPADEY <jeankevin.kpadey@gmail.com>
2025-04-18 13:11:41 +00:00
Josh
43311addf2
meta(templates): Add labels to bug reports automatically (#2401)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-04-18 13:06:27 +00:00
Josh
558ff494d3
meta(templates): Establish a dedicated Enhancement idea issue option/template (#2402)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-04-18 13:05:39 +00:00
GitHub Workflow
7832770350 Runs update.sh 2025-04-18 13:05:15 +00:00
Josh
a2995dde03
fix: prevent glob expansion on wildcard trusted_domains (#2344)
* fix: prevent glob expansion on wildcard trusted_domains

Signed-off-by: Josh <josh.t.richards@gmail.com>

* fix: move glob change outside the loop

Signed-off-by: Josh <josh.t.richards@gmail.com>

---------

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-04-18 13:04:55 +00:00
GitHub Workflow
88ef913597 Runs update.sh 2025-04-18 00:35:43 +00:00
J0WI
abd0ba3fdb
Bump stable to 30.0.9
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-04-11 20:27:01 +00:00
GitHub Workflow
7da5fa1c6b Runs update.sh 2025-04-11 00:36:17 +00:00
GitHub Workflow
3adaf30839 Runs update.sh 2025-03-25 00:35:32 +00:00
J0WI
c76fb1dc57
Bump stable to 30.0.8
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-03-19 22:49:00 +00:00
GitHub Workflow
e56b9a4e2e Runs update.sh 2025-03-19 22:47:36 +00:00
J0WI
16727bbbde
Bump stable to 30.0.7
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-03-14 00:41:51 +00:00
GitHub Workflow
df3b447621 Runs update.sh 2025-03-14 00:34:18 +00:00
Josh
c351ce76ab
docs(README): Fix missing -it in non-Compose docker exec command
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-03-09 10:31:16 -04:00
Josh
73949fe23a
fix(templates): Fix bug in issue template config
Fix bug introduced by #2400

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-03-06 16:08:37 -05:00
Josh
86ab9d769c
meta(templates): Re-order "Create new issue" links (#2400)
Re-order and add additional links to highlight:

- where to ask a question (forum) 
- documentation resources
- upstream (server) bug reporting and enhancement ideas

Some rewording as well.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-03-01 19:48:36 +00:00
Josh
5be2a020e0
docs(readme): Document running as an arbitrary user (#2398)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-03-01 19:47:33 +00:00
J0WI
af00599148
Build imagick for PHP 8.3 (#2394)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-02-25 22:37:43 +00:00
GitHub Workflow
71235584cd Runs update.sh 2025-02-25 19:50:02 +00:00
J0WI
4daafc8d20
Bump stable to 30.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-02-13 20:34:07 +00:00
GitHub Workflow
4f691770ae Runs update.sh 2025-02-13 19:43:06 +00:00
J0WI
a5656577ef
Compile with igbinary (#2368)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-02-11 18:01:24 +01:00
J0WI
69c1e4a000
Update cache policy to match documentation (fix #2313) (#2369) 2025-02-07 02:04:45 +00:00
GitHub Workflow
877ddb49dd Runs update.sh 2025-02-07 01:58:08 +00:00
adripo
2f38386c50
fix: opcache configuration (#2185)
* fix: opcache configuration

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* fix: revert opcache memory consumption and strings buffer

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

---------

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
2025-02-07 01:57:55 +00:00
GitHub Workflow
98a9617352 Runs update.sh 2025-02-07 01:28:31 +00:00
J0WI
9ca82128a7
Nextcloud 28 EOL (#2367) 2025-02-07 01:28:18 +00:00
HPPinata
8d2e9048bc
expire binlog (#2350)
* expire binlog

expire binlog entries older than a week to avoid unbounded binlog growth over longer timespans

Signed-off-by: HPPinata <83947761+HPPinata@users.noreply.github.com>

* kill binlog

remove all references and options regarding binlog from docker compose files

Signed-off-by: HPPinata <83947761+HPPinata@users.noreply.github.com>

---------

Signed-off-by: HPPinata <83947761+HPPinata@users.noreply.github.com>
2025-01-24 22:11:21 +00:00
J0WI
616d0dff03
Bump stable to 30.0.5
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2025-01-17 01:42:45 +00:00
GitHub Workflow
a43854ae5c Runs update.sh 2025-01-16 23:32:10 +00:00
Thomas Clavier
e0294b65ac
use var PHP_OPCACHE_MEMORY_CONSUMPTION for configuration (#2090)
* use var PHP_OPCACHE_MEMORY_CONSUMTION for configuration

Signed-off-by: Thomas Clavier <tom@tcweb.org>

* Use PHP_OPCACHE_MEMORY_CONSUMTION in Dockerfile-alpine.template

Signed-off-by: Thomas Clavier <tom@tcweb.org>

* fix typo : CONSUMTION -> CONSUMPTION

* Add opcache.memory_consumption documentation

* fix typo

---------

Signed-off-by: Thomas Clavier <tom@tcweb.org>
2025-01-16 23:31:57 +00:00
GitHub Workflow
7f707b6c5d Runs update.sh 2025-01-11 18:22:33 +00:00
Hagen
5b932e390e
Add REDIS_HOST_USER variable to specify a redis user (#2359)
Signed-off-by: hagene <hagene@uio.no>
2025-01-11 18:22:09 +00:00
J0WI
08ac24880c
Alpine 3.21 (#2360) 2025-01-09 23:01:21 +00:00
Kate
85eb58a828
Merge pull request #2355 from nextcloud/readme-helm-link 2024-12-23 16:23:12 +01:00
Josh
d5c6e2ff0e
docs(readme): Add community helm chart link
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-12-23 09:03:54 -05:00
Josh
2f4de23ea1
docs(README): Basic status badges
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-12-14 14:24:34 -05:00
J0WI
035003969a
Bump stable to 30.0.4
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-12-12 21:33:41 +00:00
GitHub Workflow
f413890332 Runs update.sh 2024-12-12 12:01:29 +00:00
GitHub Workflow
2d45183b8d Runs update.sh 2024-12-07 00:35:06 +00:00
GitHub Workflow
99ddd09783 Runs update.sh 2024-12-05 20:29:40 +00:00
Josh
cf1df9f1cc
chore: remove no longer used badges from README (#2345)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-12-05 20:29:24 +00:00
GitHub Workflow
d8b6fe8239 Runs update.sh 2024-11-27 00:34:53 +00:00
Josh
61fb34da5f
fix(readme): a few typos and small sentences adjustments
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-24 21:40:34 -05:00
Josh
307a8a8b8a
Merge pull request #2338 from nextcloud/docs-readme-header-links-plus-misc-reorg
docs(readme): Add more headers for direct linking / misc refactors
2024-11-24 13:56:50 -05:00
Josh
3d21293d9e
docs(readme): Add more headers for direct linking / misc refactors
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-24 13:48:05 -05:00
Josh
b8b4dd8984
Merge pull request #2315 from tzerber/volume-clarification
Clarify Readme on bind volumes to avoid `apps` / `custom_apps` mishaps
2024-11-24 13:31:51 -05:00
Kaloyan Nikolov
a82394557c
Merge branch 'nextcloud:master' into volume-clarification 2024-11-12 23:29:49 +02:00
Kaloyan Nikolov
daea70d768 Replace bind mounts with figurative path
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-11-12 23:25:14 +02:00
rugk
dd663d60c6
Add example command for copying (#2327)
As for https://github.com/nextcloud/docker/issues/2266 and the re-appearing message IMHO, it is quite convenient to have a command to copy here if you just have not changed any config files…

Signed-off-by: rugk <rugk+git@posteo.de>
2024-11-07 23:38:16 +00:00
J0WI
b9ed2426a0
Bump stable to 30.0.2
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-11-07 23:27:03 +00:00
GitHub Workflow
4f130dc752 Runs update.sh 2024-11-07 23:24:17 +00:00
GitHub Workflow
29d959acfd Runs update.sh 2024-10-24 19:52:51 +00:00
Valentin Brandl
d3341b61c1
Fix initialization of autocreate and use_ssl (#2309)
According to the documentation, both `OBJECTSTORE_S3_SSL` and
`OBJECTSTORE_S3_AUTOCREATE` should default to `true`.
Currently, when these environment variables are not set, they default to
`false`. (See https://github.com/nextcloud/docker/issues/2308).

This fix works, because `strtolower(false)` returns the empty string. So
when `OBJECTSTORE_S3_SSL` is not set and `getenv('OBJECTSTORE_S3_SSL')`
returns `false`, the check `strtolower($use_ssl) !== 'false'` will
evaluate to `true`.

With this fix, both values will be `true` if they are

* not set
* the empty string
* any string that is not equal to `false` when converted to lowercase

This should now match the documented behavior.

Signed-off-by: Valentin Brandl <mail@vbrandl.net>
2024-10-24 19:52:36 +00:00
Josh
aaa667ad0d
Merge pull request #2320 from nextcloud/jtr/fix-examples-matching-volumes
fix(examples): volumes must match to avoid 💥
2024-10-22 09:40:17 -04:00
Josh
cb8afbbe60
Merge pull request #2321 from nextcloud/jtr/feat-docs-readme-occ-config
feat(readme): Viewing merged config via `occ config:list system`
2024-10-22 09:28:54 -04:00
Josh
090934d9b0
feat(readme): Viewing merged config via occ config:list system
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-22 09:15:05 -04:00
Kaloyan Nikolov
0ee77f1a92
Clarify apps and custom_apps
Co-authored-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-10-22 02:02:06 +03:00
Josh
9b245ac4a1
fix(examples): volumes must match (with-nginx-proxy-postgres-fpm)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:53:55 -04:00
Josh
24b6769682
fix(examples): volumes must match (with-nginx-proxy-postgres-apache)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:52:21 -04:00
Josh
7e188da4fa
fix(examples): volumes must match (with-nginx-proxy-mariadb-fpm)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:51:06 -04:00
Josh
60f205abea
fix(examples): volumes must match (with-nginx-proxy-mariadb-apache)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:49:39 -04:00
Josh
e3dc1f3d62
fix(examples): volumes must match (insecure-postgres-fpm)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:47:11 -04:00
Josh
9395077d11
fix(examples): volumes must match (insecure-postgres-apache)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:45:19 -04:00
Josh
abf51f1cd7
fix(examples): volumes must match (insecure-mariadb-fpm)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:43:54 -04:00
Josh
9b63f3e4dc
fix(examples): volumes must match (insecure-mariadb-apache)
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-21 17:38:50 -04:00
J0WI
abd813f5fb
Bump stable to 30.0.1
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-10-21 16:44:25 +00:00
GitHub Workflow
d03da64ac8 Runs update.sh 2024-10-18 00:32:25 +00:00
Kaloyan Nikolov
53c3162c83 Clarify Readme on bind volumes
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-10-17 22:17:18 +03:00
GitHub Workflow
178f8b65d3 Runs update.sh 2024-10-11 00:32:21 +00:00
GitHub Workflow
6c1075b88d Runs update.sh 2024-10-08 14:20:13 +00:00
Dominic Giebert
a9f9885e65
Add FORWARDED_FOR_HEADERS to the reverse-proxy config (#2272)
* Add FORWARDED_FOR_HEADERS to the reverse-proxy config

Signed-off-by: Dominic Giebert <dominic.giebert@suse.com>

* Add FORWARDED_FOR_HEADERS to documentation

Signed-off-by: Dominic Giebert <dominic.giebert@suse.com>

---------

Signed-off-by: Dominic Giebert <dominic.giebert@suse.com>
2024-10-08 16:19:59 +02:00
Kaloyan Nikolov
8c777a4144
Update examples nginx configuration (#2307)
* Update config based on the official docs

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Update all example nginx configs according to the documentation

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

---------

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-10-08 15:53:11 +02:00
J0WI
5a242f6055
MariaDB 10.11 (#2298)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-10-08 15:33:18 +02:00
Alexandra Branco
c83d457857
Added information about permissions errors (migrating to alpine) (#2289)
* Added information about permissions errors when migrating docker images to alpine.

* Updated README.md documentation after review.
2024-10-07 19:27:24 +02:00
Kaloyan Nikolov
38994cbb87
Documentation and examples update for use with docker compose v2 (#2201)
* Update examples section according to the latest docker compose requirements.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Minor readme updates to match the changes for the compose v2 syntax.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Fix wrong environment variable

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Add missing headers to fpm config

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Fix  cache control

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Add mjs file extension in a proper way.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Typos fixed, minor clarification changes

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Removed logging from compose files.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Restored MariaDB to 10.6 as per docs suggestions

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Remove extra nginx volume

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Removed GH specific markdown from Readme, change mariadb to recommended version

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* typo

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Update .examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* Update to correct MariaDB command

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Updated compose files for mariadb to match current docs

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Update outdated docker-compose command in Readme

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Added back --log-bin to MariaDB command. See PR 1881

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Remove wrongly added logging to Readme.MD

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

* Use proper name for --log-bin param

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>

---------

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2024-10-07 19:27:05 +02:00
GitHub Workflow
9ff7b6a529 Runs update.sh 2024-10-05 00:31:43 +00:00
GitHub Workflow
f6d767efb1 Runs update.sh 2024-09-22 00:34:53 +00:00
GitHub Workflow
30b570f0b5 Runs update.sh 2024-09-18 20:45:28 +00:00
Florian Latifi
2bc1036e61
Exclude autoconfig.php from user config check (#2290)
Signed-off-by: Florian Latifi <mail@florian-latifi.at>
2024-09-18 20:45:15 +00:00
John Molakvoæ
a1e93f429c
Bump stable to 29.0.7 (#2297)
Fix #2294

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-18 19:43:16 +00:00
GitHub Workflow
0ffd24170f Runs update.sh 2024-09-15 00:34:40 +00:00
GitHub Workflow
1c8d764f3c Runs update.sh 2024-09-13 00:30:28 +00:00
Joas Schilling
ec854e4d3c
Merge pull request #2292 from nextcloud/ci/noid/update-workflow-109
ci: Update workflows
2024-09-10 10:58:03 +02:00
Joas Schilling
f3bd22ca92
ci: Update workflows
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-10 10:57:46 +02:00
J0WI
d78afcbcda
Bump stable to 29.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-09-03 20:17:50 +00:00
GitHub Workflow
53653c2648 Runs update.sh 2024-09-03 19:57:56 +00:00
J0WI
e6d024039f
29.0.5 (#2281)
* Bump stable to 29.0.5

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* 27 EOL

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-08-21 12:19:50 +00:00
GitHub Workflow
3677cdf9ad Runs update.sh 2024-08-21 00:28:49 +00:00
J0WI
65138b6d22
Bump stable to 29.0.4 (fix #2258)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-07-20 12:47:17 +00:00
GitHub Workflow
258cc4ee2d Runs update.sh 2024-07-19 01:05:00 +00:00
GitHub Workflow
f02b8b04e3 Runs update.sh 2024-07-11 21:07:50 +00:00
Aakash parmar
75e1b80ba4
Fix: Retry logic in entrypoint.sh for Nextcloud installation (#2256)
* issue Fix #1911

Signed-off-by: Aakash788 <aakashparmar788@gmail.com>

* Fixed issue #1708

Signed-off-by: Aakash788 <aakashparmar788@gmail.com>

---------

Signed-off-by: Aakash788 <aakashparmar788@gmail.com>
2024-07-11 21:07:21 +00:00
J0WI
95c4929210
Bump stable to 28.0.7
Fix #2252

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-07-03 00:15:33 +00:00
Josh
7d0795c0b2
Merge pull request #2248 from jessebot/add-imagemagick-pdf-support-for-alpine
Add pdf+other image preview support to alpine images after Alpine's packaging change
2024-07-02 14:02:09 -04:00
JesseBot
08596d2c3e
Merge branch 'master' into add-imagemagick-pdf-support-for-alpine
Signed-off-by: JesseBot <jessebot@linux.com>
2024-06-29 07:51:59 +02:00
Josh
747a3f8414
Merge pull request #2246 from jessebot/add-imagemagick-svg
add imagemagick-svg *back* to all the alpine images
2024-06-28 15:53:28 -04:00
jessebot
437a2e0599 add imagemagick support for heic, jpeg, pdf, raw, tiff, and webp for the alpine docker image
Signed-off-by: jessebot <jessebot@linux.com>
2024-06-28 15:10:06 +02:00
JesseBot
46b8caa689
Merge branch 'nextcloud:master' into add-imagemagick-svg 2024-06-27 09:35:32 +02:00
GitHub Workflow
cd162a4321 Runs update.sh 2024-06-25 21:25:51 +00:00
Florian Latifi
5c58b2aa09
Warn on mismatching auto-config files (#2120)
Signed-off-by: Florian Latifi <mail@florian-latifi.at>
Co-authored-by: Josh <josh.t.richards@gmail.com>
2024-06-25 21:25:29 +00:00
GitHub Workflow
3e9cdb17c4 Runs update.sh 2024-06-25 20:16:53 +00:00
jessebot
4ac47a97c8 add imagemagick-svg to all the alpine images
Signed-off-by: jessebot <jessebot@linux.com>
2024-06-25 10:10:01 +02:00
Josh
f454867803
docs(README): SMTP/MAIL values always override web UI (#2243)
Fixes #1312

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-06-18 20:21:30 +00:00
GitHub Workflow
bf8136a838 Runs update.sh 2024-06-18 20:13:20 +00:00
J0WI
2accbecd97
Drop file_exists check for _FILE variables (#2234)
* Drop file_exists check for _FILE variables

A PHP warning is generated if the file does not exist.
Otherwise there is no indicator why the variable is not used.

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* fixup: typo in smtp.config.php

Signed-off-by: Josh <josh.t.richards@gmail.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Josh <josh.t.richards@gmail.com>
2024-06-18 20:13:05 +00:00
Josh
064069b306
Merge pull request #2230 from nextcloud/fix-examples-libmagick-extra
fix(examples): `libmagickcore-6.q16-6-extra` is already in the image
2024-06-12 15:50:28 -04:00
GitHub Workflow
1ad8fd89b9 Runs update.sh 2024-06-06 21:28:04 +00:00
Vesperia Art
ec1af314c2
Update redis.config.php (#2232)
Correctly set the redis password config from the REDIS_HOST_PASSWORD_FILE environment variable. Fix an issue similar to #1402 when using the REDIS_HOST_PASSWORD_FILE environment variable to provide the redis host secret.

Signed-off-by: Vesperia Art <vesperiaart@gmail.com>
2024-06-06 21:27:42 +00:00
J0WI
5fdeb7bc4a
Alpine 3.20 (#2233) 2024-06-04 21:48:48 +00:00
Josh
48180ee807
fix(install): Finish via web reminder now shown under all relevant scenarios (#2223)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-06-04 21:05:49 +00:00
J0WI
13f51c4f70
Bump to 28.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-05-31 00:08:06 +00:00
GitHub Workflow
a643e4b439 Runs update.sh 2024-05-30 23:55:59 +00:00
Josh
cb7acf5fe3
fix(examples): libmagickcore-6.q16-6-extra is already in the image
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-30 18:39:58 -04:00
GitHub Workflow
3b13c02caa Runs update.sh 2024-05-24 00:27:40 +00:00
Josh
7a4823180d
Merge pull request #2216 from nextcloud/fix/readme-help
fix(README): Point help seekers to forum first
2024-05-07 11:58:49 -04:00
Josh
ba9a6c2d93
fix(README): Point help seekers to forum first
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-06 11:57:08 -04:00
J0WI
ef38201477
Bump to 28.0.5
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-04-25 23:55:07 +00:00
GitHub Workflow
19417a8eb9 Runs update.sh 2024-04-25 23:42:16 +00:00
J0WI
1741b47319
Remove 26 (#2205) 2024-04-25 23:42:04 +00:00
GitHub Workflow
473af1bed1 Runs update.sh 2024-04-24 20:53:16 +00:00
J0WI
1be53d4bee
Drop Nextcloud 26
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-04-24 20:53:02 +00:00
GitHub Workflow
f7b20139eb Runs update.sh 2024-04-24 00:28:00 +00:00
J0WI
f23d5d3ab4
Typo
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-04-02 21:27:11 +00:00
J0WI
5abd7eacd5
Bump to 28.0.4
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-03-29 14:21:20 +00:00
GitHub Workflow
bc172f8dd2 Runs update.sh 2024-03-29 00:27:30 +00:00
J0WI
6151f60208
Update GitHub Actions (#2170)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-03-05 23:24:25 +00:00
J0WI
f9ce81fb7f
Add FTP module back (#2152) (#2169)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-03-04 21:50:47 +00:00
J0WI
9034966f1a
Remove Travis file (#2176)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-03-04 21:01:25 +00:00
GitHub Workflow
399f27e707 Runs update.sh 2024-03-04 21:00:17 +00:00
J0WI
0e725c6fa5
Revert "update docker-entrypoint.sh" (#2175) 2024-03-04 21:00:00 +00:00
J0WI
3ff69e2c1d
Bump to 28.0.3 (Fix #2162)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-03-01 22:44:44 +00:00
GitHub Workflow
6701f64a00 Runs update.sh 2024-03-01 00:28:03 +00:00
Simon L
38eba12039
Merge pull request #2159 from nextcloud/enh/noid/update-readme-md
Update Readme.md
2024-02-05 14:50:06 +01:00
Simon L
be444a05a2 Update Readme.md
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-05 14:32:42 +01:00
GitHub Workflow
e0ed07cfbf Runs update.sh 2024-02-05 12:08:20 +00:00
Simon L
2d624a6007
Merge pull request #2158 from nextcloud/enh/noid/update-entrypoint
update docker-entrypoint.sh
2024-02-05 12:02:58 +01:00
Simon L
e869267b20 update docker-entrypoint.sh
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-05 11:52:18 +01:00
GitHub Workflow
5aa43c00c8 Runs update.sh 2024-02-01 20:46:19 +00:00
GitHub Workflow
59dd41aaca Runs update.sh 2024-01-26 00:25:01 +00:00
Patrick Hobusch
2e9139bac8
Allow setting AWS S3 SSE-C key (#2151)
The AWS S3 SSE-C key for server side encryption can now be set using
the environment variable `OBJECTSTORE_S3_SSE_C_KEY`.

Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
2024-01-26 00:24:41 +00:00
J0WI
c88d31e3b8
Alpine 3.19 (#2150)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-01-25 23:50:34 +00:00
J0WI
72fad312b3
Bump to 27.1.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-01-25 23:08:23 +00:00
GitHub Workflow
75ae60a43a Runs update.sh 2024-01-25 13:59:48 +00:00
GitHub Workflow
39a72a4106 Runs update.sh 2024-01-16 00:04:19 +00:00
Patrick Hobusch
5dfa556afc
Allow setting AWS S3 storage class (#2138)
The AWS S3 storage class can now be set using the environment variable
`OBJECTSTORE_S3_STORAGE_CLASS`.

The order of the AWS S3 environment variables in the `README.md` has
also been adjusted to be more "logical".

Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
2024-01-16 00:04:05 +00:00
Raphael Nestler
f14ad96e2d
Mention minimal SMTP configuration in README.md (#2144)
Looking at d1dbc77e0b/.config/smtp.config.php
it is clear that `SMTP_HOST`, `MAIL_FROM_ADDRESS` and `MAIL_DOMAIN` must be set.

Signed-off-by: Raphael Nestler <raphael.nestler@gmail.com>
2024-01-14 01:12:38 +00:00
Josh
ea64bed4f9
Merge pull request #2133 from nextcloud/enh/readme/persist-volumes-custom-upgrade-exclude
enh(README) Persistent volume upgrade.exclude clarification
2024-01-12 15:14:52 -05:00
Josh
accf5bf119
Update README.md
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-12 15:12:03 -05:00
J0WI
bbc81a94b7
Update logo in README.md
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-01-09 23:12:44 +00:00
J0WI
071b888f7f
Update logo (#2143) 2024-01-09 23:04:18 +00:00
GitHub Workflow
28a76ceba4 Runs update.sh 2024-01-09 22:31:54 +00:00
Yevhen Kolomeiko
d89def24d1
Fix for PR #2095 breaking post-installation scripts in k8s (#2115)
* Fix docker-entrypoint.sh

Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>

* Fix docker-entrypoint.sh for alpine

Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>

* Use '-o' instead of two find's in docker-entrypoint.sh

Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>

* Use more laconic find parameters set in docker-entrypoint.sh

Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>

---------

Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>
2024-01-09 22:31:39 +00:00
Josh Richards
fd6f811978
enh(README) Persistent volume upgrade.exclude clarification
- Make the warning more prominent
- Clarify the language
- Clarity trade-offs

Fixes: #2132  

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-28 10:08:35 -05:00
GitHub Workflow
8afd97014c Runs update.sh 2023-12-21 21:31:17 +00:00
Kaloyan Nikolov
b80875632e
Update the examples section according to the latest nginx configuration required. (#2123)
Signed-off-by: Kaloyan K Nikolov <tzerber@gmail.com>
2023-12-16 18:48:47 +00:00
J0WI
215498b3fe
Bump to 27.1.5
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-12-15 23:42:40 +00:00
GitHub Workflow
4cff57305b Runs update.sh 2023-12-15 00:27:36 +00:00
GitHub Workflow
e6510ac594 Runs update.sh 2023-12-12 19:26:33 +00:00
J0WI
d4f83969cf
Bump to 27.1.4
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-12-12 19:26:17 +00:00
GitHub Workflow
488a855c49 Runs update.sh 2023-12-11 22:54:55 +00:00
Josh Richards
ed6c68451d
feat(updater): Disable web based updater for real (#2109)
Web based updates aren't used in the image, but the button remains enabled and generates an error when clicked. Let's eliminate the web updater button.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-11 22:54:39 +00:00
Jesper Noordsij
d1dbc77e0b
EOL 25 (#2102)
Signed-off-by: Jesper Noordsij <jesper@sslleiden.nl>
2023-11-24 10:42:06 +00:00
GitHub Workflow
44e01e1eab Runs update.sh 2023-11-24 00:27:31 +00:00
GitHub Workflow
cd0562ba8c Runs update.sh 2023-11-14 23:11:32 +00:00
Dennis Værum
23d099bc33
Bug fix: not found error if hook folder contains files but non ending with *.sh (#2095)
* Use `find` to located `*.sh`

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* added msg if hook folder does not exist

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Updated info message

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>

* Update docker-entrypoint.sh

Small adjustments

Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>

---------

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-11-14 23:11:10 +00:00
GitHub Workflow
2bfad53543 Runs update.sh 2023-11-14 22:41:10 +00:00
Marcel
3cbec37106
Add crond log level environment variable (#1805)
* Update docker-cron.sh

Signed-off-by: Marcel <34819524+MarcelCoding@users.noreply.github.com>

* Update stack.yml

Signed-off-by: Marcel <34819524+MarcelCoding@users.noreply.github.com>

* Update docker-cron.sh

* Update docker-cron.sh

Signed-off-by: Marcel <34819524+MarcelCoding@users.noreply.github.com>

* Update stack.yml

Signed-off-by: Marcel <34819524+MarcelCoding@users.noreply.github.com>

---------

Signed-off-by: Marcel <34819524+MarcelCoding@users.noreply.github.com>
2023-11-14 22:40:54 +00:00
GitHub Workflow
aaadffffb3 Runs update.sh 2023-11-12 00:34:24 +00:00
Josh Richards
8a08d4191c
Issue template: Reminder to include Compose/run + config (#2088)
Reports often come in lacking Compose files or run commands. Same goes for `config.php`.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-11-10 18:21:24 +00:00
J0WI
37ee8cfdab
Bump to 27.1.3
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-10-26 20:27:45 +00:00
GitHub Workflow
4c24a2ae8e Runs update.sh 2023-10-26 20:01:40 +00:00
GitHub Workflow
bc963e0382 Runs update.sh 2023-10-23 00:28:56 +00:00
am97
9dd8dcd5ee
Remove legacy header X-Download-Options in nginx.conf examples (#2077)
The header was relevant for Internet Explorer only and was removed from the nextcloud/server code: ea0e45d81e

Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
2023-10-15 18:17:21 +00:00
J0WI
2d39d9d190
Bump to 27.1.2
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-10-06 11:36:11 +00:00
GitHub Workflow
3f2d22d420 Runs update.sh 2023-10-06 00:30:07 +00:00
GitHub Workflow
fef9785e23 Runs update.sh 2023-09-24 00:28:00 +00:00
J0WI
766fd4e078
Bump to 27.1.1
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-09-21 20:26:48 +00:00
GitHub Workflow
b008ff8bb7 Runs update.sh 2023-09-21 20:24:53 +00:00
J0WI
1ed450b540
Bump to 27.1.0
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-09-16 22:53:12 +00:00
GitHub Workflow
3fa92257f9 Runs update.sh 2023-09-16 22:51:59 +00:00
adripo
90064ed260
Set Apache LimitRequestBody with env variable APACHE_BODY_LIMIT (#2065)
* feat: set apache LimitRequestBody

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* feat: APACHE_BODY_LIMIT variable

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* fix: move ENV to existing VARIANT_EXTRAS

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* docs: updated var description

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* fix: remove comment

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

---------

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
2023-09-16 22:51:45 +00:00
GitHub Workflow
4cd70385b8 Runs update.sh 2023-09-16 00:27:19 +00:00
J0WI
03a967db4e
Bump to 26.0.5 (fix #2061)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-09-14 22:24:34 +00:00
GitHub Workflow
467a98dcc9 Runs update.sh 2023-09-14 21:56:13 +00:00
GitHub Workflow
12390fb508 Runs update.sh 2023-09-10 00:29:29 +00:00
GitHub Workflow
f9ae675c1a Runs update.sh 2023-08-20 21:19:25 +00:00
Mossroy
04e4138db5
Replace RemoteIPTrustedProxy by RemoteIPInternalProxy in remoteip.conf (#2004)
Else the internal IP ranges are ignored
See https://httpd.apache.org/docs/2.4/en/mod/mod_remoteip.html#remoteiptrustedproxy and https://httpd.apache.org/docs/2.4/en/mod/mod_remoteip.html#remoteipinternalproxy

Signed-off-by: Mossroy <mossroy@mossroy.fr>
2023-08-20 21:19:13 +00:00
J0WI
c4966442a6
Bump to 26.0.5 (#2050)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-08-10 23:40:32 +00:00
David Li
625dd013fa
Apply changes from #2033 to the examples. (#2046)
Signed-off-by: David Li <david@davidl.me>
2023-08-10 23:10:13 +00:00
GitHub Workflow
09fecda406 Runs update.sh 2023-08-10 22:36:51 +00:00
J0WI
7bd3b7b6db
Stable 26.0.4
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-07-24 19:38:15 +00:00
GitHub Workflow
f0f6fc1f03 Runs update.sh 2023-07-24 19:36:18 +00:00
J0WI
d3b3eeba85
Debian Bookworm (#2033)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-07-24 19:36:02 +00:00
GitHub Workflow
1b913eb0e9 Runs update.sh 2023-07-20 11:47:38 +00:00
GitHub Workflow
38b8110c58 Runs update.sh 2023-07-09 20:20:25 +00:00
Antonin Delpeuch
a68c6ef348
Block upgrade if it is not supported because major versions are too different (#2018)
* Block upgrade if it is not supported

Closes #1809. This prevents the install from getting in a state where none
of the Docker images will accept running given the contents of the volumes.

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Remove extra function

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

---------

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-07-09 20:20:10 +00:00
J0WI
74d33d0020
Stable 26.0.3 (fix #2016)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-06-22 16:10:00 +00:00
GitHub Workflow
040d8687a6 Runs update.sh 2023-06-22 16:06:52 +00:00
Dennis Værum
d3251467e6
Added entrypoint hooks for your own custom scripts (#1964)
* Added entrypoint hooks for your own custom scripts

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Small changes:
- Only execute shell-scripts (mening files ending with .sh)
- Sort the files before executing them, had forgotten 😅
- Added a message when a hook script finish
- Added prefix arror to message to show the are related

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Show in the search msg that it only searches for '*.sh' files

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Fixed spelling mistake

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>

* Updated the `README.md` file

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* change from using find to using a for-loop to located the `.sh` files

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Fix bug - that would make docker-entrypoint.sh failed, hook folders was empty

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

---------

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-06-22 16:06:37 +00:00
GitHub Workflow
ceb2893af1 Runs update.sh 2023-06-13 15:13:35 +00:00
Simon L
35e99028fb
adjust readme again to be a bit more verbose about what AIO is (#2006)
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-09 12:07:41 +00:00
J0WI
22d28e45cd
Alpine 3.18 & PHP 8.2 (#1989)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-31 15:17:36 +00:00
J0WI
fb5866ada9
Use no-network option (#2000)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-31 15:16:04 +00:00
GitHub Workflow
d24ce74201 Runs update.sh 2023-05-31 13:11:48 +00:00
J0WI
4298972d2e
Restore PHP 8.1 for Nextcloud 25 (#1998)
https://github.com/docker-library/php/pull/1412

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-31 13:06:10 +00:00
Daniel Rudolf
570ac60ed2
Add versions.json (#1995)
* Add %%DEBIAN_VERSION%% placeholder

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

* Replace %%BASE_DOWNLOAD_URL%% placeholder by %%DOWNLOAD_URL{_ASC}%%

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

* Add version.json

'versions.json' contains information about the latest branches and variants. It is managed by `./update.sh`, there's no need to edit this file manually, just run `./update.sh`.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

* Run update.sh

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

---------

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2023-05-31 12:13:56 +00:00
Nextcloud Command Bot
f2c8cb599e
chore: update workflows from templates (#1993)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-28 10:15:55 +00:00
J0WI
646bef90e2
25.0.7 (#1987)
https://github.com/nextcloud-releases/updater_server/pull/869/commits

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-26 01:04:35 +00:00
J0WI
136a20de32
Downgrade Nextcloud 25 to PHP 8.0 due OpenSSL 1.1/Alpine 3.16 (#1990)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-26 01:00:58 +00:00
J0WI
8394b4967c
EOL 24 (#1988)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-25 23:03:53 +00:00
GitHub Workflow
9b84086ab9 Runs update.sh 2023-05-25 22:23:21 +00:00
kn0wmad
5d6b615a8e
Update README.md (#1983)
Signed-off-by: kn0wmad <39687477+kn0wmad@users.noreply.github.com>
2023-05-25 22:23:01 +00:00
J0WI
2d8f990304
Stable 25.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-04-20 14:57:03 +00:00
GitHub Workflow
620d4d68f4 Runs update.sh 2023-04-20 13:11:17 +00:00
Stavros Kois
8df9b2617e
Updates X-Robot-Tag in nginx.conf examples (#1960)
* Update X-Robot-Tag in nginx.conf example

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* update nginx.conf examples

* Update .examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* apply to all files

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-04-02 16:33:05 +00:00
J0WI
ee394835b7
Stable 25.0.5 (#1961) 2023-04-02 15:39:27 +00:00
J0WI
3eb80c52b1
Support SELinux in docker-compose.yml examples (fix #324) (#1957)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-28 16:05:53 +00:00
J0WI
30bb621341
Update MariaDB to 10.6 (#1956)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-28 15:35:15 +00:00
GitHub Workflow
cf30668784 Runs update.sh 2023-03-28 13:51:27 +00:00
Anderson Entwistle
e1b1923861
feat: support object store credentials from file (#1946)
Signed-off-by: Anderson Entwistle <46688047+aentwist@users.noreply.github.com>
2023-03-28 13:50:55 +00:00
GitHub Workflow
1ca0f40af4 Runs update.sh 2023-03-24 00:27:35 +00:00
GitHub Workflow
289f0bb8a3 Runs update.sh 2023-03-21 22:44:45 +00:00
J0WI
165698da7b
Alpine 3.17 (#1953)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-21 22:44:22 +00:00
GitHub Workflow
89a0b8904e Runs update.sh 2023-03-21 19:31:45 +00:00
J0WI
8c9cdd1268
Add sysvsem (#1952)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-21 19:31:21 +00:00
GitHub Workflow
6cb8913dc4 Runs update.sh 2023-03-21 18:46:08 +00:00
J0WI
321d0b29a0
Remove EOL 23 (#1951)
* Remove EOL 23

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* Clenaup GMP extension installation

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

---------

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-21 18:45:38 +00:00
GitHub Workflow
287f6ddc86 Runs update.sh 2023-03-21 18:20:33 +00:00
severinkaelin
9919d713e6
Reference latest instead of hardcoded versions in admin manual links (#1947)
Signed-off-by: severinkaelin <39438642+severinkaelin@users.noreply.github.com>
2023-03-21 18:02:17 +00:00
Ben Siddans
31c59aea24
Add words to README to draw attention to the use of upgrades.exclude, potential for files to be removed during installation/upgrades. (#1862) 2023-03-04 19:16:46 +00:00
okrc
bcb0642e00
Fixed broken link (#1931)
Signed-off-by: okrc <okrc@hexo.dev>
2023-03-04 19:13:45 +00:00
Daniel
4abe7df9d5
docs(smtp): clearify on mail_from_address (#1929)
mail_from_address will overwrite the local-part for the from address.

Signed-off-by: Daniel <mail@danielkesselberg.de>
2023-03-04 18:46:17 +00:00
GitHub Workflow
f8169f6804 Runs update.sh 2023-03-02 06:21:38 +00:00
John Molakvoæ
3827f0119f
Merge pull request #1927 from simonmicro/patch-1 2023-03-02 07:19:19 +01:00
simonmicro
e7eb6af83c
Fix for Nextcloud opcache-complains 2023-03-01 22:57:40 +01:00
John Molakvoæ
aac4d09c74
Merge pull request #1905 from remram44/lock 2023-03-01 11:06:29 +01:00
J0WI
c5a8a8863b
25.0.4 (#1924) 2023-02-23 22:44:19 +00:00
GitHub Workflow
d266acccf0 Runs update.sh 2023-02-23 21:46:37 +00:00
Simon L
c13521ce12
README: update to reflect support of these images vs enterprise and AIO (#1916)
* README: update to reflect support of these images vs enterprise and AIO

Signed-off-by: Simon L <szaimen@e.mail.de>

* address review by J0WI

Signed-off-by: Simon L <szaimen@e.mail.de>

---------

Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-19 18:33:07 +00:00
Adam Monsen
d1d0d89ba7
Enable MariaDB binary log (#1881)
* Enable MariaDB binary log

This resolves a warning in the database server log:

    [Warning] You need to use --log-bin to make --binlog-format work.

Pros:

* support for point-in-time recovery
* necessary for replication

Cons:

* slows down database operations ("slightly", per the manual)
* takes up disk space (mitigated by `--expire-logs-days=2`)

See also:

* <https://mariadb.com/kb/en/binary-log/>
* <https://mariadb.com/kb/en/full-list-of-mariadb-options-system-and-status-variables/>

Alternatives:

1. Do not add `--log-bin`. Remove `--binlog-format` instead. This causes the least amount of change for existing installations.

Signed-off-by: Adam Monsen <haircut@gmail.com>

* remove --expire-logs-days=2 mariadb flag

This better aligns with recommendations in the Nextcloud documentation.

Also: the flag isn't necessary. There are already set times for cleanup: The MySQL and MariaDB documentation both state that binary logs will be purged on startup and flush/rotation.

Signed-off-by: Adam Monsen <haircut@gmail.com>

---------

Signed-off-by: Adam Monsen <haircut@gmail.com>
2023-02-17 14:13:12 +00:00
Remi Rampin
8c93a5c53e Run update.sh
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-02-08 14:05:11 -05:00
Remi Rampin
405e815285 Un-factor do_install_or_upgrade()
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-02-08 14:05:08 -05:00
Remi Rampin
8aabc4b3ea Remove NEXTCLOUD_INIT_LOCK
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-02-08 14:05:00 -05:00
Adam Monsen
f49b1edcaa
add note about running non-root with cron (#1901)
Signed-off-by: Adam Monsen <haircut@gmail.com>
2023-02-08 14:58:59 +00:00
GitHub Workflow
2a5b0881cd Runs update.sh 2023-02-08 14:52:36 +00:00
Varun Patil
e4f5b95e1e
Enable JIT (#1829)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-02-08 14:50:46 +00:00
Remi Rampin
295cdf7fb7 Run update.sh
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-01-27 11:08:07 -05:00
Remi Rampin
4667cbe149 Use flock to lock the whole upgrade process
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-01-27 11:08:06 -05:00
Remi Rampin
df9653a00c Remove old locking logic
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-01-27 11:08:04 -05:00
Remi Rampin
7a0aba93a2 Factor do_install_or_upgrade()
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-01-27 11:07:43 -05:00
J0WI
2ffebc1e35
Bump stable to 25.0.3 (#1900)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-01-17 18:45:16 +00:00
thomasmerz
c66b03b8c6
🩹 fix deprecation warning: Node.js 12 actions are deprecated. (#1885)
* 🩹 fix deprecation warning:

   Node.js 12 actions are deprecated.
   For more information see:
   https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
   Please update the following actions to use Node.js 16: actions/checkout@master

   Using version v3, latest or master: actions/checkout#689

Signed-off-by: Thomas Merz <git@rhoenwurz.de>

* Update .github/workflows/update-sh.yml

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: thomasmerz <thomasmerz@users.noreply.github.com>

Signed-off-by: Thomas Merz <git@rhoenwurz.de>
Signed-off-by: thomasmerz <thomasmerz@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-01-17 18:01:42 +00:00
GitHub Workflow
c1a5232542 Runs update.sh 2023-01-17 16:41:48 +00:00
J0WI
04ab3157e4
Bump stable Version to 25 (fix #1865) (#1878) 2022-12-08 22:44:37 +00:00
GitHub Workflow
540648f7ed Runs update.sh 2022-12-08 21:52:41 +00:00
J0WI
6103e074d8
Fix #1021 (#1872)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-12-01 00:19:39 +00:00
J0WI
29ef76288a
Fix #1021 (#1871) 2022-12-01 00:16:52 +00:00
GitHub Workflow
48f223fc7f Runs update.sh 2022-11-28 16:13:06 +00:00
J0WI
24440af0d5
Enhance shell syntax (#1868)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-11-28 16:12:46 +00:00
Tianon Gravi
c83394d97e
Update GitHub Actions to use new bashbrew action (#1861)
This should fix errors that the old code would've run into thanks to the update to Go 1.18, and should help prevent them in the future by pinning to a specific release of both Bashbrew and the related scripts.

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2022-11-26 14:27:18 +00:00
Justin Lamp
dfb538c5c7
Fixes warning about svg support missing (#1789)
* Include imagick in all flavours

Signed-off-by: Justin Lamp <justin.lamp@netways.de>

* Fix alpine imagick version

Signed-off-by: Justin Lamp <justin.lamp@netways.de>

* Changed alpine package to imagemagick
php extension is already present, so only install imagemagick

Signed-off-by: modzilla99 <justin.lamp96@gmail.com>

Signed-off-by: Justin Lamp <justin.lamp@netways.de>
Signed-off-by: modzilla99 <justin.lamp96@gmail.com>
2022-11-15 14:36:51 +01:00
J0WI
625445fbe9
Bump to 24.0.7
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-11-03 17:51:31 +00:00
GitHub Workflow
739d699640 Runs update.sh 2022-11-03 16:15:06 +00:00
MAbeeTT (Matías Pecchia)
aa779c7c92
prevents running occ maintenance:update:htaccess on a first run volume (#1843)
Signed-off-by: Matías Pecchia <179218+mabeett@users.noreply.github.com>

Signed-off-by: Matías Pecchia <179218+mabeett@users.noreply.github.com>
2022-11-03 16:13:35 +00:00
GitHub Workflow
88568fb121 Runs update.sh 2022-11-03 15:32:23 +00:00
GitHub Workflow
de77074a55 Runs update.sh 2022-10-19 15:06:11 +00:00
J0WI
ea1360defa
PHP 8.1 (#1841)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-10-19 14:58:40 +00:00
Florian Friedrich
20327851c8
Update stable to 24.0.6 (#1832)
Signed-off-by: Florian Friedrich <ffried@me.com>

Signed-off-by: Florian Friedrich <ffried@me.com>
2022-10-07 11:28:11 +00:00
GitHub Workflow
d934a4b578 Runs update.sh 2022-10-06 13:36:28 +00:00
J0WI
f69a48834e
Fix mysql import in nextcloud readme
https://github.com/docker-library/docs/pull/2210

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-10-05 20:15:07 +00:00
GitHub Workflow
85e22b4a8e Runs update.sh 2022-09-20 00:33:20 +00:00
J0WI
fa4d98490c
24.0.5 (#1817)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-09-08 19:20:52 +00:00
GitHub Workflow
3cbad551c3 Runs update.sh 2022-09-08 19:11:46 +00:00
J0WI
3c7c42e604
Allow manual run
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-09-07 14:19:40 +00:00
GitHub Workflow
b30812dea9 Runs update.sh 2022-09-06 16:46:19 +00:00
J0WI
19256cdbf8
Allow to run with custom uid (#1812)
fix: #359, #772, #1081, #1087, #1278

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-09-06 16:46:03 +00:00
Adam Monsen
2a5bc6f3bb
enable mariadb auto upgrade (#1814)
* enable mariadb auto upgrade

This fixes after-upgrade issues, for example:

    [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141).

The upgrade only happens when necessary.

I also disabled the system database backup because I assume users create
and test their own backups.

Signed-off-by: Adam Monsen <haircut@gmail.com>

* use 1s instead of "yesplease"

Any nonzero value is valid for these environment variables.

Signed-off-by: Adam Monsen <haircut@gmail.com>

Signed-off-by: Adam Monsen <haircut@gmail.com>
2022-09-06 16:45:45 +00:00
GitHub Workflow
338b483247 Runs update.sh 2022-09-02 13:00:36 +00:00
Mehdi Zakaria Benadel
d447c5793a
fix SMTP_PASSWORD_FILE not triggering auth activation (#1614)
Signed-off-by: Mehdi Benadel <mehdi.benadel@gmail.com>

Signed-off-by: Mehdi Benadel <mehdi.benadel@gmail.com>
2022-09-02 13:00:12 +00:00
J0WI
685803da0b
Remove 22 (#1813)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-09-01 14:25:06 +00:00
J0WI
b71e398d57
24.0.4 (#1804)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-08-12 11:05:48 +00:00
GitHub Workflow
6d25698ea3 Runs update.sh 2022-08-12 00:28:01 +00:00
J0WI
8dd3d45f63
22 EOL (#1800)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-08-07 16:32:42 +00:00
J0WI
6e7695e443
Bump stable channel (#1792) 2022-07-18 19:59:06 +00:00
GitHub Workflow
8cfb0e50ef Runs update.sh 2022-07-18 17:05:32 +00:00
J0WI
cde03854f6
Use $PHP_INI_DIR var (#1790)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-07-18 16:53:48 +00:00
Elias
fa31dabcab
stable 24.0.2 (#1783) 2022-07-18 16:53:37 +00:00
GitHub Workflow
941450c1fb Runs update.sh 2022-06-30 13:16:23 +00:00
Thomas Clavier
502fda1f7a
Use $PHP_INI_DIR var (#1765)
* Use $PHP_INI_DIR var

* Update 24/fpm/Dockerfile

Co-authored-by: J0WI <J0WI@users.noreply.github.com>

* Update 24/fpm/Dockerfile

Co-authored-by: J0WI <J0WI@users.noreply.github.com>

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2022-06-30 13:12:07 +00:00
GitHub Workflow
66f397fd74 Runs update.sh 2022-06-30 13:06:30 +00:00
J0WI
3df4ad5737
Alpine 3.16 (#1779)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-06-30 13:04:35 +00:00
GitHub Workflow
0eda450eb9 Runs update.sh 2022-06-30 12:59:37 +00:00
John Molakvoæ
209d65d0b6
Add NEXTCLOUD_INIT_HTACCESS to run occ maintenance:update:htaccess after init (#1761)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-06-30 12:59:15 +00:00
J0WI
c416385b7c
Update Nextcloud to 24.0.2 (#1773)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-06-20 20:50:48 +00:00
John Molakvoæ
e88d8e4681
Merge pull request #1739 from nextcloud/feat/workflow-auto-update-command-rebase.yml 2022-06-15 08:17:06 +02:00
Nextcloud bot
ce6a874471 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-11 15:15:03 +00:00
GitHub Workflow
00d88733d0 Runs update.sh 2022-06-07 12:26:59 +00:00
John Molakvoæ
ec3f7e55c4
Merge pull request #1760 from nextcloud/feat/config-flag-init 2022-06-07 14:26:35 +02:00
John Molakvoæ
83d5e72596
Add NEXTCLOUD_INIT_LOCK to enable shared html volume update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-06-01 08:18:10 +02:00
J0WI
d11d42bb20
23.0.5 (#1755) 2022-05-20 18:38:53 +00:00
GitHub Workflow
de57fc0cc7 Runs update.sh 2022-05-20 00:27:35 +00:00
GitHub Workflow
625472cfa3 Runs update.sh 2022-05-04 00:27:42 +00:00
GitHub Workflow
4f071a6f44 Runs update.sh 2022-04-28 18:32:56 +00:00
J0WI
7a89d751ca
Limit until loop (#1741)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-04-28 18:32:38 +00:00
J0WI
3f42156a07
23.0.4 stable (#1738)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-04-26 13:36:15 +00:00
John Molakvoæ
00c518023a
Merge pull request #1737 from J0WI/readme-typos 2022-04-26 07:52:44 +02:00
GitHub Workflow
a497f03af8 Runs update.sh 2022-04-26 05:42:34 +00:00
J0WI
f511ef284b Minor typos
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-04-25 21:12:07 +02:00
John Molakvoæ
b842cb3bb5
Merge pull request #1728 from nextcloud/feat/simultaneaous-html-init 2022-04-22 10:22:31 +02:00
John Molakvoæ
35b8ebf954 Allow simultaneous initialization of common html volume
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-22 10:05:17 +02:00
John Molakvoæ
e76b7cab35
Merge pull request #1732 from nextcloud/revert-1684-feature/healthcheck 2022-04-14 15:43:53 +02:00
John Molakvoæ
ca1e773918
Revert "Add healthcheck" 2022-04-14 15:26:20 +02:00
John Molakvoæ
f9d8052b48
Merge pull request #1684 from TheLastProject/feature/healthcheck
Add healthcheck
2022-04-14 09:05:53 +02:00
John Molakvoæ
4bb8d00ed5
Create command-rebase.yml 2022-04-14 08:59:09 +02:00
John Molakvoæ
1bd3a50196
Merge pull request #1730 from nextcloud/add/summary-mandatory-step 2022-04-14 08:55:50 +02:00
Sylvia van Os
8355426311 Add healthcheck
This checks if status.php returns succesfully to determine if the
Nextcloud instance is health.

Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
2022-04-13 19:03:06 +02:00
John Molakvoæ
58273cdd36
Merge pull request #1698 from t3easy/hide-nginx-infos 2022-04-13 16:53:09 +02:00
John Molakvoæ
2753dadf00
Add mandatory summary step for branches protection 2022-04-13 16:02:47 +02:00
GitHub Workflow
da935d26bb Runs update.sh 2022-03-28 15:31:20 +00:00
J0WI
e36ca5ff96
Fix regex for pecl prereleases (#1725)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-03-28 15:30:51 +00:00
Manuel Rüger
71f4a94464
update.sh: Remove unused paths (#1723)
As php 7.x is not used anymore, these can be removed.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-03-28 15:30:37 +00:00
J0WI
97f99dbfdb
22.2.6 stable 2022-03-23 16:47:09 +00:00
J0WI
0d4c78dcc0
Remove 21 EOL (#1720) 2022-03-23 16:44:01 +00:00
GitHub Workflow
fb33f156a8 Runs update.sh 2022-03-23 11:27:46 +00:00
J0WI
d27ec71090
Set recommend opcache.revalidate_freq (#1718)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-03-23 11:27:28 +00:00
J0WI
7d6837dbbe
Remove Nextcloud 21 (EOL) (#1719)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-03-23 11:01:22 +00:00
GitHub Workflow
04d461e416 Runs update.sh 2022-03-23 09:57:03 +00:00
rugk
6478d4d0ce
Increase (double) opcache string buffer size (#1702)
* Increase (double) opcache string buffer size (debian)

This fixes https://github.com/nextcloud/docker/issues/1692

* Increase (double) opcache string buffer size (alpine)

This fixes #1692
2022-03-23 09:53:53 +00:00
GitHub Workflow
df168e19ce Runs update.sh 2022-03-22 00:27:27 +00:00
GitHub Workflow
3a5086de63 Runs update.sh 2022-03-11 00:27:46 +00:00
GitHub Workflow
76b79690dc Runs update.sh 2022-03-08 00:27:30 +00:00
GitHub Workflow
3fd3a40ee1 Runs update.sh 2022-02-20 19:45:36 +00:00
rugk
13eb6969c6
doc: fix link to OpCache server doc (#1703)
* doc: fix link to OpCache server doc

* doc: fix link to OpCache server doc
2022-02-20 19:45:22 +00:00
Doncho N. Gunchev
ababef74e9
Revert "Simplify first character check in entrypoint.sh (#1679)" #1699 (#1701)
.In php:8.0-fpm-bullseye /bin/sh is dash, which does not support "${X:0:1}"
(substring expansion).

This reverts commit 0536522175.

Signed-off-by: Doncho N. Gunchev <dgunchev@gmail.com>
2022-02-18 18:28:09 +00:00
Thomas131
4b7b164953
Push to 22.2.5 (#1696)
Signed-off-by: Thomas131 <t@t131.us.to>

Co-authored-by: Thomas131 <t@t131.us.to>
2022-02-17 16:29:02 +00:00
Jan Kiesewetter
522559eefd Prevent nginx HTTP Server Detection
Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
2022-02-17 14:55:39 +01:00
GitHub Workflow
211229f8dc Runs update.sh 2022-02-16 00:27:09 +00:00
Doncho N. Gunchev
0536522175
Simplify first character check in entrypoint.sh (#1679)
Signed-off-by: Doncho N. Gunchev <dgunchev@gmail.com>
2022-02-08 18:43:35 +00:00
GitHub Workflow
dcf058fb55 Runs update.sh 2022-01-29 00:26:49 +00:00
GitHub Workflow
a9af37b1ec Runs update.sh 2022-01-18 00:27:01 +00:00
koderik
365c4f8400
fixed spacing error (#1664)
Signed-off-by: koderik <erik.sandlov@gmail.com>

Co-authored-by: koderik <erik.sandlov@gmail.com>
2022-01-14 13:18:16 +00:00
Brian Lee
1b80124463
Add link to nginx configuration instructions (#1663) 2022-01-14 10:36:17 +00:00
Lejo
0201ea31f4
Revert volumes_from (#1677)
Signed-off-by: Lejo1 <Lejo_1@web.de>
2022-01-14 10:35:13 +00:00
GitHub Workflow
111add0e1c Runs update.sh 2022-01-13 00:27:12 +00:00
Felix Bühler
961aeb147e
run bash via env command (#1637)
`#!/usr/bin/env` searches `PATH` for `bash`, and `bash` is not always in `/bin``

Signed-off-by: Felix Buehler <account@buehler.rocks>
2022-01-07 22:22:35 +00:00
GitHub Workflow
c046638a98 Runs update.sh 2021-12-19 00:27:12 +00:00
Charlie Macfarlane Brodie
44a55665a3
Changed 'to' to 'in' (#1649)
Updated the wording of the comments for one of the docker-compose examples to more correct english usage.

Signed-off-by: Charlie MacFarlane Brodie <mail@charliebrodie.com>
2021-12-10 09:54:05 +00:00
Lejo
3619c0caac
Update Nginx-Proxy Docker repository (#1644)
Signed-off-by: Lejo1 <Lejo_1@web.de>
2021-12-10 09:53:51 +00:00
GitHub Workflow
5a189c719d Runs update.sh 2021-11-30 23:35:40 +00:00
J0WI
484b2c57a3
Alpine 3.15 (#1643)
* Alpine 3.15

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

* Remove reference to 20

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-11-30 23:35:20 +00:00
J0WI
e2dc98dea4
Nextcloud 23 (#1642)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-11-30 23:17:47 +00:00
GitHub Workflow
905972656e Runs update.sh 2021-11-29 22:31:17 +00:00
Simon Tushev
2857b4b3f1
Added fetching autoconfig data from Docker secrets (#1516)
* Added fetching autoconfig data from Docker secrets

Signed-off-by: Simon Tushev <tushev@users.noreply.github.com>

* Docker secrets now have priority over ENV variables; improved README.md

Signed-off-by: Simon Tushev <tushev@users.noreply.github.com>
2021-11-29 22:30:57 +00:00
aney1
f4dbcf523a
add rewrite rule from official docs to nginx examples (#1635)
Without this rewrite rule you can't access some pages (like LDAP config).
These lines are present in the official docs: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html

Signed-off-by: aney1 <aney1@users.noreply.github.com>
2021-11-25 13:04:39 +00:00
Klaus Frank
6e54048644
Add OVERWRITECLIURL env var (#1622)
Signed-off-by: Klaus Frank <git@frank.fyi>
2021-11-25 13:03:48 +00:00
rafgk
d82bc95d11
Switch to new nginx companion registry. (#1571)
As stated in https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/ the the project has moved to a new registry and therefore that should be used instead.
2021-11-25 12:42:57 +00:00
Tilo Spannagel
603c2ead2e
Merge pull request #1636 from Stunkymonkey/nextcloud-22.2.3
Update stable to 22.2.3
2021-11-16 21:13:36 +01:00
Felix Buehler
e3c4b823e3 Update stable to 22.2.3
Signed-off-by: Felix Buehler <account@buehler.rocks>
2021-11-16 14:24:48 +01:00
GitHub Workflow
4821c307e9 Runs update.sh 2021-11-16 00:26:49 +00:00
J0WI
e26adedbdb
Update stable to 22.2.2 (#1631) 2021-11-13 21:44:17 +00:00
GitHub Workflow
dc24ba0fcb Runs update.sh 2021-11-13 00:26:50 +00:00
GitHub Workflow
7fc6772513 Runs update.sh 2021-11-12 00:26:52 +00:00
Thomas131
05d4746aa3
Upgrade to 22.2.0 (#1616)
Signed-off-by: Thomas131 <t@t131.us.to>

Co-authored-by: Thomas131 <t@t131.us.to>
2021-10-20 19:32:15 +00:00
GitHub Workflow
dd37882f3e Runs update.sh 2021-10-20 19:13:59 +00:00
am97
f0ae2d018b
Add libldap-common as runtime dependency, not build dependency (#1609)
Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>

Co-authored-by: Andrés Maldonado <maldonado@codelutin.com>
2021-10-20 19:12:43 +00:00
J0WI
652416e651
Stable 21.0.5 (#1611) 2021-10-14 20:36:06 +00:00
GitHub Workflow
2163ed293a Runs update.sh 2021-10-08 00:27:12 +00:00
GitHub Workflow
de88409898 Runs update.sh 2021-09-30 12:59:12 +00:00
sleif
9d83a82b63
also install libldap-common to get a valid /etc/ldap/ldap.conf file (#1586)
related to https://github.com/nextcloud/docker/issues/1572

Signed-off-by: Sebastian BERTHOLD <5272331+sleif@users.noreply.github.com>
2021-09-30 12:58:53 +00:00
GitHub Workflow
b67f507e77 Runs update.sh 2021-08-29 15:20:29 +00:00
J0WI
9ec9b3b4c5
PHP 8.0 for 22+ (#1563)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-08-29 15:20:12 +00:00
GitHub Workflow
854c696d5f Runs update.sh 2021-08-27 10:38:37 +00:00
J0WI
25a19158fc
Update to Bullseye (#1562)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-08-27 10:38:19 +00:00
GitHub Workflow
57a0401c74 Runs update.sh 2021-08-27 00:26:52 +00:00
Marcel Blöcher
c9143621ba
fix acme volume with letsencrypt-nginx-proxy-companion >= v2.0.0 (#1358)
Signed-off-by: Marcel Blöcher <mblo@users.noreply.github.com>
2021-08-23 12:42:38 +00:00
J0WI
3a1f59b21c
Adopt new version scheme (#1553)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-08-05 22:32:35 +00:00
András Maróy
5d01cebeab
Implement docker secret handling for SMTP_PASSWORD (#1471)
* Implement docker secret handling for SMTP_PASSWORD

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Use `trim` instead of `rtrim` for `SMTP_PASSWORD_FILE` contents

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Co-authored-by: GitHub Workflow <workflow@github.com>
2021-07-30 12:23:35 +00:00
GitHub Workflow
188db02474 Runs update.sh 2021-07-23 00:26:39 +00:00
J0WI
1a432d98fa
Lock mariadb to 10.5 in examples (fix #1536) (#1539)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-18 22:00:36 +00:00
fariszr
c769eb86e1
don't expose insecure ports to the public (#1523)
* don't expose insecure ports to public

* don't expose insecure ports to public

Signed-off-by: Fariszr <35614734+fariszr@users.noreply.github.com>
2021-07-18 21:52:26 +00:00
Elias
31b0b0337e
Update stable tag to 21.0.3 (#1538)
The official updater now rolls out 21.0.3 to all 20.0.11 users
2021-07-18 21:45:24 +00:00
Patrizio Bekerle
1e86ea7d4e
Merge pull request #1537 from pbek/master
Lock mariadb to 10.5 (#1536)
2021-07-17 10:45:34 +02:00
Patrizio Bekerle
c91097a08e Lock mariadb to 10.5 (#1536) 2021-07-13 21:54:18 +02:00
Patrizio Bekerle
d7f1fa7b0d Revert "Lock mariadb to 10.5"
This reverts commit 94a24c2385.
2021-07-13 21:51:14 +02:00
Patrizio Bekerle
94a24c2385
Lock mariadb to 10.5 2021-07-13 21:38:33 +02:00
GitHub Workflow
b6b9499252 Runs update.sh 2021-07-06 17:51:01 +00:00
J0WI
9c6af73a76
19 EOL 2021-07-06 17:50:40 +00:00
J0WI
043777ae8d
Update stable to 20.0.11 (#1525)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-02 00:29:53 +00:00
GitHub Workflow
de10af6ed1 Runs update.sh 2021-07-02 00:26:31 +00:00
J0WI
62a46a6c4d
Alpine 3.14 (#1521)
* Update keyserver

https://github.com/docker-library/faq/pull/23

* Alpine 3.14
2021-06-27 15:23:11 +00:00
J0WI
a92ea90731
Update nginx.conf (#1517)
https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx-root.conf.sample
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-06-27 15:14:11 +00:00
GitHub Workflow
80171fb7c9 Runs update.sh 2021-06-18 00:27:13 +00:00
GitHub Workflow
05026b029d Runs update.sh 2021-05-21 12:08:35 +00:00
Thomas131
3cd32ef5bb
Push stable channel to 20.0.10 (#1498)
Signed-off-by: Thomas131 <t@t131.us.to>
2021-05-21 12:08:13 +00:00
GitHub Workflow
7cc3dcac75 Runs update.sh 2021-05-21 00:27:27 +00:00
J0WI
def2eeae13
typo 2021-04-28 14:57:30 +00:00
GitHub Workflow
f0ca2b56e8 Runs update.sh 2021-04-27 15:02:03 +00:00
0x47
83bd162c7a
Fix broken smtp.config.php file (#1482)
The current `smtp.config.php` file does not work as advertised in the documentation. Both `MAIL_FROM_ADDRESS` and `MAIL_DOMAIN` should be optional as the Nextcloud instance may use multiple _from addresses_ like no-reply@example.com or passwordreset-no-reply@example.com (or similar). It may also just use the domain name from the instance instead of a configured one.

I tested this PR on NC 21 as I don't have access to the previous versions at the moment. I propose to leave NC 19 annd 20 as they are and to continue with this `smtp.config.php` from version 21 forward.

Signed-off-by: 0x47 <0x47@users.noreply.github.com>
2021-04-27 15:01:39 +00:00
J0WI
ac9316073c
Add link for Nextcloud issues (#1486) 2021-04-26 18:36:02 +00:00
J0WI
e8fc118c40
Add issue template (#1485) 2021-04-26 18:28:48 +00:00
J0WI
953ebac32b
Reduce examples (#1484) 2021-04-26 17:15:37 +00:00
J0WI
45abf54d60
Drop prereleases (#1412) 2021-04-26 17:15:28 +00:00
Florian Friedrich
ede3bdc0cc
Update stable tag to 20.0.9 (#1470)
Signed-off-by: Florian Friedrich <ffried@me.com>
2021-04-09 11:32:17 +00:00
GitHub Workflow
3235316659 Runs update.sh 2021-04-09 00:27:41 +00:00
Fabian Eisinger
6b4745de27
Fix typo (#1468)
The environment variable for MYSQL_DATABASE was named MYSQL_DB in chapter "Docker Secrets".

The typo probably happened because of inconsistent naming of MYSQL_DATABSE vs POSTGRES_DB.
2021-04-06 14:12:07 +00:00
GitHub Workflow
01e6c71dd5 Runs update.sh 2021-04-02 00:31:35 +00:00
GitHub Workflow
d192631347 Runs update.sh 2021-03-27 01:01:22 +00:00
Philipp
a15c755399
Add "legacy_auth" option for S3 object stores (#1444)
* Add "legacy_auth" option for S3 object stores

Signed-off-by: Philipp <admin@philipp.info>

* Update .config/s3.config.php

Co-authored-by: J0WI <J0WI@users.noreply.github.com>

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2021-03-27 01:01:00 +00:00
GitHub Workflow
031ee346eb Runs update.sh 2021-03-24 23:07:51 +00:00
J0WI
b4799f5fc5
Cleanup pear cache (#1458) 2021-03-24 23:07:30 +00:00
Guillot Julien
314dfb4cda
Fixed incorrect environment variable (#1446)
Replaced incorrect environment variable name `OBJECTSTORE_SWIFT_SERVICE_REGION` by `OBJECTSTORE_SWIFT_REGION`.
As visible in f1ca6dbfab/19.0/fpm/config/swift.config.php (L25), configu read `OBJECTSTORE_SWIFT_REGION` instead of `OBJECTSTORE_SWIFT_SERVICE_REGION`.
2021-03-24 22:49:29 +00:00
GitHub Workflow
19b28fa638 Runs update.sh 2021-03-24 22:04:12 +00:00
Michael Griego
9b057aafb0
Enable session locking for the redis session handler and use more sane locking configs. (#1364)
Signed-off-by: Mike Griego <mike@griegocentral.com>
2021-03-24 22:03:48 +00:00
GitHub Workflow
f1ca6dbfab Runs update.sh 2021-03-04 22:53:44 +00:00
MAbeeTT (Matías Pecchia)
dceaf7307c
Update stable tag to 20.0.8 (fixes 1430) (#1431)
Signed-off-by: Matías Pecchia <mabeett@users.noreply.github.com>
2021-03-04 22:53:20 +00:00
GitHub Workflow
59391c541b Runs update.sh 2021-02-25 01:10:10 +00:00
GitHub Workflow
6ef8de9c85 Runs update.sh 2021-02-23 01:09:34 +00:00
Bloody Altair
a10ff74b68
Fixed invalid PHP_INI_MEMORY_LIMIT variable name (#1415) 2021-02-22 17:12:50 +00:00
johackim
94e751cd97
Add objectPrefix et autocreate environment variables (#1389)
Signed-off-by: johackim <contact@johackim.com>
2021-02-22 17:06:40 +00:00
Tilo Spannagel
8b9ca85ac5
Merge pull request #1383 from Schroedingers-Cat/clearer-migration
Clearer migration documentation
2021-02-20 20:31:25 +01:00
GitHub Workflow
d06df6907b Runs update.sh 2021-02-19 13:58:20 +00:00
J0WI
061d860c0e
Implement essential php.ini configuration via ENV (#1379)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Co-Authored-By: Alexander Sosna <alexander.sosna@credativ.de>
Co-Authored-By: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= <alexander@gruessung-online.de>

Co-authored-by: Alexander Sosna <alexander.sosna@credativ.de>
Co-authored-by: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= <alexander@gruessung-online.de>
2021-02-19 13:57:58 +00:00
GitHub Workflow
b6925e9b45 Runs update.sh 2021-02-19 13:38:49 +00:00
Tim
87fa1a4c14
Changed the in #1380 forgotten config file (#1409)
Signed-off-by: BuildTools <tim.tannert@tu-dortmund.de>
2021-02-19 13:38:28 +00:00
GitHub Workflow
b769bae69d Runs update.sh 2021-02-19 01:08:40 +00:00
GitHub Workflow
06a21b46b8 Runs update.sh 2021-02-12 01:07:35 +00:00
J0WI
90f09c70ed
Nextcloud 18 EOL (#1377)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-02-09 17:13:40 +00:00
Gabriel Augendre
90b6e28f9e
Update stable to 20.0.7 (#1393)
Signed-off-by: Gabriel Augendre <gabriel@augendre.info>
2021-02-09 17:06:50 +00:00
GitHub Workflow
724e37a033 Runs update.sh 2021-02-05 01:07:19 +00:00
GitHub Workflow
eb0d1f9050 Runs update.sh 2021-02-03 01:13:07 +00:00
GitHub Workflow
a8239107dd Runs update.sh 2021-02-02 01:20:35 +00:00
GitHub Workflow
a6d2840d95 Runs update.sh 2021-02-01 14:41:42 +00:00
J0WI
75a916f458
Alpine 3.13 (#1378)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-02-01 14:38:38 +00:00
GitHub Workflow
c4a429bf0c Runs update.sh 2021-01-30 01:21:52 +00:00
GitHub Workflow
680f0e3218 Runs update.sh 2021-01-29 01:22:40 +00:00
J0WI
5a7f35f499
Update stable tag to 20.0.6 2021-01-25 19:47:11 +00:00
GitHub Workflow
ae39bb5ebb Runs update.sh 2021-01-25 19:39:55 +00:00
warren-ru
16a3e7598f
Changing of nginx reverse proxy config (#1380)
* Update nginx.conf

* Update nginx.conf

* Update nginx.conf
2021-01-25 19:39:31 +00:00
Schroedingers-Cat
0d4148f9a4 Migration: Clearer distinction between docker cp and system's cp
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
2021-01-24 17:50:27 +01:00
Schroedingers-Cat
d7e6260688 Migration: Add info for copying data including its metadata
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
2021-01-24 17:05:23 +01:00
Schroedingers-Cat
915e7584b0 Make hierarchy of ordered list clearer by proper indenting
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
2021-01-24 17:05:23 +01:00
GitHub Workflow
2cbc82dc9f Runs update.sh 2021-01-22 02:05:36 +00:00
GitHub Workflow
8bc92b29b8 Runs update.sh 2021-01-20 02:05:49 +00:00
J0WI
3a3219b192
Update stable tag to 20.0.5 2021-01-14 17:30:16 +00:00
kitkittia
b0920f4087
Add text on necessity of all database env-vars in README (#1361)
Signed-off-by: kitkittia <71378354+kitkittia@users.noreply.github.com>
2021-01-14 16:52:10 +00:00
GitHub Workflow
aa48d5145f Runs update.sh 2021-01-14 16:51:39 +00:00
Pierre Ozoux
fa4a8a857b
Change quotes for consistency. (#1214) 2021-01-14 16:51:15 +00:00
GitHub Workflow
4c9bc58277 Runs update.sh 2021-01-14 16:50:56 +00:00
Péter Bozsó
f9699a1d1a
Fix paragraph about reverse proxy setup (#1349) 2021-01-14 16:50:25 +00:00
GitHub Workflow
07ab7b1773 Runs update.sh 2021-01-13 01:56:21 +00:00
GitHub Workflow
5b4755e5c7 Runs update.sh 2021-01-08 16:39:01 +00:00
Bill Mitchell
c0a3273cd4
minor typographical edits (#1352)
Signed-off-by: Bill Mitchell <bill@publicrelay.com>
2021-01-08 16:38:37 +00:00
GitHub Workflow
131a681196 Runs update.sh 2021-01-08 01:46:38 +00:00
GitHub Workflow
12747113ea Runs update.sh 2021-01-07 19:03:01 +00:00
Elias
d7ea12fd78
update stable tag to 20.0.4 (#1340) 2021-01-07 19:02:35 +00:00
GitHub Workflow
e5b568e52f Runs update.sh 2020-12-31 01:39:35 +00:00
GitHub Workflow
711e5caefa Runs update.sh 2020-12-24 01:32:08 +00:00
J0WI
b3f7d00d9b
Document Redis secret (#1337)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-12-21 00:21:11 +00:00
J0WI
c4a2995631
Minor fixes and typos (#1336)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-12-20 23:47:20 +00:00
GitHub Workflow
b23910be92 Runs update.sh 2020-12-20 22:21:11 +00:00
KnallbertLp
e2e521023f
enable usage of REDIS_HOST_PASSWORD_FILE (#1325) 2020-12-20 22:20:51 +00:00
Florian Friedrich
fe85a0ea08
Update stable tag (#1330) 2020-12-20 22:10:40 +00:00
GitHub Workflow
27b6f389e6 Runs update.sh 2020-12-19 01:20:45 +00:00
GitHub Workflow
689465f7f8 Runs update.sh 2020-12-15 01:14:19 +00:00
GitHub Workflow
47f18243a4 Runs update.sh 2020-12-12 01:13:25 +00:00
GitHub Workflow
f87624c6eb Runs update.sh 2020-12-10 01:12:41 +00:00
tetebueno
380c1645eb
Environment variables in docker-compose section (#1316)
* Environment variables in docker-compose section

Docker-compose file in the example was missing database configuration environment variables of the app container, making the stack to use SQLite by default instead of the DB container.

Didn't add `NEXTCLOUD_ADMIN_*` variables since this addresses the DB being configured with SQLite. This still works setting up admin credentials on first NC run.

Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com>

* Fixing FPM version too.

Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com>
2020-12-09 16:44:19 +00:00
GitHub Workflow
f28ff5aef5 Runs update.sh 2020-12-08 01:10:44 +00:00
GitHub Workflow
4c40d26223 Runs update.sh 2020-12-04 01:07:14 +00:00
Tilo Spannagel
c292b9b2f2
Update stable channel to 19.0.5 2020-11-19 11:52:29 +01:00
GitHub Workflow
62398b5ea0 Runs update.sh 2020-11-19 00:56:43 +00:00
GitHub Workflow
58419d4d9d Runs update.sh 2020-11-17 00:54:35 +00:00
GitHub Workflow
2b75fba733 Runs update.sh 2020-11-13 00:50:32 +00:00
GitHub Workflow
65634abac6 Runs update.sh 2020-11-07 00:36:28 +00:00
stefanprobst
b8cc63fb83
fix: empty redis password must be string (#1232) 2020-11-07 00:36:05 +00:00
J0WI
6fd2227a3d
Add GitHub CI badge (#1301)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-11-06 21:06:28 +00:00
Tilo Spannagel
4efaf225b4
Merge pull request #1294 from J0WI/rm17
Remove 17.0
2020-10-30 18:12:26 +01:00
J0WI
83503a43c9 Remove 17.0 2020-10-30 17:26:53 +01:00
GitHub Workflow
e95023790c Runs update.sh 2020-10-24 17:52:50 +00:00
GitHub Workflow
5906ddcbe3 Runs update.sh 2020-10-23 01:16:34 +00:00
GitHub Workflow
8dfa8c3cca Runs update.sh 2020-10-20 01:14:16 +00:00
Tilo Spannagel
b763515988
Update stable channel to 19.0.4 2020-10-08 17:34:40 +02:00
GitHub Workflow
530edd68aa Runs update.sh 2020-10-08 15:18:57 +00:00
GitHub Workflow
d8e5ac1062 Runs update.sh 2020-10-07 01:07:44 +00:00
GitHub Workflow
6ff6bd54f0 Runs update.sh 2020-10-06 01:07:25 +00:00
Tilo Spannagel
5e0d2b2b79
Merge pull request #1256 from nextcloud/tilosp-patch-1
The update-sh should also commit file removals
2020-10-03 18:33:00 +02:00
Tilo Spannagel
6479093245
The update-sh should also commit file removals
For example here 2161012fb8 the 20.0-rc dir is still there.
2020-10-03 18:32:14 +02:00
Tilo Spannagel
5097f16628 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-10-03 11:02:32 +02:00
GitHub Workflow
2161012fb8 Runs update.sh 2020-10-03 08:59:35 +00:00
GitHub Workflow
cd8807c0a8 Runs update.sh 2020-10-02 01:04:44 +00:00
Tilo Spannagel
1bec843644
Merge pull request #1253 from nextcloud/remove-production-channel
Remove separate production channel
2020-09-30 23:17:09 +02:00
Tilo Spannagel
9c9e815419 Remove seperate production channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-09-30 23:02:26 +02:00
Tobias Messner
d1d4467e34
Fix typo in README (#1244)
Signed-off-by: Tobias Messner <tobias@zusor.io>
2020-09-25 14:59:32 +00:00
GitHub Workflow
ae77b5ab9f Runs update.sh 2020-09-25 01:03:09 +00:00
GitHub Workflow
f1b22e0cee Runs update.sh 2020-09-24 06:53:22 +00:00
Adam Jenkins
84c775e440
Adds ability to configure swift object store though environment (#1243)
Signed-off-by: Adam Jenkins <adamjenkins1701@gmail.com>
2020-09-24 08:52:59 +02:00
Tilo Spannagel
0607fe6171
Merge pull request #1248 from tilosp/bot/update
Run update.sh
2020-09-18 16:39:19 +02:00
tilosp-bot
df570ee1e3 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-09-18 14:00:20 +00:00
GitHub Workflow
9225c07b82 Runs update.sh 2020-09-10 17:37:49 +00:00
Tilo Spannagel
323015718b
Update generate-stackbrew-library.sh 2020-09-10 19:37:27 +02:00
Tilo Spannagel
d062f5306c
Merge pull request #1245 from tilosp/bot/update
Run update.sh
2020-09-10 16:50:11 +02:00
tilosp-bot
c20b15d30c Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-09-10 14:00:21 +00:00
GitHub Workflow
d0ee4bc215 Runs update.sh 2020-09-10 00:56:08 +00:00
GitHub Workflow
1e2c9961f7 Runs update.sh 2020-09-05 01:46:19 +00:00
Tilo Spannagel
27587700ee
Merge pull request #1236 from tilosp/bot/update
Run update.sh
2020-09-03 16:39:26 +02:00
tilosp-bot
1627a2cc70 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-09-03 14:00:20 +00:00
GitHub Workflow
7d01c9607a Runs update.sh 2020-08-29 07:27:16 +00:00
Pierre Ozoux
27c54cdd9e
Adds ability to configure S3 object stores via environment variables (#1227)
* Adds ability to configure S3 object stores via environment variables

closes #1193 #1124 #1134

Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>

* Update .config/s3.config.php

Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
2020-08-29 09:26:57 +02:00
GitHub Workflow
e6f91b2fbd Runs update.sh 2020-08-28 15:49:13 +00:00
pierreozoux
7a286da8c3 Revert "Adds ability to configure S3 object stores via environment variables"
This reverts commit 47032fddb6.
2020-08-28 17:48:40 +02:00
pierreozoux
488378f8e8 Runs after update.sh workflow.
It also does contain a cron, so no need here.
2020-08-28 15:45:30 +02:00
pierreozoux
54c633c116 Runs update before testing a PR. 2020-08-28 15:45:30 +02:00
pierreozoux
bda13d3ef3 Does not fail when there is nothing to commit. 2020-08-28 15:45:30 +02:00
GitHub Workflow
5f3072ea80 Runs update.sh 2020-08-28 13:26:05 +00:00
pierreozoux
47032fddb6 Adds ability to configure S3 object stores via environment variables
closes #1193 #1124 #1134

Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
2020-08-28 15:25:06 +02:00
pierreozoux
1eb77283c1 Run update.sh on PR and on cron.
Signed-off-by: pierreozoux <pierre@ozoux.net>
2020-08-28 15:18:27 +02:00
Guillaume Virlet
83b38c57a6 move stable from NC18 to NC19 and production from NC17 o NC18 [Fix #1175]
Signed-off-by: Guillaume Virlet <github@virlet.org>
2020-08-28 13:48:05 +02:00
Tilo Spannagel
97f0fa6cc3
Merge pull request #1221 from tilosp/bot/update
Run update.sh
2020-08-28 12:15:04 +02:00
tilosp-bot
9faeb26025 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-08-27 19:55:44 +00:00
Tilo Spannagel
0d84c2e085
Merge pull request #1220 from nextcloud/remove-beta
Remove beta for now
2020-08-27 21:46:23 +02:00
Tilo Spannagel
288f9c0998 Remove beta for now 2020-08-27 21:43:44 +02:00
Tilo Spannagel
079c2519a3
Merge pull request #1216 from tilosp/bot/update
Run update.sh
2020-08-27 21:41:43 +02:00
tilosp-bot
1353c04b9f Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-08-27 15:31:23 +00:00
tilosp-bot
e0247dc3cd Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-08-25 18:56:24 +02:00
Tilo Spannagel
65f3f6d167
Merge pull request #1205 from tilosp/bot/update
Run update.sh
2020-08-21 17:38:03 +02:00
tilosp-bot
4afc60d530 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-08-21 14:00:22 +00:00
tilosp-bot
bd4cf887a4 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-08-20 14:00:22 +00:00
Tilo Spannagel
abe8cd69a6
Merge pull request #1192 from J0WI/revert-cmd
Revert "Fix triggering install and update script (#1181)"
2020-07-28 16:59:30 +02:00
J0WI
1e6d0620af Revert "Fix triggering install and update script (#1181)"
This reverts commit de90bed706.
2020-07-28 14:40:22 +02:00
Tilo Spannagel
9bfe454bd4
Merge pull request #1183 from sersoft-gmbh/update_release_channels
Update stable to 18.0.7 and production to 17.0.8
2020-07-27 16:26:27 +02:00
Florian Friedrich
9d5a5a7b57
Update stable and production channels (18.0.7 and 17.0.8 respectively)
Signed-off-by: Florian Friedrich <ffried@me.com>
2020-07-27 16:19:18 +02:00
stackcoder
de90bed706
Fix triggering install and update script (#1181)
* 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-07-26 14:32:24 +00:00
Tilo Spannagel
476e60305b
Merge pull request #1177 from tilosp/bot/update
Update nextcloud to 17.0.8, 18.0.7 and 19.0.1
2020-07-16 10:05:54 +02:00
tilosp-bot
45f3995ab7 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-07-16 07:22:28 +00:00
tilosp-bot
8c623fd156
Run update.sh (#1170)
* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-07-14 20:32:04 +00:00
Tilo Spannagel
baebdfefd9
Replace Travis CI with GitHub actions (#939)
* Test build images using github actions

Signed-off-by: Tilo Spannagel <development@tilosp.de>

* Check for Changes by update.sh using github actions

Signed-off-by: Tilo Spannagel <development@tilosp.de>

* Remove travis.yml

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-06-30 00:12:41 +00:00
Tilo Spannagel
1e70224108
Merge pull request #1161 from J0WI/alpine-3.12
Upgrade Alpine to 3.12
2020-06-30 01:11:41 +02:00
Tilo Spannagel
f9ef31431d
Fix removing of GNUPGHOME dir (#1169)
* Fix removing of GNUPGHOME dir

Signed-off-by: Tilo Spannagel <development@tilosp.de>

* Run update.sh

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-06-29 23:05:14 +00:00
Tilo Spannagel
f1998803d7
Merge pull request #1167 from doc75/update-version
update version to latest (18.0.6 and 17.0.7)
2020-06-29 15:27:01 +02:00
Guillaume Virlet
2e15b8bca5 update version to latest (18.0.6 and 17.0.7)
Signed-off-by: Guillaume Virlet <github@virlet.org>
2020-06-28 11:37:27 +02:00
J0WI
84b26184c5 Upgrade Alpine to 3.12
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-06-21 16:02:42 +02:00
Tilo Spannagel
c135f7ef60
Merge pull request #1147 from J0WI/rm-16
Remove EOL 16.0
2020-06-09 15:47:10 +02:00
J0WI
2ad4252386 Remove EOL 16.0
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-06-09 15:28:58 +02:00
J0WI
3ac6fde8d6
Remove db prefix option (#1131)
* 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-06-09 13:26:33 +00:00
J0WI
0599d1022c
Upgrade PHP Redis to 5.x for 19.0 (#1100)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-06-04 22:03:30 +00:00
tilosp-bot
a229b17bca
Run update.sh (#1132)
* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Add bmath for 19.0 (fix ##1122 and #1137)

Signed-off-by: J0WI <J0WI@users.noreply.github.com>

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2020-06-04 20:50:41 +00:00
J0WI
ba1500b05e
Upgrade PHP to 7.4 for 19.0 (#1108)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-05-23 22:34:08 +00:00
Tilo Spannagel
ccdf46609f
Merge pull request #1123 from tilosp/bot/update
Run update.sh
2020-05-22 14:33:39 +02:00
tilosp-bot
8335bf8618 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-05-21 14:00:18 +00:00
Tilo Spannagel
7f0bc5ae06
Merge pull request #1118 from tilosp/bot/update
Update nextcloud to 19.0.0RC2
2020-05-19 00:05:05 +02:00
tilosp-bot
aa191711d4 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-05-14 14:00:18 +00:00
tilosp-bot
05c3a27d34
Run update.sh (#1111)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-05-08 11:18:52 +00:00
J0WI
a45bc2a2ae
Replace libressl with openssl (#1098)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-05-05 15:57:25 +00:00
tilosp-bot
764c79de08
Run update.sh (#1106)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-05-05 15:56:59 +00:00
Tilo Spannagel
a414643f60
Merge pull request #1097 from tilosp/bot/update
Update nextcloud to 19.0.0beta6
2020-05-01 16:45:31 +02:00
Tilo Spannagel
0b6a0991bf
Fix bashbrew url
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-04-30 21:30:05 +02:00
tilosp-bot
dfbb2f6511 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-04-30 19:23:06 +00:00
Tilo Spannagel
d6df1446c9
Update release channels 2020-04-23 16:41:03 +02:00
Tilo Spannagel
1166763a8c
Merge pull request #1084 from tilosp/bot/update
Update nextcloud to 16.0.10, 17.0.6, 18.0.4 and 19.0.0beta5
2020-04-23 15:07:01 +02:00
tilosp-bot
b1825a188b Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-04-23 11:43:31 +00:00
J0WI
6b6c68cabf
Serve mp4 and webm files directly in nginx (#1076)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-04-22 21:16:45 +00:00
tilosp-bot
a072915459 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-04-21 09:45:13 +00:00
J0WI
5bd63028a7
Add mips64le badge 2020-04-20 23:51:40 +00:00
J0WI
db05a040ad
Stick on MariaDB 10.3 (#1079)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-04-16 17:25:10 +00:00
tilosp-bot
546813d73f
Run update.sh (#1078)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-04-16 17:24:34 +00:00
J0WI
9d807aa7ad
Update badges 2020-04-16 16:22:08 +00:00
András Maróy
6d2390726f
Expose reverse proxy related configuration as environment variables (#1048)
* Expose reverse proxy related configuration as environment variables

Signed-off-by: András Maróy <andras@maroy.hu>

* Update README.md

Co-Authored-By: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: András Maróy <andras@maroy.hu>

* Update README.md

Co-Authored-By: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: András Maróy <andras@maroy.hu>

* Add default values for reverse proxy config from environment

Signed-off-by: András Maróy <andras@maroy.hu>

* Change reverse proxy default values to null

Signed-off-by: András Maróy <andras@maroy.hu>

* Store environment variables in vars in reverse-proxy config

Signed-off-by: András Maróy <andras@maroy.hu>

* Merge reverse proxy configs

Signed-off-by: András Maróy <andras@maroy.hu>

* Move overwrite parameters to reverse proxy section in the readme

Signed-off-by: András Maróy <andras@maroy.hu>

* Add reverse proxy config to 19.0-beta images

Signed-off-by: András Maróy <andras@maroy.hu>

* Remove default null from reverse proxy config to avoid breaking existing deployments

Signed-off-by: András Maróy <andras@maroy.hu>

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2020-04-16 15:54:48 +00:00
Sandro
815298f5de
Set Cache-Control header (#1073)
Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2020-04-16 10:36:40 +00:00
tilosp-bot
1891bfa5e0
Add nextcloud 19.0.0beta2 (#1065)
* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Add 19 to allow_failures

Signed-off-by: Tilo Spannagel <development@tilosp.de>

Co-authored-by: Tilo Spannagel <development@tilosp.de>
2020-04-10 13:27:12 +00:00
J0WI
6274e06ef4
Update url to occ (#1062) 2020-04-06 20:51:18 +00:00
kesselb
63438ef792
Disable rewriteip for apache image (#1010)
* 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-04-06 20:44:58 +00:00
Boris Gorbylev
efe3caebdc
Compatibility with docker secrets (#560)
* 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-03-31 14:23:57 +00:00
Gary Kim
cf3476d71b
Merge pull request #1046 from nextcloud/update/2020-03-24
Update release channels
2020-03-24 16:58:35 +08:00
Gary Kim
cd33ab0e41
Update release channels
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-24 16:17:40 +08:00
tilosp-bot
b0cb178c9e
Run update.sh (#1044)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-03-24 01:11:21 +00:00
Tilo Spannagel
430ce875c2
Merge pull request #1033 from nextcloud/tilosp-patch-1
Update release channels
2020-03-12 20:12:28 +01:00
Tilo Spannagel
46d2b3d02a
Update release channels 2020-03-12 20:10:56 +01:00
Tilo Spannagel
c38c61e386
Merge pull request #1031 from nextcloud/generate-stackbrew-library-sh
Make generate-stackbrew-library.sh reproducible
2020-03-12 00:56:41 +01:00
Tilo Spannagel
5e9de8061e Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-03-12 00:54:13 +01:00
Tilo Spannagel
37bc7e9e0f Make generate-stackbrew-library.sh reproducible
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-03-12 00:53:25 +01:00
Tilo Spannagel
f86d328c5b
Merge pull request #1029 from tilosp/bot/update
Update to nextcloud 16.0.9, 17.0.4 and 18.0.2
2020-03-12 00:50:47 +01:00
tilosp-bot
3f45b75a15 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-03-11 16:33:18 +00:00
Tilo Spannagel
29fa45e96c
Merge pull request #1027 from tilosp/bot/update
Run update.sh
2020-03-09 18:26:15 +01:00
tilosp-bot
6e9f151663 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-03-09 16:16:43 +00:00
Tilo Spannagel
973c520355
Merge pull request #1026 from nextcloud/revert-1025-tilosp-patch-1
Revert "Fix parentRepoToArches"
2020-03-09 15:03:15 +01:00
Tilo Spannagel
96c2f48f87
Revert "Fix parentRepoToArches" 2020-03-09 15:03:05 +01:00
Tilo Spannagel
fda5053c31
Merge pull request #1025 from nextcloud/tilosp-patch-1
Fix parentRepoToArches
2020-03-09 14:51:35 +01:00
Tilo Spannagel
90245ce082
Fix parentRepoToArches 2020-03-09 14:50:53 +01:00
Tilo Spannagel
63634d91a3
Merge pull request #1024 from nextcloud/tilosp-patch-1
Update production to 17
2020-03-09 14:06:17 +01:00
Tilo Spannagel
4aa429ed7d
Update production to 17
8548a69aca
2020-03-09 14:05:31 +01:00
Tilo Spannagel
53625027bd
Merge pull request #1022 from J0WI/18-stable
Update stable to 18
2020-03-09 14:02:08 +01:00
J0WI
fbd5e2094a Update stable to 18
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-03-08 22:36:35 +01:00
Tilo Spannagel
6c1044fef4
Merge pull request #1020 from tilosp/bot/update
Add nextcloud 16.0.9RC1, 17.0.4RC1 and 18.0.2RC1
2020-03-06 18:30:35 +01:00
tilosp-bot
da5b3bed1f Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-03-06 13:00:55 +00:00
Simon
ac8c998431
rename imagick extension package for buster compat (#1008)
Signed-off-by: Simon Hötten <simon@hoetten.org>
2020-02-23 18:09:49 +00:00
Tilo Spannagel
4cd608a6e0
Merge pull request #997 from tilosp/bot/update
Update nextcloud to 18.0.1
2020-02-13 20:14:56 +01:00
tilosp-bot
884d8c21a5 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-02-13 11:14:36 +00:00
Tilo Spannagel
ac10481730
Merge pull request #994 from tilosp/bot/update
Update nextcloud to 18.0.1RC3
2020-02-11 00:09:29 +01:00
tilosp-bot
bf039fa5dd Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-02-10 20:05:58 +00:00
Tilo Spannagel
ce4af3ac34
Update production tag 2020-02-10 14:50:18 +01:00
Tilo Spannagel
4d9460c191
Merge pull request #990 from tilosp/bot/update
Update to nextcloud 18.0.1RC2
2020-02-07 15:44:35 +01:00
tilosp-bot
9a2dcf481c Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-02-07 12:09:52 +00:00
Tilo Spannagel
ddf60930f1
Update stable tag 2020-02-06 21:18:08 +01:00
Tilo Spannagel
26487c056c
Merge pull request #988 from nextcloud/eol-15
Remove end of life version 15.0
2020-02-06 15:20:27 +01:00
Tilo Spannagel
4053ea4fb0 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-02-06 12:36:18 +01:00
Tilo Spannagel
8c96d5b7ad Remove end of life version 15.0
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-02-06 12:35:38 +01:00
Tilo Spannagel
4bd951c622
Merge pull request #987 from tilosp/bot/update
Add nextcloud 18.0.1RC1
2020-02-06 12:35:02 +01:00
tilosp-bot
79c51bc316 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-02-06 10:05:39 +00:00
Tilo Spannagel
03ec56e7b9
Merge pull request #982 from tilosp/bot/update
Update to 16.0.8 and 17.0.3
2020-01-30 23:10:14 +01:00
tilosp-bot
96c5d80121 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-01-30 14:00:52 +00:00
Tilo Spannagel
08ea909b43
Merge pull request #976 from tilosp/bot/update
Add nextcloud 16.0.8RC1 and 17.0.3RC1
2020-01-24 20:05:00 +01:00
tilosp-bot
276de2c422 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-01-24 14:00:18 +00:00
Tilo Spannagel
cef7ec58da
Merge pull request #967 from tilosp/bot/update
Update to 18.0.0
2020-01-17 21:28:55 +01:00
tilosp-bot
c8fe9f3055 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-01-17 14:04:57 +00:00
J0WI
13be446667
Change sleep time from 3s to 10s in all entrypoint.sh files (#963)
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>

Co-authored-by: Nils160988 <nilswittenbrink@web.de>
2020-01-13 18:10:28 +00:00
J0WI
fbdb70e856
Remove workaround to create the postgres db (fix #886) (#961)
This reverts commit 4df6f79568.
The upstream bug has been fixed in https://github.com/nextcloud/server/pull/15187

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-01-13 16:11:28 +00:00
Tilo Spannagel
15ea896496
Merge pull request #921 from nextcloud/tilosp/stable-17.0.1
Ship 17.0.2 on stable channel
2020-01-13 17:11:02 +01:00
Tilo Spannagel
e93b6a4251 Ship 17.0.2 on stable channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-01-11 14:18:07 +01:00
Tortue Torche
d9ab30a969 Fix Redis Unix socket support (#944)
* 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>
2020-01-10 23:38:38 +00:00
Diab Neiroukh
b3f71af495 Correct supervisord examples so that the container can start (#925)
Inspired by #847, I selected the rootdir as the place for our configuration
since we already chuck a few files there as seen by https://github.com/nextcloud/docker/blob/master/17.0/fpm-alpine/Dockerfile#L122.

Suggested-by: mikecai <mikecai@us.ibm.com>
Signed-off-by: Diab Neiroukh <officiallazerl0rd@gmail.com>
2020-01-09 14:05:36 +00:00
tilosp-bot
a3a21c2de7 Run update.sh (#959)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-01-09 13:58:41 +00:00
Tilo Spannagel
3e474524d0
Merge pull request #954 from tilosp/bot/update
Update to 18.0.0RC1
2020-01-03 23:01:26 +01:00
tilosp-bot
2a4b286de1 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2020-01-03 10:32:26 +00:00
Tilo Spannagel
6353fe7bae
Merge pull request #953 from J0WI/alpine3.11
Upgrade Alpine to 3.11
2020-01-03 11:31:00 +01:00
J0WI
0e24415434 Upgrade Alpine to 3.11
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-01-02 20:10:16 +01:00
Tilo Spannagel
0ea3f25d95
Merge pull request #952 from tilosp/bot/update
Update to 18.0.0beta4
2019-12-29 00:25:23 +01:00
tilosp-bot
08916e2cc0 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-12-27 14:00:22 +00:00
Tilo Spannagel
22dcc8e844
Merge pull request #946 from tilosp/bot/update
Update to 15.0.14, 16.0.7, 17.0.2 and 18.0.0beta3
2019-12-19 22:19:17 +01:00
tilosp-bot
481072c892 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-12-19 14:03:23 +00:00
Tilo Spannagel
1c23b49eae
Merge pull request #943 from tilosp/bot/update
Add nextcloud 15.0.14RC1, 16.0.7RC1 and 17.0.2RC1
2019-12-13 18:45:13 +01:00
tilosp-bot
0ebad10363 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-12-13 11:16:18 +00:00
Tilo Spannagel
88e6e3b9b2
Merge pull request #940 from tilosp/bot/update
Update to 18.0.0beta2
2019-12-13 12:08:11 +01:00
tilosp-bot
f7a707aa8e Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-12-12 14:00:28 +00:00
Tilo Spannagel
0036beae18
Merge pull request #937 from tilosp/bot/update
Add nextcloud 18.0.0beta1
2019-12-11 21:26:22 +01:00
Tilo Spannagel
f06bb9283a Ignore failing tests
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-12-11 20:22:23 +01:00
tilosp-bot
fe383374d4 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-12-05 14:00:23 +00:00
Tilo Spannagel
d52c40b8f3
Merge pull request #936 from tilosp/bot/update
Update memcached to version 3.1.5
2019-12-05 12:36:26 +01:00
tilosp-bot
76dbb0bb6e Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-12-04 14:00:32 +00:00
Tilo Spannagel
f2489f0142
Update release channels 2019-11-09 21:13:17 +01:00
Tilo Spannagel
2ab02d446c
Merge pull request #917 from tilosp/bot/update
Update to 15.0.13, 16.0.6 and 17.0.1
2019-11-08 16:11:53 +01:00
tilosp-bot
fe5b6beadd Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-11-08 12:36:03 +00:00
alexschroth
269a081138 examples: docker-compose: Update nginx configs (#912)
* examples: docker-compose: insecure: postgres: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: insecure: mariadb-cron-redis: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: insecure: mariadb: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy: mariadb: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy: mariadb-cron-redis: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy: postgres: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy-self-signed-ssl: mariadb: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
2019-11-07 20:30:48 +01:00
tilosp-bot
149daa299d Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-11-07 14:03:01 +00:00
Tilo Spannagel
6a173a4daa
Merge pull request #916 from J0WI/procps
Add procps to smb examples (closes #557)
2019-11-06 19:03:08 +01:00
J0WI
23b1488788 Add procps to smb examples (closes #557)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-11-06 11:38:08 +01:00
NeroBurner
d5ecc2149f Readme: improve migration from existing section (#894)
* README: add postgresql commands to migration section

Signed-off-by: NeroBurner <pyro4hell@gmail.com>

* README: fix migration copy commands

When the docker-compose up is run the first time the nextcloud
directories are created. When after that the `docker cp` command copies
whole folders they are added as subfolders to the existing folders.

For example, when copying the data folder with
```
docker cp ./data/ nextcloud_app_1:/var/www/html/data
```

afterwards the data folder is in `/var/www/html/data/data`

Signed-off-by: NeroBurner <pyro4hell@gmail.com>

* README: migration: mention custom_apps config

Signed-off-by: NeroBurner <pyro4hell@gmail.com>
2019-11-04 11:00:01 +01:00
Tilo Spannagel
ec394822aa
Merge pull request #913 from tilosp/bot/update
Add 15.0.13RC1, 16.0.6RC1 and 17.0.1RC1
2019-11-01 16:27:03 +01:00
tilosp-bot
ce0bb40cd9 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-10-31 14:00:40 +00:00
Tilo Spannagel
16e23e4081
Merge pull request #907 from tilosp/bot/update
Update APCu to 5.1.18
2019-10-28 16:30:10 +01:00
tilosp-bot
cee1980750 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-10-28 14:00:33 +00:00
Tilo Spannagel
8fac176f74
Merge pull request #863 from marcelklehr/master
Add gmp php extension
2019-10-27 14:15:51 +01:00
Marcel Klehr
7eb00b62aa Add gmp php extension
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2019-10-26 23:41:08 +02:00
Tilo Spannagel
2680fb27ab
Merge pull request #897 from axilleas/smtp-setup
Clean up the SMTP info
2019-10-26 22:42:15 +02:00
Achilleas Pipinellis
f0762a282a Clean up the SMTP info
- Add STARTTLS
- Add alternative 587 port

Signed-off-by: Achilleas Pipinellis <axilleas@axilleas.me>
2019-10-20 11:02:07 +02:00
ykcab
15e6fcb316 Fine tune of grammar and spell checks. (#888)
* grammar and spell checks

Signed-off-by: ykcab <16911521+ykcab@users.noreply.github.com>

* grammar and spell checks

Signed-off-by: ykcab <16911521+ykcab@users.noreply.github.com>
2019-10-09 10:53:01 +02:00
tilosp-bot
6d007ebd0b Run update.sh (#890)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-10-09 10:51:19 +02:00
Tilo Spannagel
a3ba284c78
Merge pull request #879 from mike2307/crontab_int_5min
Extended templates to make crontab interval dependent on the version
2019-10-01 19:15:01 +02:00
Tilo Spannagel
1985c8235d
Merge pull request #881 from nextcloud/stable-16.0.5
Ship 16.0.5 on stable channel
2019-10-01 19:05:05 +02:00
Tilo Spannagel
8bc140d40f Ship 16.0.5 on stable channel
See: https://github.com/nextcloud/updater_server/pull/265
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-10-01 10:59:38 +02:00
mscheiff
7b97c8a9c2 Extended templates to make crontab interval dependent on the version
Signed-off-by: Michael Scheiffler <michael@scheiffler.at>
2019-10-01 10:54:36 +02:00
Tilo Spannagel
f165752597
Merge pull request #880 from nextcloud/eol-14.0
Remove end of life version 14.0
2019-10-01 10:52:01 +02:00
Tilo Spannagel
5ed523117a Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-10-01 09:56:14 +02:00
Tilo Spannagel
c7143feda6 Remove end of life version 14.0
See: https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-10-01 09:56:04 +02:00
Tilo Spannagel
145652e70c
Merge pull request #871 from tilosp/bot/update
Update to 15.0.12, 16.0.5 and 17.0.0
2019-09-26 13:18:12 +02:00
tilosp-bot
1760450ac8 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-09-26 10:06:22 +00:00
Tilo Spannagel
10a1fe7606
Merge pull request #868 from tilosp/bot/update
Add 15.0.12RC1 and 16.0.5RC1
2019-09-19 19:13:54 +02:00
tilosp-bot
5ba119faba Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-09-19 15:42:54 +00:00
Tilo Spannagel
47e3572bcd
Merge pull request #867 from tilosp/bot/update
Update to 17.0.0RC2
2019-09-19 17:41:50 +02:00
tilosp-bot
0c1534a2a9 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-09-19 14:00:34 +00:00
Tilo Spannagel
cc2952f6f5
Merge pull request #862 from tilosp/bot/update
Update to 17.0.0RC1
2019-09-13 11:16:37 +02:00
Tilo Spannagel
7d0e49e5dd Exclude failing builds
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-09-12 11:02:31 +02:00
tilosp-bot
ba4fc2dcbb Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-09-12 08:26:28 +00:00
algakzru
73ff5c860d Set redis password (#856) 2019-09-10 02:31:16 +02:00
Tilo Spannagel
892ac14791
Merge pull request #855 from tilosp/bot/update
Run update.sh
2019-09-05 19:22:52 +02:00
tilosp-bot
e8e53f95c3 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-09-05 14:02:14 +00:00
Tilo Spannagel
5804f506d8
Merge pull request #849 from tilosp/bot/update
Update to 17.0.0beta3
2019-08-31 15:44:14 +02:00
tilosp-bot
b83f76cba0 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-08-29 14:00:17 +00:00
Tilo Spannagel
e965a1a46c
Merge pull request #843 from tilosp/bot/update
Update to 17.0.0beta2
2019-08-22 17:18:20 +02:00
tilosp-bot
2cd569daef Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-08-22 14:00:18 +00:00
Tilo Spannagel
2acb1df9ae
Merge pull request #838 from tilosp/bot/update
Add 17.0.0beta1
2019-08-16 00:22:49 +02:00
Tilo Spannagel
6db0941a3d
Update generate-stackbrew-library.sh 2019-08-15 23:41:50 +02:00
Tilo Spannagel
ef9c3cb89c Update .travis.yml
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-08-15 23:30:37 +02:00
tilosp-bot
d56b4ed9c0 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-08-15 20:14:04 +00:00
Tilo Spannagel
552a52afc0
Merge pull request #837 from tilosp/bot/update
Update to 14.0.14, 15.0.11 and 16.0.4
2019-08-15 15:09:24 +02:00
tilosp-bot
7ec56a6567 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-08-15 10:24:36 +00:00
Tilo Spannagel
6291898c2b
Merge pull request #830 from tilosp/bot/update
Add v14.0.14RC1, v15.0.11RC1 and v16.0.4RC1
2019-08-09 12:44:26 +02:00
tilosp-bot
a4efb0e686 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-08-08 19:43:42 +00:00
J0WI
060cf0883f
Upgrade to Debian Buster (#817)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-07-25 14:20:12 +02:00
Tilo Spannagel
66c5d81dbd
Update release channels
https://github.com/nextcloud/updater_server/pull/236
2019-07-09 20:14:43 +02:00
tilosp-bot
c956cf7fa6 Run update.sh (#806)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-07-09 19:53:29 +02:00
Tilo Spannagel
a8064a27f1
Merge pull request #803 from tilosp/bot/update
Update to 14.0.13
2019-07-08 14:56:59 +02:00
tilosp-bot
ea8fae60eb Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-07-08 12:18:47 +00:00
tilosp-bot
1d4be7e931 Update to 15.0.9 and 16.0.2 (#796)
* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>

* Pin redis version

Signed-off-by: Tilo Spannagel <development@tilosp.de>

* Run update.sh

Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-07-06 12:50:44 +02:00
Tilo Spannagel
4df6f79568 Allow nextcloud to create the postgres db (#784)
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-07-05 13:50:40 +02:00
Tilo Spannagel
1000d4d468
Merge pull request #793 from tilosp/bot/update
Run update.sh
2019-07-01 17:57:26 +02:00
tilosp-bot
941daf6a0b Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-07-01 14:05:24 +00:00
J0WI
c4e7afe079
Update Alpine to 3.10 (#789)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-06-30 20:17:28 +02:00
Tilo Spannagel
8ba3f4f9bd
Merge pull request #790 from tilosp/bot/update
Add 14.0.13RC1, 15.0.9RC1 and 16.0.2RC1
2019-06-29 16:41:19 +02:00
Tilo Spannagel
b522064fe2 Also allow rc to fail
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-06-29 15:27:58 +02:00
tilosp-bot
b7b542ea47 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-06-29 13:04:55 +00:00
Tilo Spannagel
8231878052
Merge pull request #788 from J0WI/nproc
Use all available cores to build PHP extensions
2019-06-27 16:57:04 +02:00
J0WI
147e2db921 Use all available cores to build PHP extensions
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-06-27 14:02:16 +02:00
Flow86
f5665e1482 Enable WEBP support in PHP's gd in debian and alpine containers (#785)
Signed-off-by: Flow86 <656249+Flow86@users.noreply.github.com>
2019-06-27 14:01:35 +02:00
Tilo Spannagel
3f40b69c54
Merge pull request #783 from J0WI/opcache-cli
Drop opcache from cli actions
2019-06-26 12:22:26 +02:00
J0WI
4a94550e2d Drop opcache from cli actions
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-06-26 01:03:15 +02:00
Tilo Spannagel
ea5b853ab3
Merge pull request #780 from J0WI/tbl-prefix
Avoid empty table prefix
2019-06-22 19:08:34 +02:00
J0WI
a87f914de3 Avoid empty table prefix
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-06-22 18:22:15 +02:00
J0WI
df048873ab
Update build badges 2019-06-20 23:10:52 +02:00
Christoph Reiter
64607f4916 nginx-proxy: Set proxy_request_buffering to off. Fixes #650 (#651)
Otherwise nginx buffers uploads which at least with the linux client results
in large files failing to upload and the upload stats not updating.

Signed-off-by: Christoph Reiter <reiter.christoph@gmail.com>
2019-06-19 00:45:12 +02:00
ykgmfq
53bb46d1dc Let nginx decide on number of worker processes (#732)
From https://www.nginx.com/blog/tuning-nginx/:
In most cases, running one worker process per CPU core works well,
and we recommend setting this directive to auto to achieve that.
There are times when you may want to increase this number,
such as when the worker processes have to do a lot of disk I/O.
2019-06-19 00:37:44 +02:00
Tilo Spannagel
17a6790ac8
Merge pull request #758 from J0WI/tweak-travis
Allow failures on PHP 7.3 with i386
2019-06-18 16:33:55 +02:00
Tilo Spannagel
fc8952ab63 Move allow_failures into jobs
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-06-18 15:24:01 +02:00
J0WI
15e0c3bd3e Allow failures on PHP 7.3 with i386
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-06-17 19:48:58 +02:00
Tilo Spannagel
001afbefb6
Merge pull request #753 from tilosp/bot/update
Run update.sh
2019-05-17 20:22:19 +02:00
tilosp-bot
748d7873f3 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-05-17 14:03:58 +00:00
Tilo Spannagel
a10a6ab7ee
Merge pull request #752 from nextcloud/tilosp/update-tags
Update tags
2019-05-16 13:02:58 +02:00
Tilo Spannagel
bae05a95f8
Merge pull request #751 from tilosp/bot/update
Update to 14.0.11, 15.0.8 and 16.0.1
2019-05-16 13:02:42 +02:00
Tilo Spannagel
d2ccd7df04 Update tags
[travis skip]

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-05-16 12:37:02 +02:00
tilosp-bot
6357f08f25 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-05-16 10:29:13 +00:00
Tilo Spannagel
05073351c4
Add travis_retry to script tests 2019-05-13 20:15:28 +02:00
Tilo Spannagel
a1503cb4b0
Merge pull request #747 from nextcloud/tilosp/travis-retry
Retry docker build
2019-05-13 20:06:22 +02:00
Tilo Spannagel
724da9567e Retry docker build
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-05-13 16:00:40 +02:00
Tilo Spannagel
1012aa8527
Merge pull request #745 from tilosp/bot/update
Add 14.0.11RC1, 15.0.8RC1 and 16.0.1RC1
2019-05-09 18:59:52 +02:00
tilosp-bot
991fc792ce Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-05-09 15:35:27 +00:00
tilosp-bot
04dbb09f12 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-05-09 15:24:47 +00:00
tilosp-bot
5151f42e17 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-05-09 15:20:35 +00:00
Tilo Spannagel
a9f8131e24
Merge pull request #738 from tilosp/bot/update
Update php-imagick to 3.4.4
2019-05-07 00:00:15 +02:00
J0WI
260de1e357
Fix SQLite paragraph title 2019-05-05 17:35:28 +02:00
tilosp-bot
2fbd72c96d Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-05-03 14:03:08 +00:00
Tilo Spannagel
a2d0c57921
Merge pull request #733 from nextcloud/revert-729-secrets
Revert "Compatibility with docker secrets (Fix #560)"
2019-04-30 13:07:31 +02:00
Tilo Spannagel
f0fd46a989 Revert "Compatibility with docker secrets (Fix #560)"
[skip travis]

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-04-30 13:06:03 +02:00
J0WI
0578591681
Merge pull request #729 from J0WI/secrets
Compatibility with docker secrets (Fix #560)
2019-04-29 16:02:47 +02:00
J0WI
343169d233 Compatibility with docker secrets (Fix #560)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-29 14:59:35 +02:00
J0WI
cde407bf5e
Merge pull request #728 from J0WI/majupgrdoc
Clarify major version upgrade procedure
2019-04-29 14:45:25 +02:00
J0WI
c653d9b8a9
Merge pull request #727 from J0WI/upcommentlink
Update link to current docs
2019-04-29 14:44:38 +02:00
J0WI
8680beee04 Clarify major version upgrade procedure
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-29 14:00:05 +02:00
J0WI
36744ae106 Update link to current docs
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-29 13:54:50 +02:00
Rodrigo
dc04397618 Set SMTP via environment vars. (#698)
* Set SMTP via environment vars.

Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>

* Add SMTP instructions to the readme.

Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>

* Run update.sh for 16.0 release.

Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
2019-04-29 13:47:16 +02:00
J0WI
da36b3afe6
Merge pull request #707 from J0WI/redis-session
Add Redis session handler
2019-04-27 15:43:06 +02:00
J0WI
83ea69d54b Add Redis session handler
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-26 15:49:59 +02:00
J0WI
45b1779c6f
Merge pull request #724 from J0WI/nc16
Run update.sh
2019-04-26 14:17:27 +02:00
J0WI
abe7b70052 Run update.sh
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-26 13:27:26 +02:00
J0WI
7a96e8b5ad
Merge pull request #717 from gusttt/patch-1
Small typo in readme.md
2019-04-25 13:25:59 +02:00
Tilo Spannagel
799db91fdf
Merge pull request #718 from tilosp/bot/update
Update to 16.0.0RC2
2019-04-18 21:23:14 +02:00
tilosp-bot
03cdaf2bee Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-04-18 16:03:37 +00:00
gusttt
69ebdf0efd Small typo in readme.md
Signed-off-by: gusttt <gusttt@users.noreply.github.com>
2019-04-18 00:52:32 +02:00
Tilo Spannagel
5317d8839e
Merge pull request #715 from tilosp/bot/update
Update to 16.0.0RC1
2019-04-12 01:00:04 +02:00
tilosp-bot
2af113afc6 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-04-11 16:02:30 +00:00
Tilo Spannagel
d07e2166c4
Merge pull request #706 from J0WI/php-7.3
Set default PHP version to 7.3
2019-04-10 17:58:23 +02:00
J0WI
09151270f2 Set default PHP version to 7.3
Fixes #571

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-04-10 10:08:59 +02:00
Tilo Spannagel
30b2cb2706
Merge pull request #712 from tilosp/bot/update
Update to 14.0.10 and 15.0.7
2019-04-09 18:08:52 +02:00
Tilo Spannagel
ca34beed5e
Ship 15.0.7 on production and stable channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-04-09 17:03:49 +02:00
tilosp-bot
d54e368c1c Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-04-09 14:56:35 +00:00
J0WI
a6bcddbac1
Merge pull request #708 from nextcloud/eol-13
13.0.x is end of life
2019-04-08 18:13:08 +02:00
Tilo Spannagel
cd04baa73d
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-04-08 17:36:16 +02:00
Tilo Spannagel
c6f1569ebf
13.0.x is end of life
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-04-08 17:31:20 +02:00
Tilo Spannagel
9628a41081
Merge pull request #703 from tilosp/bot/update
Update to 16.0.0beta3
2019-04-05 15:31:03 +02:00
tilosp-bot
fbc8d72cca Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-04-04 21:48:18 +00:00
Tilo Spannagel
85a2e86b6e
Merge pull request #702 from tilosp/bot/update
Run update.sh
2019-04-04 23:42:25 +02:00
tilosp-bot
da4cd779e3 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-04-04 16:02:10 +00:00
Tilo Spannagel
0ae0a40b9f
Merge pull request #696 from tilosp/bot/update
Add 14.0.9 RC 1 and 15.0.6 RC 1
2019-03-29 19:16:23 +01:00
tilosp-bot
e3b5cade0f Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-03-29 15:27:13 +00:00
Tilo Spannagel
1997f8d584
Merge pull request #695 from tilosp/bot/update
Run update.sh
2019-03-29 01:11:58 +01:00
tilosp-bot
6731d57690 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-03-28 16:03:03 +00:00
Tilo Spannagel
d1840409e7
Merge pull request #693 from tilosp/bot/update
Add Nextcloud 16.0.0beta1
2019-03-22 22:35:34 +01:00
tilosp-bot
e670114004 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-03-22 13:35:50 +00:00
Tilo Spannagel
6702c88033
Merge pull request #692 from nextcloud/tilosp-patch-1
Also remove alphas
2019-03-22 14:35:11 +01:00
Tilo Spannagel
d7671ab9cc
Also remove alphas
Closes #691
[skip travis]

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-03-22 14:33:46 +01:00
J0WI
ae8992ab62
Merge pull request #543 from J0WI/pecl-update
Update pecl extensions in update.sh
2019-03-14 01:01:02 +01:00
J0WI
a1ed54243d Update pecl extensions in update.sh
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-03-13 23:56:39 +01:00
Tilo Spannagel
cbe0ad1ad2
Merge pull request #660 from nextcloud/tilosp/copy-version.php-last
Copy version.php last
2019-03-13 20:16:15 +01:00
Tilo Spannagel
f3186308e2
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-03-13 17:47:59 +01:00
Tilo Spannagel
9c769f4ffc
Copy version.php last
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-03-13 17:47:29 +01:00
Tilo Spannagel
8791176d0a
Merge pull request #688 from nextcloud/tilosp/alpha
Add image for alpha
2019-03-13 11:36:23 +01:00
Tilo Spannagel
60622a729b
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-03-12 14:18:27 +01:00
Tilo Spannagel
b7e9458648
Add image for alpha
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-03-12 14:17:26 +01:00
J0WI
c98481a388
Merge pull request #675 from GuyPaddock/feature/issue-674--woff-fixes
Fix Remaining `.woff2` Issues in NGinx Config Examples
2019-03-09 20:29:18 +01:00
Guy Elsmore-Paddock
0b9f09e3e1 Issue #674 - Fix Remaining .woff2 Issues in NGinx Config Examples
This ensures that the remaining NGinx config examples are updated to handle WOFF 2 font files.

Closes #674.

Signed-off-by: Guy Elsmore-Paddock <guy@inveniem.com>
2019-03-04 19:37:37 -05:00
Tilo Spannagel
c0fd3fcd6d
Merge pull request #670 from tilosp/bot/update
Run update.sh
2019-03-02 18:25:12 +01:00
tilosp-bot
86c08c3769 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-03-02 16:00:43 +00:00
Docker Library Bot
deca4111fb Update to 13.0.12RC1 2019-03-01 22:51:32 +00:00
Tilo Spannagel
71ddf2a868
Merge pull request #662 from tilosp/bot/update
Run update.sh
2019-02-28 13:48:49 +01:00
Tilo Spannagel
e7405b7c16
Merge pull request #663 from nextcloud/stable-production-15.0.5
Ship 15.0.4 on production and stable channel
2019-02-28 12:51:29 +01:00
Tilo Spannagel
768d2e620d
Ship 15.0.4 on production and stable channel
See: nextcloud/updater_server#192

[skip travis]

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-28 12:49:53 +01:00
tilosp-bot
6564b82fb0 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-02-28 11:41:57 +00:00
Docker Library Bot
532834349b Update to 15.0.5 2019-02-28 10:51:23 +00:00
Docker Library Bot
77a5099fe9 Update to 13.0.12 2019-02-28 10:51:23 +00:00
Docker Library Bot
3235cfeb09 Update to 14.0.8 2019-02-28 10:51:23 +00:00
Tilo Spannagel
2a7ac51730
Merge pull request #661 from nextcloud/tilosp/production-15.0.4
Ship 15.0.4 on production channel
2019-02-27 00:21:24 +01:00
Tilo Spannagel
7ac2798878
Ship 15.0.4 on production channel
See: nextcloud/updater_server#188

[skip travis]

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-27 00:19:34 +01:00
Tilo Spannagel
ecc897b477
Merge pull request #658 from ykcab/minor-typo
Changes in the README.md
2019-02-26 23:37:41 +01:00
ykcab
5d607a706c Changed you host to 'your host' in line 32
Signed-off-by: ykcab <alain.mbuku@pm.me>
2019-02-25 20:13:35 -05:00
Tilo Spannagel
a3763dfc15
Merge pull request #657 from tilosp/bot/update
Run update.sh
2019-02-25 21:27:47 +01:00
tilosp-bot
e21fac2471 Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
2019-02-25 19:44:03 +00:00
Jonas Thelemann
d9ca9e4b08 Rephrase README's "Named Volumes" Paragraph
Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
2019-02-25 19:00:46 +01:00
Tilo Spannagel
1091814e9b
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-21 12:51:33 +01:00
Docker Library Bot
1f3c1cd4e9 Update to 15.0.5RC1 2019-02-21 04:51:35 +00:00
Docker Library Bot
643a35d6fb Update to 14.0.8RC1 2019-02-20 16:51:29 +00:00
Docker Library Bot
f9e1ef8537 Update to 13.0.12RC1 2019-02-20 16:51:29 +00:00
J0WI
908fb6a04f
Merge pull request #646 from J0WI/apcu-5.1.17
Update APCu to 5.1.17
2019-02-10 21:44:17 +01:00
J0WI
891feeaf94 Update APCu to 5.1.17
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-02-10 20:57:47 +01:00
Tilo Spannagel
4c0d269740
Revert "Update to 15.0.0beta2"
This reverts commit 2e8205eef4.
2019-02-08 22:29:34 +01:00
J0WI
ae94e4a349
Merge pull request #640 from J0WI/alpine-3.9
Update to Alpine 3.9
2019-02-08 18:13:13 +01:00
Docker Library Bot
2e8205eef4 Update to 15.0.0beta2 2019-02-08 10:53:12 +00:00
Tilo Spannagel
b5f659e6bd
Merge pull request #641 from nextcloud/update-release-channel
Update release channels
2019-02-07 22:04:10 +01:00
Tilo Spannagel
34a9a543e1
Merge pull request #639 from nextcloud/fix-examples
Remove app dockerfile
2019-02-07 22:00:07 +01:00
Tilo Spannagel
be19f23e61
Ship 15.0.4 on stable channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-07 13:21:16 +01:00
Tilo Spannagel
f4929e6067
Ship 14.0.7 on production channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-07 13:19:54 +01:00
Tilo Spannagel
cc0564ed40
Remove app dockerfile
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-07 13:06:04 +01:00
J0WI
0a3d4aef87 Update to Alpine 3.9
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-02-07 12:49:25 +01:00
Tilo Spannagel
b9ae3256ad
Merge pull request #600 from marceljd/redis-env-vars
Set Redis through environment variables
2019-02-07 12:20:53 +01:00
Tilo Spannagel
6d7be410e0
Update to 15.0.4
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-07 12:17:57 +01:00
Tilo Spannagel
2695fd9ba2
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-07 12:09:11 +01:00
Docker Library Bot
6b8820f3f5 Update to 15.0.3 2019-02-07 04:51:23 +00:00
Docker Library Bot
cd72548651 Update to 13.0.11 2019-02-07 04:51:23 +00:00
Docker Library Bot
da1192ed4c Update to 14.0.7 2019-02-07 04:51:23 +00:00
J0WI
f2397fafc6
Merge pull request #634 from J0WI/594
Fix #594: svg support for imagick on Debian
2019-02-06 14:17:03 +01:00
J0WI
b0a5548d19
Merge pull request #638 from jaydrogers/patch-2
Simple typo fix
2019-02-05 12:49:32 +01:00
Jay Rogers
a726f805e3 Simple typo fix
Signed-off-by: Jay Rogers <jay@521dimensions.com>
2019-02-04 22:24:05 -06:00
J0WI
bb10546327 Add SVG support in full example
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-02-01 21:08:33 +01:00
Tilo Spannagel
184d54a2d6
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-31 12:54:43 +01:00
Docker Library Bot
e298a56eaa Update to 13.0.11RC1 2019-01-31 10:51:39 +00:00
Docker Library Bot
a8a7cb9571 Update to 15.0.3RC1 2019-01-31 10:51:39 +00:00
Docker Library Bot
f0f22d3ddf Update to 14.0.7RC1 2019-01-31 10:51:39 +00:00
marceljd
e0de4ab285 removed old redis.config.php files
On branch redis-env-vars
 Changes to be committed:
	deleted:    ../../apache/app/redis.config.php
	deleted:    redis.config.php
	deleted:    ../../../../with-nginx-proxy/mariadb-cron-redis/apache/app/redis.config.php
	deleted:    ../../../../with-nginx-proxy/mariadb-cron-redis/fpm/app/redis.config.php

Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 15:08:57 +00:00
marceljd
d3cd3b812f On branch redis-env-vars
run update.sh
 Changes to be committed:
	modified:   13.0/apache/config/redis.config.php
	modified:   13.0/fpm-alpine/config/redis.config.php
	modified:   13.0/fpm/config/redis.config.php
	modified:   14.0/apache/config/redis.config.php
	modified:   14.0/fpm-alpine/config/redis.config.php
	modified:   14.0/fpm/config/redis.config.php
	modified:   15.0/apache/config/redis.config.php
	modified:   15.0/fpm-alpine/config/redis.config.php
	modified:   15.0/fpm/config/redis.config.php

Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
b3b6def923 On branch redis-env-vars
added REDIS_HOST_PORT
 Changes to be committed:
	modified:   .config/redis.config.php
	modified:   README.md

Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
2e481a86ee Updated ' to ` for better formatting
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
a9f458ce9f Changes to be committed:
modified:   .config/redis.config.php
	modified:   .examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml
	modified:   .examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml
	modified:   .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml
	modified:   .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml
	modified:   13.0/apache/Dockerfile
	modified:   13.0/apache/config/redis.config.php
	modified:   13.0/fpm-alpine/Dockerfile
	modified:   13.0/fpm-alpine/config/redis.config.php
	modified:   13.0/fpm/Dockerfile
	modified:   13.0/fpm/config/redis.config.php
	modified:   14.0/apache/Dockerfile
	modified:   14.0/apache/config/redis.config.php
	modified:   14.0/fpm-alpine/Dockerfile
	modified:   14.0/fpm-alpine/config/redis.config.php
	modified:   14.0/fpm/Dockerfile
	modified:   14.0/fpm/config/redis.config.php
	modified:   15.0/apache/Dockerfile
	modified:   15.0/apache/config/redis.config.php
	modified:   15.0/fpm-alpine/Dockerfile
	modified:   15.0/fpm-alpine/config/redis.config.php
	modified:   15.0/fpm/Dockerfile
	modified:   15.0/fpm/config/redis.config.php
	modified:   README.md

Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
d1db681058 Update redis.config.php
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
536fb66212 Only redis_host without port
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
f2ee88d352 set redis environment variables
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
ba4c1359b9 set redis environment variables
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
J0WI
250802c706
Merge pull request #586 from nicokaiser/nginx-woff2
Fix woff2 files in nginx examples
2019-01-21 17:57:56 +01:00
Tilo Spannagel
f081d3864d
Ship 15.0.2 on stable channel (#615)
See: https://github.com/nextcloud/updater_server/pull/183
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-21 17:00:22 +01:00
Nico Kaiser
f3524791d9 Fix woff2 files in nginx examples
Since some versions of Nextcloud, fonts are served as woff2, which is
not forwarded to index.php by the supplied nginx.conf. This leads to
nginx returning the dynamic index page instead of the static fonts.

Signed-off-by: Nico Kaiser <nico@kaiser.me>
2019-01-21 16:55:55 +01:00
Tilo Spannagel
15ab1ccecd
Merge pull request #614 from nextcloud/production-14.0.6
Ship 14.0.6 on production channel
2019-01-21 16:27:14 +01:00
Tilo Spannagel
b3d324f986
Ship 14.0.6 on production channel
See: https://github.com/nextcloud/updater_server/pull/182
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-21 15:44:12 +01:00
J0WI
8d133d39e6
Merge pull request #608 from nextcloud/revert-php-7.3
Switch back to php 7.2
2019-01-17 23:05:24 +01:00
Tilo Spannagel
453a5224d9
Merge pull request #603 from J0WI/rm-man-dir
Remove man dir from examples
2019-01-17 14:09:25 +01:00
Tilo Spannagel
d8d9a17be2
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-17 13:43:13 +01:00
Tilo Spannagel
d06375a333
Switch back to php 7.2
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-17 13:42:00 +01:00
J0WI
5f8fa19f04 Remove man dir from examples
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-14 19:06:22 +01:00
J0WI
e8e33356ff
Merge pull request #573 from J0WI/php73
Use PHP 7.3 for NC 15
2019-01-14 18:48:11 +01:00
J0WI
46c774cd8c Set default PHP version to 7.3
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-14 17:10:27 +01:00
Tilo Spannagel
57b9193096
Update stable tag to 14.0.6
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-11 18:20:48 +01:00
Docker Library Bot
11a6e69371 Update to 15.0.2 2019-01-11 16:51:27 +00:00
Docker Library Bot
48f9b58e6f Update to 14.0.6 2019-01-11 16:51:27 +00:00
Docker Library Bot
442510be73 Update to 13.0.10 2019-01-11 16:51:27 +00:00
J0WI
06c299ce5b Update memcached to 3.1.3
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-11 02:03:04 +01:00
J0WI
5bd47f8159 Update php-memcached to 3.1.2 and APCu to 5.1.16
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-11 02:03:04 +01:00
J0WI
9ecaf51c4f Use PHP 7.3 for NC 15
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-11 02:03:04 +01:00
J0WI
2994c70264 Run update.sh
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-11 01:13:23 +01:00
Docker Library Bot
5751ebc2a5 Update to 15.0.1 2019-01-10 16:51:34 +00:00
Docker Library Bot
9ecb0fb6d9 Update to 14.0.5 2019-01-10 16:51:34 +00:00
Docker Library Bot
70cb6ed262 Update to 13.0.9 2019-01-10 16:51:34 +00:00
Docker Library Bot
ce614ef0d4 Update to 14.0.5RC2 2019-01-09 22:51:23 +00:00
Docker Library Bot
d3853330f5 Update to 13.0.9RC2 2019-01-09 22:51:23 +00:00
Docker Library Bot
4db869636b Update to 15.0.1RC2 2019-01-09 22:51:22 +00:00
Tilo Spannagel
eed21207f1
Merge pull request #596 from J0WI/alpine-examples
Add Alpine variant to Dockerfile examples
2019-01-07 16:20:04 +01:00
Tilo Spannagel
89f64fe448
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-01-07 00:07:59 +01:00
J0WI
7d262cbf97 Remove reference to line number
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-07 00:00:49 +01:00
Docker Library Bot
1999ee264b Update to 14.0.5RC1 2019-01-05 22:51:19 +00:00
Docker Library Bot
49085a33e6 Update to 13.0.9RC1 2019-01-05 22:51:19 +00:00
Docker Library Bot
e7d2df22ad Update to 15.0.1RC1 2019-01-05 22:51:19 +00:00
J0WI
0e941215b1 Refactor install process and remove build deps
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-05 18:43:27 +01:00
J0WI
030a743b39 Add Alpine variant to Dockerfile examples
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-05 18:43:12 +01:00
J0WI
cb71d98f72
Merge pull request #581 from st3iny/master
Add db command to docker-compose example in readme
2018-12-17 17:55:20 +01:00
Richard Steinmetz
bd2e1b4107 Add db command to docker-compose example in readme
Signed-off-by: Richard Steinmetz <steinmetz.richard@googlemail.com>
2018-12-13 17:08:50 +01:00
Tilo Spannagel
31d7dedda9
Merge pull request #579 from st3iny/master
Fix typo in docker-entrypoint.sh
2018-12-13 13:21:01 +01:00
Richard Steinmetz
a37b6752b9 Run update.sh
Signed-off-by: Richard Steinmetz <steinmetz.richard@googlemail.com>
2018-12-13 12:07:24 +01:00
J0WI
2fb6c587dc
Merge pull request #575 from rcdailey/imagick
Add imagick php extension
2018-12-12 23:18:46 +01:00
Robert Dailey
2f90715d31
Add imagick php extension
There is a warning issued in Nextcloud 15 about 'imagick' php extension not
being present. They highly recommend that it be installed.

Fixes #574, fixes #263

Signed-off-by: Robert Dailey <rcdailey@gmail.com>
2018-12-12 13:44:27 -06:00
Richard Steinmetz
8bd688664d Fix typo in docker-entrypoint.sh
Signed-off-by: Richard Steinmetz <steinmetz.richard@googlemail.com>
2018-12-12 19:24:24 +01:00
J0WI
783232840a
Merge pull request #572 from J0WI/APCu-5.1.15
Update APCu to 5.1.15
2018-12-11 01:50:16 +01:00
J0WI
de2f3c57ee Update APCu to 5.1.15
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2018-12-11 00:13:10 +01:00
Tilo Spannagel
6467871d7a
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-12-10 14:50:59 +01:00
Docker Library Bot
00387f5a7d Update to 15.0.0 2018-12-10 10:51:22 +00:00
Docker Library Bot
25cc30e968 Update to 15.0.0RC3 2018-12-06 16:51:28 +00:00
Tilo Spannagel
6619d53676
Merge pull request #564 from nextcloud/eol
12.0.x is end of life
2018-12-04 18:33:34 +01:00
Tilo Spannagel
68f1f79be5
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-12-04 18:00:37 +01:00
Tilo Spannagel
325dee46d1
12.0.x is end of life
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-12-04 18:00:15 +01:00
Tilo Spannagel
fc2a691111
Revert "Update to 12.0.13RC2"
This reverts commit 6e93ee37e6.
2018-12-04 00:37:29 +01:00
Docker Library Bot
6e93ee37e6 Update to 12.0.13RC2 2018-12-01 10:51:32 +00:00
Docker Library Bot
817d74efba Update to 15.0.0RC2 2018-11-30 16:51:33 +00:00
Tilo Spannagel
ceba099589
Merge pull request #553 from nextcloud/channel
Update release channels
2018-11-25 22:08:03 +01:00
Tilo Spannagel
548306b919
Update release channels
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-25 17:14:35 +01:00
Tilo Spannagel
b41d6dfd36
Merge pull request #547 from nextcloud/update-sh
Run update.sh
2018-11-24 15:40:02 +01:00
Tilo Spannagel
2c26edea97
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-24 14:07:03 +01:00
Docker Library Bot
8b7e80cb36 Update to 12.0.13 2018-11-22 16:51:31 +00:00
Docker Library Bot
250b44903f Update to 13.0.8 2018-11-22 16:51:31 +00:00
Docker Library Bot
9929de89d9 Update to 15.0.0RC1 2018-11-22 16:51:31 +00:00
Docker Library Bot
d6712dc1e9 Update to 14.0.4 2018-11-22 16:51:31 +00:00
J0WI
44398e216a
Merge pull request #542 from nextcloud/APCu-5.1.14
Update APCu to version 5.1.14
2018-11-21 22:31:39 +01:00
Tilo Spannagel
9bdddbfe47
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-21 14:59:37 +01:00
Tilo Spannagel
28eb7826b2
Update APCu to version 5.1.14
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-21 14:58:00 +01:00
Tilo Spannagel
0c16d10bf1
Merge pull request #538 from J0WI/alpine-eg
Use Alpine Linux in examples and use default user on nginx containers
2018-11-20 23:19:02 +01:00
Tilo Spannagel
b4c914d530
Merge pull request #541 from J0WI/redis-4.2.0-apcu-5.1.13
Update php-redis to 4.2.0 and php-apcu to 5.1.13
2018-11-20 21:01:51 +01:00
J0WI
aa5c0c1929 Use Alpine Linux in examples and use default user
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2018-11-20 20:24:22 +01:00
Docker Library Bot
3a4a979f54 Update to 12.0.13RC2 2018-11-20 10:51:35 +00:00
Docker Library Bot
0213a9bd24 Update to 14.0.4RC2 2018-11-20 10:51:35 +00:00
Docker Library Bot
20ec8dbb8e Update to 13.0.8RC2 2018-11-20 10:51:35 +00:00
J0WI
ae849f1900 Update php-redis to 4.2.0 and php-apcu to 5.1.13
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2018-11-20 00:38:55 +01:00
Tilo Spannagel
b6b83ba7ea
Merge pull request #539 from nextcloud/update-sh
Run update.sh
2018-11-15 23:15:01 +01:00
Tilo Spannagel
4e76ae7c94
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-15 22:13:46 +01:00
Tilo Spannagel
99d823806e
Simplify travis.yml updates
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-15 22:11:34 +01:00
Docker Library Bot
0ebd883113 Update to 12.0.13RC1 2018-11-15 16:51:26 +00:00
Docker Library Bot
3f28ab64bd Update to 13.0.8RC1 2018-11-15 16:51:26 +00:00
Docker Library Bot
87413b7f4b Update to 15.0.0beta2 2018-11-15 16:51:26 +00:00
Docker Library Bot
64b3b2ae0f Update to 14.0.4RC1 2018-11-15 16:51:26 +00:00
Tilo Spannagel
7914073ea2
Merge pull request #536 from nextcloud/gpg-batch
Update "gpg" invocations to use "--batch"
2018-11-15 12:46:28 +01:00
Tilo Spannagel
d001a91815
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-15 11:55:13 +01:00
Tilo Spannagel
7500500bae
Update "gpg" invocations to use "--batch"
See https://bugs.debian.org/913614

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-11-15 11:54:10 +01:00
Tilo Spannagel
6c155c7ea2
Run update.sh 2018-11-12 12:41:18 +01:00
Docker Library Bot
3be7aee2db Update to 15.0.0beta1 2018-11-08 16:51:23 +00:00
Tilo Spannagel
f16c857231
Revert "Update to 13.0.7RC2"
This reverts commit a7fe67e678.
2018-11-04 14:44:19 +01:00
Docker Library Bot
a7fe67e678 Update to 13.0.7RC2 2018-11-03 09:51:31 +00:00
Tilo Spannagel
b95484b409
Revert "Update to 13.0.0beta4"
This reverts commit e431c13482.
2018-10-18 11:36:05 +02:00
Docker Library Bot
e431c13482 Update to 13.0.0beta4 2018-10-18 03:51:29 +00:00
Tilo Spannagel
ab3b62bd10
Merge pull request #519 from SnowMB/fix_full_example
fix #491: add NEXTCLOUD_UPDATE=1 to full example
2018-10-17 11:12:06 +02:00
Marc Brückner
2d22bcaba7 fix #491: add NEXTCLOUD_UPDATE=1 to full example 2018-10-17 10:26:22 +02:00
Tilo Spannagel
424364e2e1
Merge pull request #515 from SnowMB/add_update_variable
Add NEXTCLOUD_UPDATE for containers started with non-default commands
2018-10-16 18:30:39 +02:00
Marc Brückner
b3df4606be remove official images test for example images 2018-10-16 17:43:56 +02:00
Marc Brückner
f062435135 clarified use of variable 2018-10-16 16:38:36 +02:00
Marc Brückner
b25e1abe9c added variable to Dockerfiles of cron supervisord example 2018-10-16 16:38:04 +02:00
Tilo Spannagel
3838458843
Merge pull request #500 from nextcloud/feature/649/set-trusted-domains
add a mechanism to set trusted domains on install
2018-10-15 19:57:15 +02:00
Arthur Schiwon
1f4ffe722d
regenerate entrypoint files via update.sh 2018-10-15 15:29:36 +02:00
Arthur Schiwon
3f931009c5
add a mechanism to set trusted domains on install 2018-10-15 15:29:32 +02:00
Marc Brückner
b8161a19a0 added description for cron supervisord example 2018-10-15 15:21:03 +02:00
Marc Brückner
396cf35c97 Added documentation to readme 2018-10-15 15:11:29 +02:00
Marc Brückner
63710a75a3 added new environment variable 2018-10-15 15:01:39 +02:00
Tilo Spannagel
3770bbcb26
Merge pull request #499 from nextcloud/stable-13.0.7
Ship 13.0.7 on production and stable
2018-10-12 13:02:06 +02:00
Tilo Spannagel
da31976a94
Ship 13.0.7 on production and stable 2018-10-12 12:11:51 +02:00
Docker Library Bot
4d2dbd6ea0 Update to 14.0.3 2018-10-12 09:51:23 +00:00
Tilo Spannagel
7b7edd5f66 Run update.sh 2018-10-11 16:11:55 +02:00
Docker Library Bot
350a6eb644 Update to 12.0.12 2018-10-11 09:51:34 +00:00
Docker Library Bot
4abd8b7d0e Update to 14.0.2 2018-10-11 09:51:33 +00:00
Docker Library Bot
dc276645b9 Update to 13.0.7 2018-10-11 09:51:33 +00:00
Tilo Spannagel
9fced6721e
Run update.sh 2018-10-09 20:30:04 +02:00
Docker Library Bot
529d4e743c Update to 13.0.7RC2 2018-10-09 15:51:27 +00:00
Docker Library Bot
37be10745f Update to 12.0.12RC2 2018-10-09 15:51:27 +00:00
Tilo Spannagel
4adf0a9f39
Merge pull request #486 from nextcloud/code-of-conduct
Add code of conduct
2018-10-05 14:36:37 +02:00
Tilo Spannagel
31c0ec75df
Add code of conduct
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-10-05 14:32:27 +02:00
Tilo Spannagel
9719291632
Merge pull request #484 from nextcloud/remove-sudo
Remove sudo from tavis.yml
2018-10-05 10:43:57 +02:00
Tilo Spannagel
8be067708c
Remove sudo from tavis.yml
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-10-05 09:40:18 +02:00
Tilo Spannagel
010f392951
Merge pull request #483 from nextcloud/update-sh
Run update.sh
2018-10-04 22:06:23 +02:00
Tilo Spannagel
0a18ad5c3e
Run update.sh 2018-10-04 20:32:11 +02:00
Tilo Spannagel
91adc66fae
Merge pull request #480 from SnowMB/fix_sleeps
added retry loop and decreased sleep time
2018-10-03 17:56:15 +02:00
J0WI
9f5b409962
Merge pull request #478 from nextcloud/exclude-file
Use exclude file for the updater
2018-10-03 01:18:06 +02:00
Marc Brückner
6eb8f3fa16 added retry loop and decreased sleep time 2018-10-02 10:45:00 +02:00
Tilo Spannagel
aec153d69a
Run update.sh 2018-10-01 22:32:13 +02:00
Tilo Spannagel
a46493fbc4
Use exclude file for the updater
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-10-01 22:31:34 +02:00
Tilo Spannagel
de7204ccda
Merge pull request #479 from nextcloud/dumy-hash
Add some dummy hash for uncommited Dockerfiles
2018-10-01 20:40:33 +02:00
Tilo Spannagel
9aaa473e7d
Add some dummy hash for uncommited Dockerfiles
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-10-01 17:29:15 +02:00
Marc Bihlmaier
efe4edb8eb echo to stdout when migration-script is running (#333)
* echo to stdout when migration-script is running

* specifying output

* output Initializing new instance

* simplify output
2018-09-29 20:15:08 +02:00
Tilo Spannagel
5ce928c23b
Merge pull request #459 from SnowMB/auto_install
Implement #455: auto-install via occ maintenance:install
2018-09-29 18:40:22 +02:00
Tilo Spannagel
6b10932e81
Ignore shellcheck errors
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-09-27 13:04:47 +02:00
Marc Brückner
dbadf5520b fixed expansion of environment variables 2018-09-27 09:58:47 +02:00
Tilo Spannagel
9681cf171b
Run update.sh 2018-09-25 20:15:13 +02:00
Docker Library Bot
930a33b7be Update to 14.0.1 2018-09-25 09:51:20 +00:00
Tilo Spannagel
c9d875afb6
Update travis.yml 2018-09-21 12:01:16 +02:00
Docker Library Bot
fca3a2f12d Update to 14.0.1RC1 2018-09-20 21:00:57 +00:00
Marc Brückner
45bf61d190 remove admin password and user name from autoconfig 2018-09-14 08:27:21 +02:00
Marc Brückner
bdc2d3e610 fix regex for apache 2018-09-14 08:25:49 +02:00
Marc Brückner
a3cce50b00 only initialize / update when the command is apache* or php-fpm (do nothing on thins like bash, echo) 2018-09-13 14:36:50 +02:00
Marc Brückner
f5d3234fca - using defaults from autoconfig.php
- using '-n' instead of '! -z'
- adding quotes
2018-09-13 11:32:56 +02:00
Tilo Spannagel
69e982d7c7
Merge pull request #460 from J0WI/mem-limit
Add custom memory limit for PHP CLI (fix #447)
2018-09-12 21:56:50 +02:00
J0WI
f5d27c6153 Add custom memory limit for PHP CLI (fix #447) 2018-09-12 16:43:08 +02:00
Marc Brückner
7f485eb9fa implement #455: auto-install via occ maintenance:install 2018-09-12 14:32:05 +02:00
Tilo Spannagel
eed144231e
Merge pull request #451 from LouisMT/referrer-policy-examples
Add Referrer-Policy header examples for nginx
2018-09-11 20:23:45 +02:00
Louis Matthijssen
a31db79ae9
Add Referrer-Policy header examples for nginx 2018-09-11 19:38:17 +02:00
Tilo Spannagel
1a41584c28
Merge pull request #453 from LouisMT/fix-upgrade-script-typo
Fix small typo in upgrade script
2018-09-09 14:57:22 +02:00
Louis Matthijssen
f6abe4472b
Fix small typo in upgrade script 2018-09-09 14:25:54 +02:00
Tilo Spannagel
4549fd56a9
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-09-06 16:58:51 +02:00
Docker Library Bot
b72fbcfb04 Update to 14.0.0RC2 2018-08-31 15:51:21 +00:00
Tilo Spannagel
61829178ab
Merge pull request #442 from nextcloud/ship-13.0.6
Ship 13.0.6 on stable and production channel
2018-08-30 16:00:07 +02:00
Tilo Spannagel
5bb0a7d7fb
Ship 13.0.6 on stable and production channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-30 15:28:44 +02:00
Tilo Spannagel
9435421b50
Run update.sh 2018-08-30 14:01:09 +02:00
Tilo Spannagel
6124a1af14
Merge pull request #439 from nextcloud/alpine-3.8
Upgrade to alpine 3.8
2018-08-29 10:20:03 +02:00
Tilo Spannagel
e1b371d460
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-27 19:02:39 +02:00
Tilo Spannagel
b784ac84ad
Upgrade to alpine 3.8
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-27 19:01:54 +02:00
Ruben Barkow
35fd42d042 example Dockerfiles: remove obsolete jessie backports (see #435) (#437)
The docker image already is on stretch, so no backports are needed
2018-08-27 17:27:21 +02:00
Ruben Barkow
7b19d3c352 .examples/README.md: fix typo: LibreOffice without caps (#436) 2018-08-27 11:58:21 +02:00
Ruben Barkow
0feb06c098 .examples/README.md: remove obsolete jessie backports (#435)
The docker image already is on stretch, so no backports are needed
2018-08-27 11:57:33 +02:00
Ruben Barkow
b7b85cf197 .examples/README.md: replace </br> with two spaces 2018-08-27 11:36:31 +02:00
Tilo Spannagel
d75368bbbd
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-25 11:18:38 +02:00
Tilo Spannagel
06e6a54011
Merge pull request #433 from nextcloud/remove-dup-var
Remove duplicated var from example
2018-08-24 17:03:46 +02:00
Tilo Spannagel
6da6d063ef
Remove duplicated var from example
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-24 17:02:46 +02:00
Tilo Spannagel
23ae40b44b
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-24 12:32:06 +02:00
Tilo Spannagel
97f66e6641
Merge pull request #424 from nextcloud/remove-app-disable-upgrade
Remove the "--no-app-disable" option form the "occ upgrade" command
2018-08-21 20:31:54 +02:00
Tilo Spannagel
bc04997fee
Merge pull request #427 from J0WI/non-root-travis
Remove sudo and distro from .travis.yml
2018-08-21 11:33:05 +02:00
Tilo Spannagel
7dc465b999
Merge pull request #423 from nextcloud/use-request_uri-variable
Use $request_uri instead of $uri in nginx config
2018-08-21 11:31:05 +02:00
J0WI
cb8d4a7ed4 Remove sudo and distro from .travis.yml 2018-08-19 16:32:22 +02:00
Tilo Spannagel
1654a164dc
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-16 18:10:27 +02:00
Tilo Spannagel
677134a7f9
Remove the "--no-app-disable" option form the "occ upgrade" command
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-16 18:07:28 +02:00
Tilo Spannagel
71b4d891f8
Use $request_uri instead of $uri in nginx config
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-16 17:59:03 +02:00
Docker Library Bot
76ca281e03 Update to 14.0.0beta4 2018-08-16 09:51:22 +00:00
Tilo Spannagel
c82c9fb705
Merge pull request #418 from nextcloud/redis-4.1.1
Update redis to version 4.1.1
2018-08-09 14:02:55 +02:00
Tilo Spannagel
c2cb51c7a8 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-09 13:59:33 +02:00
Tilo Spannagel
a33d46c03c Update redis to version 4.1.1
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-09 13:59:33 +02:00
Docker Library Bot
63cde1e682 Update to 14.0.0beta3 2018-08-09 09:51:22 +00:00
Tilo Spannagel
e4b29de140
Merge pull request #416 from nextcloud/php-7.2
Switch to php 7.2 for nextcloud 13.0 and greater
2018-08-08 11:42:48 +02:00
Tilo Spannagel
1f67adcf94
Merge pull request #413 from nextcloud/apcu-cli
Enable apcu for cli calls
2018-08-08 11:42:30 +02:00
Tilo Spannagel
c79c5a8883 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-07 20:52:49 +02:00
Tilo Spannagel
bb4523958d Remove the php module mcrypt
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-07 20:52:49 +02:00
Tilo Spannagel
323dc9034f Switch to php 7.2 for nextcloud 13.0 and greater
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-07 18:52:00 +02:00
Tilo Spannagel
989f6be2c4
Merge pull request #414 from nextcloud/fix-full-example
Fix full Dockerfile example
2018-08-06 15:27:48 +02:00
Tilo Spannagel
aa9cd89b82 Fix full Dockerfile example 2018-08-06 14:40:03 +02:00
Tilo Spannagel
547abbdce7 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-06 10:12:58 +02:00
Tilo Spannagel
52d7f2e334 Enable apcu for cli calls
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-06 10:11:05 +02:00
Tilo Spannagel
68c731298e
Merge pull request #412 from freeroot/master
add infos from #409 in doc
2018-08-06 09:50:54 +02:00
Tilo Spannagel
31878f1f57
Merge pull request #406 from nextcloud/cleanup
Small cleanups
2018-08-03 08:04:02 +02:00
Docker Library Bot
20d8e0df8d Update to 14.0.0beta2 2018-08-02 09:51:21 +00:00
Tilo Spannagel
328b7f334f Run update.sh 2018-08-01 23:22:31 +02:00
Tilo Spannagel
5d79969947 Fix indentation 2018-08-01 23:19:53 +02:00
Tilo Spannagel
654ddeae23 Remove trailing whitespaces 2018-08-01 22:55:25 +02:00
Tilo Spannagel
39d259adfc
Merge pull request #405 from nextcloud/fix-examples
Fix the "with-nginx-proxy-self-signed-ssl" example
2018-08-01 22:22:29 +02:00
Tilo Spannagel
9586356008 Add mariadb command line arguments 2018-08-01 22:02:44 +02:00
Tilo Spannagel
e05e2f1dd7 Use custom Dockerfiles instead of mounts 2018-08-01 21:59:11 +02:00
Tilo Spannagel
4ce7ef03ba
Merge pull request #399 from nextcloud/beta-14
Nextcloud 14.0 Beta
2018-07-31 12:07:24 +02:00
Tilo Spannagel
ff77d29974 Fix var name
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-31 11:33:45 +02:00
Tilo Spannagel
7f91a3a233 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-31 10:31:28 +02:00
Tilo Spannagel
4cefdbfb40 Add support for betas to generate-stackbrew-library.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-26 18:28:09 +02:00
Tilo Spannagel
ffa7769319 Add support for betas to update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-26 18:20:43 +02:00
Tilo Spannagel
c7092b7a93
Merge pull request #397 from nextcloud/stable-13.0.5
Ship 13.0.5 on stable channel
2018-07-23 18:57:31 +02:00
Tilo Spannagel
14c290dfec Run update.sh 2018-07-23 18:35:29 +02:00
Tilo Spannagel
cfa514bbd8 Ship 13.0.5 on stable channel 2018-07-23 18:34:33 +02:00
Docker Library Bot
66fcf0ba1f Update to 12.0.10 2018-07-23 15:51:17 +00:00
Docker Library Bot
b0c5b58f58 Update to 13.0.5 2018-07-23 15:51:16 +00:00
Tilo Spannagel
18c3e065f6
Merge pull request #390 from nextcloud/APCu-5.1.12
Update APCu to version 5.1.12
2018-07-16 10:53:22 +02:00
Tilo Spannagel
daf0e68aaf Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-16 10:17:00 +02:00
Tilo Spannagel
87dfa43082 Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-12 20:31:50 +02:00
Tilo Spannagel
bbc61b3165 Update APCu to version 5.1.12
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-07-12 20:31:04 +02:00
Tilo Spannagel
9547740db1
Run update.sh 2018-07-12 16:22:45 +02:00
Tilo Spannagel
ebfcbfb255
Merge pull request #370 from nextcloud/fix-travis
Add pgp-happy-eyeballs to travis
2018-06-19 10:17:05 +02:00
Tilo Spannagel
af3787d31d
Add pgp-happy-eyeballs to travis
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-06-19 09:49:13 +02:00
Tilo Spannagel
5ea9f6b612
Add 13.0.4 to production
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-06-13 23:23:21 +02:00
Tilo Spannagel
26ccd170b0
Merge pull request #366 from nextcloud/stable-13.0.4
Ship 13.0.4 on stable channel
2018-06-11 14:34:42 +02:00
Tilo Spannagel
c0708d7967
Ship 13.0.4 on stable channel
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-06-11 14:28:16 +02:00
Docker Library Bot
12c61283e0 Update to 12.0.9 2018-06-11 09:51:16 +00:00
Docker Library Bot
2e1ea3384e Update to 13.0.4 2018-06-11 09:51:16 +00:00
Tilo Spannagel
1d9428d1db
Merge pull request #363 from nextcloud/stable-13.0.3
Ship 13.0.3 on stable channel
2018-06-07 16:45:44 +02:00
Tilo Spannagel
18c1f1f5b6
Run update.sh
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-06-07 12:23:15 +02:00
Tilo Spannagel
ccb09b16a6
Ship 13.0.3 on stable channel 2018-06-07 12:22:54 +02:00
Tilo Spannagel
65ee21367b
Merge pull request #358 from J0WI/gpg-race
Adjust gpg code to kill daemons, cutting down on race conditions
2018-06-05 00:18:43 +02:00
Freeroot
64a531b428 add infos from #409 in doc 2018-05-11 12:46:39 +02:00
Freeroot
7f611a569e add infos from #409 in doc 2018-08-05 11:25:47 +02:00
249 changed files with 7422 additions and 5276 deletions

View File

@ -1,15 +1,15 @@
<?php
$CONFIG = array (
"apps_paths" => array (
'apps_paths' => array (
0 => array (
"path" => OC::$SERVERROOT."/apps",
"url" => "/apps",
"writable" => false,
'path' => OC::$SERVERROOT.'/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
"path" => OC::$SERVERROOT."/custom_apps",
"url" => "/custom_apps",
"writable" => true,
'path' => OC::$SERVERROOT.'/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
);

View File

@ -3,32 +3,39 @@
$autoconfig_enabled = false;
if (getenv('SQLITE_DATABASE')) {
$AUTOCONFIG["dbtype"] = "sqlite";
$AUTOCONFIG["dbname"] = getenv('SQLITE_DATABASE');
$AUTOCONFIG['dbtype'] = 'sqlite';
$AUTOCONFIG['dbname'] = getenv('SQLITE_DATABASE');
$autoconfig_enabled = true;
} elseif (getenv('MYSQL_DATABASE_FILE') && getenv('MYSQL_USER_FILE') && getenv('MYSQL_PASSWORD_FILE') && getenv('MYSQL_HOST')) {
$AUTOCONFIG['dbtype'] = 'mysql';
$AUTOCONFIG['dbname'] = trim(file_get_contents(getenv('MYSQL_DATABASE_FILE')));
$AUTOCONFIG['dbuser'] = trim(file_get_contents(getenv('MYSQL_USER_FILE')));
$AUTOCONFIG['dbpass'] = trim(file_get_contents(getenv('MYSQL_PASSWORD_FILE')));
$AUTOCONFIG['dbhost'] = getenv('MYSQL_HOST');
$autoconfig_enabled = true;
} elseif (getenv('MYSQL_DATABASE') && getenv('MYSQL_USER') && getenv('MYSQL_PASSWORD') && getenv('MYSQL_HOST')) {
$AUTOCONFIG["dbtype"] = "mysql";
$AUTOCONFIG["dbname"] = getenv('MYSQL_DATABASE');
$AUTOCONFIG["dbuser"] = getenv('MYSQL_USER');
$AUTOCONFIG["dbpass"] = getenv('MYSQL_PASSWORD');
$AUTOCONFIG["dbhost"] = getenv('MYSQL_HOST');
$AUTOCONFIG['dbtype'] = 'mysql';
$AUTOCONFIG['dbname'] = getenv('MYSQL_DATABASE');
$AUTOCONFIG['dbuser'] = getenv('MYSQL_USER');
$AUTOCONFIG['dbpass'] = getenv('MYSQL_PASSWORD');
$AUTOCONFIG['dbhost'] = getenv('MYSQL_HOST');
$autoconfig_enabled = true;
} elseif (getenv('POSTGRES_DB_FILE') && getenv('POSTGRES_USER_FILE') && getenv('POSTGRES_PASSWORD_FILE') && getenv('POSTGRES_HOST')) {
$AUTOCONFIG['dbtype'] = 'pgsql';
$AUTOCONFIG['dbname'] = trim(file_get_contents(getenv('POSTGRES_DB_FILE')));
$AUTOCONFIG['dbuser'] = trim(file_get_contents(getenv('POSTGRES_USER_FILE')));
$AUTOCONFIG['dbpass'] = trim(file_get_contents(getenv('POSTGRES_PASSWORD_FILE')));
$AUTOCONFIG['dbhost'] = getenv('POSTGRES_HOST');
$autoconfig_enabled = true;
} elseif (getenv('POSTGRES_DB') && getenv('POSTGRES_USER') && getenv('POSTGRES_PASSWORD') && getenv('POSTGRES_HOST')) {
$AUTOCONFIG["dbtype"] = "pgsql";
$AUTOCONFIG["dbname"] = getenv('POSTGRES_DB');
$AUTOCONFIG["dbuser"] = getenv('POSTGRES_USER');
$AUTOCONFIG["dbpass"] = getenv('POSTGRES_PASSWORD');
$AUTOCONFIG["dbhost"] = getenv('POSTGRES_HOST');
$AUTOCONFIG['dbtype'] = 'pgsql';
$AUTOCONFIG['dbname'] = getenv('POSTGRES_DB');
$AUTOCONFIG['dbuser'] = getenv('POSTGRES_USER');
$AUTOCONFIG['dbpass'] = getenv('POSTGRES_PASSWORD');
$AUTOCONFIG['dbhost'] = getenv('POSTGRES_HOST');
$autoconfig_enabled = true;
}
if ($autoconfig_enabled) {
$AUTOCONFIG["dbtableprefix"] = getenv('NEXTCLOUD_TABLE_PREFIX') ?: "";
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}
$AUTOCONFIG['directory'] = getenv('NEXTCLOUD_DATA_DIR') ?: '/var/www/html/data';
}

21
.config/redis.config.php Normal file
View File

@ -0,0 +1,21 @@
<?php
if (getenv('REDIS_HOST')) {
$CONFIG = array(
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'),
),
);
if (getenv('REDIS_HOST_PORT') !== false) {
$CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
} elseif (getenv('REDIS_HOST')[0] != '/') {
$CONFIG['redis']['port'] = 6379;
}
if (getenv('REDIS_HOST_USER') !== false) {
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
}
}

View File

@ -0,0 +1,35 @@
<?php
$overwriteHost = getenv('OVERWRITEHOST');
if ($overwriteHost) {
$CONFIG['overwritehost'] = $overwriteHost;
}
$overwriteProtocol = getenv('OVERWRITEPROTOCOL');
if ($overwriteProtocol) {
$CONFIG['overwriteprotocol'] = $overwriteProtocol;
}
$overwriteCliUrl = getenv('OVERWRITECLIURL');
if ($overwriteCliUrl) {
$CONFIG['overwrite.cli.url'] = $overwriteCliUrl;
}
$overwriteWebRoot = getenv('OVERWRITEWEBROOT');
if ($overwriteWebRoot) {
$CONFIG['overwritewebroot'] = $overwriteWebRoot;
}
$overwriteCondAddr = getenv('OVERWRITECONDADDR');
if ($overwriteCondAddr) {
$CONFIG['overwritecondaddr'] = $overwriteCondAddr;
}
$trustedProxies = getenv('TRUSTED_PROXIES');
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}
$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}

48
.config/s3.config.php Normal file
View File

@ -0,0 +1,48 @@
<?php
if (getenv('OBJECTSTORE_S3_BUCKET')) {
$use_ssl = getenv('OBJECTSTORE_S3_SSL');
$use_path = getenv('OBJECTSTORE_S3_USEPATH_STYLE');
$use_legacyauth = getenv('OBJECTSTORE_S3_LEGACYAUTH');
$autocreate = getenv('OBJECTSTORE_S3_AUTOCREATE');
$CONFIG = array(
'objectstore' => array(
'class' => '\OC\Files\ObjectStore\S3',
'arguments' => array(
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
'region' => getenv('OBJECTSTORE_S3_REGION') ?: '',
'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '',
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
'storageClass' => getenv('OBJECTSTORE_S3_STORAGE_CLASS') ?: '',
'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
'autocreate' => strtolower($autocreate) !== 'false',
'use_ssl' => strtolower($use_ssl) !== 'false',
// required for some non Amazon S3 implementations
'use_path_style' => $use_path == true && strtolower($use_path) !== 'false',
// required for older protocol versions
'legacy_auth' => $use_legacyauth == true && strtolower($use_legacyauth) !== 'false'
)
)
);
if (getenv('OBJECTSTORE_S3_KEY_FILE')) {
$CONFIG['objectstore']['arguments']['key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_KEY_FILE')));
} elseif (getenv('OBJECTSTORE_S3_KEY')) {
$CONFIG['objectstore']['arguments']['key'] = getenv('OBJECTSTORE_S3_KEY');
} else {
$CONFIG['objectstore']['arguments']['key'] = '';
}
if (getenv('OBJECTSTORE_S3_SECRET_FILE')) {
$CONFIG['objectstore']['arguments']['secret'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SECRET_FILE')));
} elseif (getenv('OBJECTSTORE_S3_SECRET')) {
$CONFIG['objectstore']['arguments']['secret'] = getenv('OBJECTSTORE_S3_SECRET');
} else {
$CONFIG['objectstore']['arguments']['secret'] = '';
}
if (getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE')) {
$CONFIG['objectstore']['arguments']['sse_c_key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE')));
} elseif (getenv('OBJECTSTORE_S3_SSE_C_KEY')) {
$CONFIG['objectstore']['arguments']['sse_c_key'] = getenv('OBJECTSTORE_S3_SSE_C_KEY');
}
}

22
.config/smtp.config.php Normal file
View File

@ -0,0 +1,22 @@
<?php
if (getenv('SMTP_HOST') && getenv('MAIL_FROM_ADDRESS') && getenv('MAIL_DOMAIN')) {
$CONFIG = array (
'mail_smtpmode' => 'smtp',
'mail_smtphost' => getenv('SMTP_HOST'),
'mail_smtpport' => getenv('SMTP_PORT') ?: (getenv('SMTP_SECURE') ? 465 : 25),
'mail_smtpsecure' => getenv('SMTP_SECURE') ?: '',
'mail_smtpauth' => getenv('SMTP_NAME') && (getenv('SMTP_PASSWORD') || getenv('SMTP_PASSWORD_FILE')),
'mail_smtpauthtype' => getenv('SMTP_AUTHTYPE') ?: 'LOGIN',
'mail_smtpname' => getenv('SMTP_NAME') ?: '',
'mail_from_address' => getenv('MAIL_FROM_ADDRESS'),
'mail_domain' => getenv('MAIL_DOMAIN'),
);
if (getenv('SMTP_PASSWORD_FILE')) {
$CONFIG['mail_smtppassword'] = trim(file_get_contents(getenv('SMTP_PASSWORD_FILE')));
} elseif (getenv('SMTP_PASSWORD')) {
$CONFIG['mail_smtppassword'] = getenv('SMTP_PASSWORD');
} else {
$CONFIG['mail_smtppassword'] = '';
}
}

31
.config/swift.config.php Normal file
View File

@ -0,0 +1,31 @@
<?php
if (getenv('OBJECTSTORE_SWIFT_URL')) {
$autocreate = getenv('OBJECTSTORE_SWIFT_AUTOCREATE');
$CONFIG = array(
'objectstore' => [
'class' => 'OC\\Files\\ObjectStore\\Swift',
'arguments' => [
'autocreate' => $autocreate == true && strtolower($autocreate) !== 'false',
'user' => [
'name' => getenv('OBJECTSTORE_SWIFT_USER_NAME'),
'password' => getenv('OBJECTSTORE_SWIFT_USER_PASSWORD'),
'domain' => [
'name' => (getenv('OBJECTSTORE_SWIFT_USER_DOMAIN')) ?: 'Default',
],
],
'scope' => [
'project' => [
'name' => getenv('OBJECTSTORE_SWIFT_PROJECT_NAME'),
'domain' => [
'name' => (getenv('OBJECTSTORE_SWIFT_PROJECT_DOMAIN')) ?: 'Default',
],
],
],
'serviceName' => (getenv('OBJECTSTORE_SWIFT_SERVICE_NAME')) ?: 'swift',
'region' => getenv('OBJECTSTORE_SWIFT_REGION'),
'url' => getenv('OBJECTSTORE_SWIFT_URL'),
'bucket' => getenv('OBJECTSTORE_SWIFT_CONTAINER_NAME'),
]
]
);
}

View File

@ -0,0 +1,4 @@
<?php
$CONFIG = array (
'upgrade.disable-web' => true,
);

View File

@ -1,7 +1,7 @@
# Examples section
In this subfolders are some examples how to use the docker image. There are two sections:
* [`dockerfiles`](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles)
* [`docker-compose`](https://github.com/nextcloud/docker/tree/master/.examples/docker-compose)
@ -13,65 +13,62 @@ The Dockerfiles use the default images as base image and build on top of it.
Example | Description
------- | -------
[cron](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/cron) | uses supervisor to run the cron job inside the container (so no extra container is needed).
[cron](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/cron) | uses supervisor to run the cron job inside the container (so no extra container is needed). This image runs `supervisord` to start nextcloud and cron as two seperate processes inside the container.
[imap](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/imap) | adds dependencies required to authenticate users via imap
[smb](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/smb) | adds dependencies required to use smb shares
[full](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/full) | adds dependencies for ALL optional packages and cron functionality via supervisor (as in the `cron` example Dockerfile).
### cron
NOTE: [this container must run as root or `cron.php` will not run](https://github.com/nextcloud/docker/issues/1899).
### full
The `full` Dockerfile example adds dependencies for all optional packages suggested by nextcloud that may be needed for some features (e.g. Video Preview Generation), as stated in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html).
The `full` Dockerfile example adds dependencies for all optional packages suggested by nextcloud that may be needed for some features (e.g. Video Preview Generation), as stated in the [Administration Manual](https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html).
NOTE: The Dockerfile does not install the LibreOffice package (line is commented), because it would increase the generated Image size by approximately 500 MB. In order to install it, simply uncomment the 13th line of the Dockerfile.</br>
NOTE: The Dockerfile does not install the LibreOffice package (line is commented), because it would increase the generated Image size by approximately 500 MB. In order to install it, simply uncomment the appropriate line in the Dockerfile.
NOTE: Per default, only previews for BMP, GIF, JPEG, MarkDown, MP3, PNG, TXT, and XBitmap Files are generated. The configuration of the preview generation can be done in config.php, as explained in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#previews)</br>
NOTE: Per default, only previews for BMP, GIF, JPEG, MarkDown, MP3, PNG, TXT, and XBitmap Files are generated. The configuration of the preview generation can be done in config.php, as explained in the [Administration Manual](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#previews)
NOTE: Nextcloud recommends [disabling preview generation](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/harden_server.html?highlight=enabledpreviewproviders#disable-preview-image-generation) for high security deployments, as preview generation opens your nextcloud instance to new possible attack vectors.</br>
NOTE: Nextcloud recommends [disabling preview generation](https://docs.nextcloud.com/server/latest/admin_manual/installation/harden_server.html#disable-preview-image-generation) for high security deployments, as preview generation opens your nextcloud instance to new possible attack vectors.
The required steps for each optional/recommended package that is not already in the Nextcloud image are listed here, so that the Dockerfile can easily be modified to only install the needed extra packages. Simply remove the steps for the unwanted packages from the Dockerfile.
The required steps for each optional/recommended package that is not already in the Nextcloud image are listed here, so that the Dockerfile can easily be modified to only install the needed extra packages. Simply remove the steps for the unwanted packages from the Dockerfile.
#### PHP Module bz2
`docker-php-ext-install bz2` </br>
#### PHP Module imagick
`apt install libmagickwand-dev` </br>
`pecl install imagick` </br>
`docker-php-ext-enable imagick` </br>
`docker-php-ext-install bz2`
#### PHP Module imap
`apt install libc-client-dev libkrb5-dev` </br>
`docker-php-ext-configure imap --with-kerberos --with-imap-ssl` </br>
`docker-php-ext-install imap` </br>
`apt install libc-client-dev libkrb5-dev`
`docker-php-ext-configure imap --with-kerberos --with-imap-ssl`
`docker-php-ext-install imap`
#### PHP Module gmp
`apt install libgmp3-dev` </br>
`docker-php-ext-install gmp` </br>
`apt install libgmp3-dev`
`docker-php-ext-install gmp`
#### PHP Module smbclient
`apt install smbclient libsmbclient-dev` </br>
`pecl install smbclient` </br>
`docker-php-ext-enable smbclient` </br>
`apt install smbclient libsmbclient-dev`
`pecl install smbclient`
`docker-php-ext-enable smbclient`
#### ffmpeg
`echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list` </br>
`apt install ffmpeg` </br>
`apt install ffmpeg`
#### LibreOffice
`apt install LibreOffice` </br>
`apt install libreoffice`
#### CRON via supervisor
`apt install supervisor` </br>
`mkdir /var/log/supervisord /var/run/supervisord` </br>
The following Dockerfile commands are also necessary for a sucessfull cron installation: </br>
`COPY supervisord.conf /etc/supervisor/supervisord.conf` </br>
`CMD ["/usr/bin/supervisord"]` </br>
`apt install supervisor`
`mkdir /var/log/supervisord /var/run/supervisord`
The following Dockerfile commands are also necessary for a sucessfull cron installation:
`COPY supervisord.conf /etc/supervisor/supervisord.conf`
`CMD ["/usr/bin/supervisord"]`
## docker-compose
In `docker-compose` additional services are bundled to create a complete nextcloud installation. The examples are designed to run out-of-the-box.
Before running the examples you have to modify the `db.env` and `docker-compose.yml` file and fill in your custom information.
Before running the examples you have to modify the `db.env` and `compose.yaml` file and fill in your custom information.
The docker-compose examples make heavily use of dereived Dockerfiles to add configuration files into the containers. This way they should also work on remote docker systems as _Docker for Windows_. When running docker-compose on the same host as the docker daemon, another possibility would be to simply mount the files in the volumes section in the `docker-compose.yml` file.
The docker compose examples make heavily use of derived Dockerfiles to add configuration files into the containers. This way they should also work on remote docker systems as _Docker for Windows_. When running docker compose on the same host as the docker daemon, another possibility would be to simply mount the files in the volumes section in the `compose.yaml` file.
### insecure
@ -81,10 +78,10 @@ For this use one of the [with-nginx-proxy](#with-nginx-proxy) examples.
To use this example complete the following steps:
1. if you use mariadb or mysql choose a root password for the database in `docker-compose.yml` behind `MYSQL_ROOT_PASSWORD=`
1. if you use mariadb or mysql choose a root password for the database in `compose.yaml` behind `MYSQL_ROOT_PASSWORD=`
2. choose a password for the database user nextcloud in `db.env` behind `MYSQL_PASSWORD=` (for mariadb/mysql) or `POSTGRES_PASSWORD=` (for postgres)
3. run `docker-compose build --pull` to pull the most recent base images and build the custom dockerfiles
4. start nextcloud with `docker-compose up -d`
3. run `docker compose build --pull` to pull the most recent base images and build the custom dockerfiles
4. start nextcloud with `docker compose up -d`
If you want to update your installation to a newer version of nextcloud, repeat the steps 3 and 4.
@ -92,18 +89,21 @@ If you want to update your installation to a newer version of nextcloud, repeat
### with-nginx-proxy
The nginx proxy adds a proxy layer between nextcloud and the internet. The proxy is designed to serve multiple sites on the same host machine.
The advantage in adding this layer is the ability to add a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling.
This combination of the [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) and [jrcs/docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers creates a fully automated https encryption of the nextcloud installation without worrying about certificate generation, validation or renewal.
This combination of the [nginxproxy/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy) and [nginxproxy/acme-companion](https://github.com/nginx-proxy/acme-companion) containers creates a fully automated https encryption of the nextcloud installation without worrying about certificate generation, validation or renewal.
**This setup only works with a valid domain name on a server that is reachable from the internet.**
To use this example complete the following steps:
1. open `docker-compose.yml`
1. open `compose.yaml`
1. insert your nextcloud domain behind `VIRTUAL_HOST=`and `LETSENCRYPT_HOST=`
2. enter a valid email behind `LETSENCRYPT_EMAIL=`
3. if you use mariadb or mysql choose a root password for the database behind `MYSQL_ROOT_PASSWORD=`
2. choose a password for the database user nextcloud in `db.env` behind `MYSQL_PASSWORD=` (for mariadb/mysql) or `POSTGRES_PASSWORD=` (for postgres)
3. run `docker-compose build --pull` to pull the most recent base images and build the custom dockerfiles
4. start nextcloud with `docker-compose up -d`
3. run `docker compose build --pull` to pull the most recent base images and build the custom dockerfiles
4. start nextcloud with `docker compose up -d`
If you want to update your installation to a newer version of nextcloud, repeat the steps 3 and 4.

View File

@ -1,3 +0,0 @@
FROM nextcloud:apache
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -1,8 +0,0 @@
<?php
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'redis',
'port' => 6379,
),
);

View File

@ -1,3 +0,0 @@
MYSQL_PASSWORD=
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud

View File

@ -1,46 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
redis:
image: redis
restart: always
app:
build: ./app
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
- redis
cron:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
nextcloud:

View File

@ -1,3 +0,0 @@
FROM nextcloud:fpm
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -1,8 +0,0 @@
<?php
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'redis',
'port' => 6379,
),
);

View File

@ -1,3 +0,0 @@
MYSQL_PASSWORD=
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud

View File

@ -1,54 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
redis:
image: redis
restart: always
app:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
- redis
web:
build: ./web
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
depends_on:
- app
cron:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
nextcloud:

View File

@ -1,3 +0,0 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -1,154 +0,0 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
upstream php-handler {
server app:9000;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
}
}
}

View File

@ -0,0 +1,54 @@
services:
# Note: MariaDB is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/mariadb
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: mariadb:lts
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
environment:
- MYSQL_ROOT_PASSWORD=
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:apache
restart: always
ports:
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
nextcloud:

View File

@ -1,31 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
app:
image: nextcloud:apache
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
volumes:
db:
nextcloud:

View File

@ -0,0 +1,67 @@
services:
# Note: MariaDB is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/mariadb
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: mariadb:lts
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
environment:
- MYSQL_ROOT_PASSWORD=
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
# Note: Nginx is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/nginx/
web:
image: nginx:alpine-slim
restart: always
ports:
- 127.0.0.1:8080:80
volumes:
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
- nextcloud:/var/www/html:z,ro
depends_on:
- app
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
nextcloud:

View File

@ -1,39 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
app:
image: nextcloud:fpm
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
web:
build: ./web
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
depends_on:
- app
volumes:
db:
nextcloud:

View File

@ -1,3 +0,0 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -1,5 +1,4 @@
user www-data;
worker_processes 1;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
@ -11,8 +10,11 @@ events {
http {
include /etc/nginx/mime.types;
include mime.types;
default_type application/octet-stream;
types {
text/javascript mjs;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
@ -23,132 +25,178 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
"" "";
default ", immutable";
}
#gzip on;
resolver 127.0.0.11 valid=2s;
upstream php-handler {
server app:9000;
zone backends 64k;
server app:9000 resolve;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# HSTS settings
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
# set max upload size and increase upload timeout:
client_max_body_size 512M;
client_body_timeout 300s;
fastcgi_buffers 64 4K;
# The settings allows you to optimize the HTTP2 bandwidth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tuning hints
client_body_buffer_size 512k;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
# Pagespeed is not supported by Nextcloud, so if your server is built
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Path to the root of your installation
root /var/www/html;
# Specify how to handle directories -- specifying `/index.php$request_uri`
# here as the fallback means that Nginx always exhibits the desired behaviour
# when a client requests a path that corresponds to a directory that exists
# on the server. In particular, if that directory contains an index.php file,
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
return 302 /remote.php/webdav/$is_args$args;
}
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
# Let Nextcloud's API for `/.well-known` URIs handle all other
# requests by passing them to the front-end controller.
return 301 /index.php$request_uri;
}
# Rules borrowed from `.htaccess` to hide certain paths from clients
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
# which handle static assets (as seen below). If this block is not declared first,
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
# to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_param PATH_INFO $path_info;
#fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_max_temp_file_size 0;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
# Serve static files
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463$asset_immutable";
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
access_log off; # Optional: Don't log access to assets
location ~ \.wasm$ {
default_type application/wasm;
}
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;
}
location / {
try_files $uri $uri/ /index.php$request_uri;
}
}
}

View File

@ -0,0 +1,49 @@
services:
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/postgres
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data:Z
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:apache
restart: always
ports:
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- POSTGRES_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
nextcloud:

View File

@ -1,28 +0,0 @@
version: '3'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
env_file:
- db.env
app:
image: nextcloud:apache
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
env_file:
- db.env
depends_on:
- db
volumes:
db:
nextcloud:

View File

@ -0,0 +1,62 @@
services:
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/postgres
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data:Z
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- POSTGRES_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
# Note: Nginx is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/nginx/
web:
image: nginx:alpine-slim
restart: always
ports:
- 127.0.0.1:8080:80
volumes:
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
- nextcloud:/var/www/html:z,ro
depends_on:
- app
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db:
nextcloud:

View File

@ -1,36 +0,0 @@
version: '3'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
env_file:
- db.env
app:
image: nextcloud:fpm
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
env_file:
- db.env
depends_on:
- db
web:
build: ./web
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
depends_on:
- app
volumes:
db:
nextcloud:

View File

@ -1,3 +0,0 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -1,5 +1,4 @@
user www-data;
worker_processes 1;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
@ -11,8 +10,11 @@ events {
http {
include /etc/nginx/mime.types;
include mime.types;
default_type application/octet-stream;
types {
text/javascript mjs;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
@ -23,132 +25,178 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
"" "";
default ", immutable";
}
#gzip on;
resolver 127.0.0.11 valid=2s;
upstream php-handler {
server app:9000;
zone backends 64k;
server app:9000 resolve;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# HSTS settings
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
# set max upload size and increase upload timeout:
client_max_body_size 512M;
client_body_timeout 300s;
fastcgi_buffers 64 4K;
# The settings allows you to optimize the HTTP2 bandwidth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tuning hints
client_body_buffer_size 512k;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
# Pagespeed is not supported by Nextcloud, so if your server is built
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Path to the root of your installation
root /var/www/html;
# Specify how to handle directories -- specifying `/index.php$request_uri`
# here as the fallback means that Nginx always exhibits the desired behaviour
# when a client requests a path that corresponds to a directory that exists
# on the server. In particular, if that directory contains an index.php file,
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
return 302 /remote.php/webdav/$is_args$args;
}
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
# Let Nextcloud's API for `/.well-known` URIs handle all other
# requests by passing them to the front-end controller.
return 301 /index.php$request_uri;
}
# Rules borrowed from `.htaccess` to hide certain paths from clients
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
# which handle static assets (as seen below). If this block is not declared first,
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
# to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_param PATH_INFO $path_info;
#fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_max_temp_file_size 0;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
# Serve static files
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463$asset_immutable";
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
access_log off; # Optional: Don't log access to assets
location ~ \.wasm$ {
default_type application/wasm;
}
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;
}
location / {
try_files $uri $uri/ /index.php$request_uri;
}
}
}

View File

@ -1,4 +0,0 @@
MYSQL_PASSWORD=
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud
MYSQL_ROOT_PASSWORD=

View File

@ -1,79 +0,0 @@
version: '3'
services:
db:
image: mariadb
restart: unless-stopped
volumes:
- db:/var/lib/mysql
env_file:
- db.env
app:
image: nextcloud:fpm
restart: unless-stopped
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
web:
image: nginx
restart: unless-stopped
volumes:
- nextcloud:/var/www/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro
environment:
- VIRTUAL_HOST=servhostname.local
depends_on:
- app
- proxy
networks:
- proxy-tier
- default
proxy:
image: jwilder/nginx-proxy:alpine
restart: unless-stopped
ports:
- 80:80
- 443:443
environment:
- MAX_UPLOAD_SIZE=10GB
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
depends_on:
- omgwtfssl
omgwtfssl:
image: paulczar/omgwtfssl
restart: "no"
volumes:
- certs:/certs
environment:
- SSL_SUBJECT=servhostname.local
- CA_SUBJECT=my@example.com
- SSL_KEY=/certs/servhostname.local.key
- SSL_CSR=/certs/servhostname.local.csr
- SSL_CERT=/certs/servhostname.local.crt
networks:
- proxy-tier
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,159 +0,0 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Real-IP;
#gzip on;
upstream php-handler {
server app:9000;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
}
}
}

View File

@ -1,3 +0,0 @@
FROM nextcloud:apache
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -1,8 +0,0 @@
<?php
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'redis',
'port' => 6379,
),
);

View File

@ -1,3 +0,0 @@
MYSQL_PASSWORD=
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud

View File

@ -1,85 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
redis:
image: redis
restart: always
app:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
- redis
networks:
- proxy-tier
- default
cron:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,3 +0,0 @@
FROM jwilder/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -1,3 +0,0 @@
FROM nextcloud:fpm
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php

View File

@ -1,8 +0,0 @@
<?php
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'redis',
'port' => 6379,
),
);

View File

@ -1,3 +0,0 @@
MYSQL_PASSWORD=
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud

View File

@ -1,94 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
redis:
image: redis
restart: always
app:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
- redis
web:
build: ./web
restart: always
volumes:
- nextcloud:/var/www/html:ro
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
depends_on:
- app
networks:
- proxy-tier
- default
cron:
build: ./app
restart: always
volumes:
- nextcloud:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,3 +0,0 @@
FROM jwilder/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -1,3 +0,0 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -1,159 +0,0 @@
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Real-IP;
#gzip on;
upstream php-handler {
server app:9000;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
}
}
}

View File

@ -0,0 +1,120 @@
services:
# Note: MariaDB is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/mariadb
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: mariadb:lts
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
environment:
- MYSQL_ROOT_PASSWORD=
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
- MYSQL_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
- proxy
networks:
- proxy-tier
- default
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
# Note: Nginx-proxy is an external service. You can find more information about the configuration here:
# Warning: Do not use :latest tags of nginx-proxy unless absolutely sure about the consequences.
# https://hub.docker.com/r/nginxproxy/nginx-proxy
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
volumes:
- certs:/etc/nginx/certs:ro,z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- dhparam:/etc/nginx/dhparam:z
- /var/run/docker.sock:/tmp/docker.sock:z,ro
networks:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
environment:
- DEFAULT_EMAIL=
volumes:
- certs:/etc/nginx/certs:z
- acme:/etc/acme.sh:z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/var/run/docker.sock:z,ro
networks:
- proxy-tier
depends_on:
- proxy
# self signed,outdated
# omgwtfssl:
# image: paulczar/omgwtfssl
# restart: "no"
# volumes:
# - certs:/certs
# environment:
# - SSL_SUBJECT=servhostname.local
# - CA_SUBJECT=my@example.com
# - SSL_KEY=/certs/servhostname.local.key
# - SSL_CSR=/certs/servhostname.local.csr
# - SSL_CERT=/certs/servhostname.local.crt
# networks:
# - proxy-tier
volumes:
db:
nextcloud:
certs:
acme:
vhost.d:
html:
dhparam:
networks:
proxy-tier:

View File

@ -1,70 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
app:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
networks:
- proxy-tier
- default
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:1.7-alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -1 +1,2 @@
client_max_body_size 10G;
proxy_request_buffering off;

View File

@ -0,0 +1,132 @@
services:
# Note: MariaDB is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/mariadb
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: mariadb:lts
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
environment:
- MYSQL_ROOT_PASSWORD=
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
- proxy
# Note: Nginx is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/nginx/
web:
image: nginx:alpine-slim
restart: always
volumes:
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
- nextcloud:/var/www/html:z,ro
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
depends_on:
- app
networks:
- proxy-tier
- default
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
# Note: Nginx-proxy is an external service. You can find more information about the configuration here:
# Warning: Do not use :latest tags of nginx-proxy unless absolutely sure about the consequences.
# https://hub.docker.com/r/nginxproxy/nginx-proxy
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
volumes:
- certs:/etc/nginx/certs:z,ro
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/tmp/docker.sock:z,ro
networks:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
environment:
- DEFAULT_EMAIL=
volumes:
- certs:/etc/nginx/certs:z
- acme:/etc/acme.sh:z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/var/run/docker.sock:z,ro
networks:
- proxy-tier
depends_on:
- proxy
# self signed, outdated.
# omgwtfssl:
# image: paulczar/omgwtfssl
# restart: "no"
# volumes:
# - certs:/certs
# environment:
# - SSL_SUBJECT=servhostname.local
# - CA_SUBJECT=my@example.com
# - SSL_KEY=/certs/servhostname.local.key
# - SSL_CSR=/certs/servhostname.local.csr
# - SSL_CERT=/certs/servhostname.local.crt
# networks:
# - proxy-tier
volumes:
db:
nextcloud:
certs:
acme:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,79 +0,0 @@
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- db.env
app:
image: nextcloud:fpm
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- db.env
depends_on:
- db
web:
build: ./web
restart: always
volumes:
- nextcloud:/var/www/html:ro
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
depends_on:
- app
networks:
- proxy-tier
- default
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:1.7-alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -1 +1,2 @@
client_max_body_size 10G;
proxy_request_buffering off;

View File

@ -1,3 +0,0 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -1,5 +1,4 @@
user www-data;
worker_processes 1;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
@ -11,8 +10,11 @@ events {
http {
include /etc/nginx/mime.types;
include mime.types;
default_type application/octet-stream;
types {
text/javascript mjs;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
@ -23,137 +25,178 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Real-IP;
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
"" "";
default ", immutable";
}
#gzip on;
resolver 127.0.0.11 valid=2s;
upstream php-handler {
server app:9000;
zone backends 64k;
server app:9000 resolve;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# HSTS settings
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
# set max upload size and increase upload timeout:
client_max_body_size 512M;
client_body_timeout 300s;
fastcgi_buffers 64 4K;
# The settings allows you to optimize the HTTP2 bandwidth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tuning hints
client_body_buffer_size 512k;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
# Pagespeed is not supported by Nextcloud, so if your server is built
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Path to the root of your installation
root /var/www/html;
# Specify how to handle directories -- specifying `/index.php$request_uri`
# here as the fallback means that Nginx always exhibits the desired behaviour
# when a client requests a path that corresponds to a directory that exists
# on the server. In particular, if that directory contains an index.php file,
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
return 302 /remote.php/webdav/$is_args$args;
}
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
# Let Nextcloud's API for `/.well-known` URIs handle all other
# requests by passing them to the front-end controller.
return 301 /index.php$request_uri;
}
# Rules borrowed from `.htaccess` to hide certain paths from clients
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
# which handle static assets (as seen below). If this block is not declared first,
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
# to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_param PATH_INFO $path_info;
fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_max_temp_file_size 0;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
# Serve static files
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463$asset_immutable";
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
access_log off; # Optional: Don't log access to assets
location ~ \.wasm$ {
default_type application/wasm;
}
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;
}
location / {
try_files $uri $uri/ /index.php$request_uri;
}
}
}

View File

@ -0,0 +1,111 @@
services:
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/postgres
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data:Z
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
- POSTGRES_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
- proxy
networks:
- proxy-tier
- default
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
# Note: Nginx-proxy is an external service. You can find more information about the configuration here:
# Warning: Do not use :latest tags of nginx-proxy unless absolutely sure about the consequences.
# https://hub.docker.com/r/nginxproxy/nginx-proxy
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
volumes:
- certs:/etc/nginx/certs:ro,z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/tmp/docker.sock:z,ro
networks:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
volumes:
- certs:/etc/nginx/certs:z
- acme:/etc/acme.sh:z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/var/run/docker.sock:z,ro
networks:
- proxy-tier
depends_on:
- proxy
# self signed, outdated
# omgwtfssl:
# image: paulczar/omgwtfssl
# restart: "no"
# volumes:
# - certs:/certs
# environment:
# - SSL_SUBJECT=servhostname.local
# - CA_SUBJECT=my@example.com
# - SSL_KEY=/certs/servhostname.local.key
# - SSL_CSR=/certs/servhostname.local.csr
# - SSL_CERT=/certs/servhostname.local.crt
# networks:
# - proxy-tier
volumes:
db:
nextcloud:
certs:
acme:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,67 +0,0 @@
version: '3'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
env_file:
- db.env
app:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
- POSTGRES_HOST=db
env_file:
- db.env
depends_on:
- db
networks:
- proxy-tier
- default
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:1.7-alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -1 +1,2 @@
client_max_body_size 10G;
proxy_request_buffering off;

View File

@ -0,0 +1,127 @@
services:
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/postgres
db:
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
image: postgres:alpine
restart: always
volumes:
- db:/var/lib/postgresql/data:Z
env_file:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
environment:
- POSTGRES_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
- proxy
# Note: Nginx is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/nginx/
web:
image: nginx:alpine-slim
restart: always
volumes:
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
- nextcloud:/var/www/html:z,ro
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
depends_on:
- app
networks:
- proxy-tier
- default
cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html:z
# NOTE: The `volumes` config of the `cron` and `app` containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis
# Note: Nginx-proxy is an external service. You can find more information about the configuration here:
# Warning: Do not use :latest tags of nginx-proxy unless absolutely sure about the consequences.
# https://hub.docker.com/r/nginxproxy/nginx-proxy
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
volumes:
- certs:/etc/nginx/certs:z,ro
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/tmp/docker.sock:z,ro
networks:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
volumes:
- certs:/etc/nginx/certs:z
- acme:/etc/acme.sh:z
- vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /var/run/docker.sock:/var/run/docker.sock:z,ro
environment:
- DEFAULT_EMAIL=
networks:
- proxy-tier
depends_on:
- proxy
# self signed, outdated
# omgwtfssl:
# image: paulczar/omgwtfssl
# restart: "no"
# volumes:
# - certs:/certs
# environment:
# - SSL_SUBJECT=servhostname.local
# - CA_SUBJECT=my@example.com
# - SSL_KEY=/certs/servhostname.local.key
# - SSL_CSR=/certs/servhostname.local.csr
# - SSL_CERT=/certs/servhostname.local.crt
# networks:
# - proxy-tier
volumes:
db:
nextcloud:
certs:
acme:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,76 +0,0 @@
version: '3'
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
env_file:
- db.env
app:
image: nextcloud:fpm
restart: always
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
env_file:
- db.env
depends_on:
- db
web:
build: ./web
restart: always
volumes:
- nextcloud:/var/www/html:ro
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
depends_on:
- app
networks:
- proxy-tier
- default
proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
db:
nextcloud:
certs:
vhost.d:
html:
networks:
proxy-tier:

View File

@ -1,3 +1,3 @@
FROM jwilder/nginx-proxy:alpine
FROM nginxproxy/nginx-proxy:1.7-alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

View File

@ -1 +1,2 @@
client_max_body_size 10G;
proxy_request_buffering off;

View File

@ -1,3 +0,0 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -1,5 +1,4 @@
user www-data;
worker_processes 1;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
@ -11,8 +10,11 @@ events {
http {
include /etc/nginx/mime.types;
include mime.types;
default_type application/octet-stream;
types {
text/javascript mjs;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
@ -23,137 +25,178 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Real-IP;
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
"" "";
default ", immutable";
}
#gzip on;
resolver 127.0.0.11 valid=2s;
upstream php-handler {
server app:9000;
zone backends 64k;
server app:9000 resolve;
}
server {
listen 80;
# Add headers to serve security related headers
# Before enabling Strict-Transport-Security headers please read into this
# topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# HSTS settings
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
root /var/www/html;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# set max upload size
client_max_body_size 10G;
# set max upload size and increase upload timeout:
client_max_body_size 512M;
client_body_timeout 300s;
fastcgi_buffers 64 4K;
# The settings allows you to optimize the HTTP2 bandwidth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tuning hints
client_body_buffer_size 512k;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
# Pagespeed is not supported by Nextcloud, so if your server is built
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;
location / {
rewrite ^ /index.php$uri;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Path to the root of your installation
root /var/www/html;
# Specify how to handle directories -- specifying `/index.php$request_uri`
# here as the fallback means that Nginx always exhibits the desired behaviour
# when a client requests a path that corresponds to a directory that exists
# on the server. In particular, if that directory contains an index.php file,
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
return 302 /remote.php/webdav/$is_args$args;
}
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
# Let Nextcloud's API for `/.well-known` URIs handle all other
# requests by passing them to the front-end controller.
return 301 /index.php$request_uri;
}
# Rules borrowed from `.htaccess` to hide certain paths from clients
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
# which handle static assets (as seen below). If this block is not declared first,
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
# to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_param PATH_INFO $path_info;
fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_max_temp_file_size 0;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
# Serve static files
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463$asset_immutable";
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
access_log off; # Optional: Don't log access to assets
location ~ \.wasm$ {
default_type application/wasm;
}
}
# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended to
# have those duplicated to the ones above)
# Before enabling Strict-Transport-Security headers please read into
# this topic first.
# add_header Strict-Transport-Security "max-age=15768000;
# includeSubDomains; preload;";
#
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
# Optional: Don't log access to assets
access_log off;
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
# Optional: Don't log access to other assets
access_log off;
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;
}
location / {
try_files $uri $uri/ /index.php$request_uri;
}
}
}

View File

@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /etc/supervisor/supervisord.conf
COPY supervisord.conf /
CMD ["/usr/bin/supervisord"]
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View File

@ -0,0 +1,10 @@
FROM nextcloud:fpm-alpine
RUN apk add --no-cache supervisor \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View File

@ -0,0 +1,22 @@
[supervisord]
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error
[program:php-fpm]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=php-fpm
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh

View File

@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /etc/supervisor/supervisord.conf
COPY supervisord.conf /
CMD ["/usr/bin/supervisord"]
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View File

@ -1,24 +1,60 @@
FROM nextcloud:apache
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
&& apt-get update && apt-get install -y \
supervisor \
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
ffmpeg \
libmagickwand-dev \
libgmp3-dev \
ghostscript \
libmagickcore-6.q16-6-extra \
procps \
smbclient \
supervisor \
# libreoffice \
; \
rm -rf /var/lib/apt/lists/*
RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libbz2-dev \
libc-client-dev \
libkrb5-dev \
smbclient \
libsmbclient-dev \
# LibreOffice \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \
&& docker-php-ext-install bz2 gmp imap \
&& pecl install imagick smbclient \
&& docker-php-ext-enable imagick smbclient \
&& mkdir /var/log/supervisord /var/run/supervisord
; \
\
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
docker-php-ext-install \
bz2 \
imap \
; \
pecl install smbclient; \
docker-php-ext-enable smbclient; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*
COPY supervisord.conf /etc/supervisor/supervisord.conf
RUN mkdir -p \
/var/log/supervisord \
/var/run/supervisord \
;
CMD ["/usr/bin/supervisord"]
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View File

@ -0,0 +1,51 @@
FROM nextcloud:fpm-alpine
RUN set -ex; \
\
apk add --no-cache \
ffmpeg \
imagemagick \
procps \
samba-client \
supervisor \
# libreoffice \
;
RUN set -ex; \
\
apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
imap-dev \
krb5-dev \
openssl-dev \
samba-dev \
bzip2-dev \
; \
\
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
docker-php-ext-install \
bz2 \
imap \
; \
pecl install smbclient; \
docker-php-ext-enable smbclient; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
apk del .build-deps
RUN mkdir -p \
/var/log/supervisord \
/var/run/supervisord \
;
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View File

@ -0,0 +1,22 @@
[supervisord]
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error
[program:php-fpm]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=php-fpm
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh

View File

@ -1,24 +1,60 @@
FROM nextcloud:fpm
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
&& apt-get update && apt-get install -y \
supervisor \
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
ffmpeg \
libmagickwand-dev \
libgmp3-dev \
ghostscript \
libmagickcore-6.q16-6-extra \
procps \
smbclient \
supervisor \
# libreoffice \
; \
rm -rf /var/lib/apt/lists/*
RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libbz2-dev \
libc-client-dev \
libkrb5-dev \
smbclient \
libsmbclient-dev \
# LibreOffice \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \
&& docker-php-ext-install bz2 gmp imap \
&& pecl install imagick smbclient \
&& docker-php-ext-enable imagick smbclient \
&& mkdir /var/log/supervisord /var/run/supervisord
; \
\
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
docker-php-ext-install \
bz2 \
imap \
; \
pecl install smbclient; \
docker-php-ext-enable smbclient; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*
COPY supervisord.conf /etc/supervisor/supervisord.conf
RUN mkdir -p \
/var/log/supervisord \
/var/run/supervisord \
;
CMD ["/usr/bin/supervisord"]
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View File

@ -1,7 +1,28 @@
FROM nextcloud:apache
RUN apt-get update \
&& apt-get install -y libc-client-dev libkrb5-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap
RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libc-client-dev \
libkrb5-dev \
; \
\
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
docker-php-ext-install imap; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,22 @@
FROM nextcloud:fpm-alpine
RUN set -ex; \
\
apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
imap-dev \
krb5-dev \
openssl-dev \
; \
\
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
docker-php-ext-install imap; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
apk del .build-deps

View File

@ -1,7 +1,28 @@
FROM nextcloud:fpm
RUN apt-get update \
&& apt-get install -y libc-client-dev libkrb5-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap
RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libc-client-dev \
libkrb5-dev \
; \
\
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
docker-php-ext-install imap; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
| xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*

View File

@ -1,3 +1,3 @@
FROM nextcloud:apache
RUN apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y procps smbclient && rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,3 @@
FROM nextcloud:fpm-alpine
RUN apk add --no-cache procps samba-client

View File

@ -1,3 +1,3 @@
FROM nextcloud:fpm
RUN apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y procps smbclient && rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,15 @@
---
name: 🐛 Report a bug in the image
about: Create a report to help us improve the image
labels: "bug, 0. Needs triage"
---
<!--
Thanks for reporting issues back to Nextcloud!
When reporting problems, please include your *complete* Docker Compose file (or run commands) and your Nextcloud Server config (e.g. `occ config:list system`). Incomplete reports cause extra work for all parties involved and delay resolution.
Note: This is the issue tracker of the official Nextcloud **Docker image**, please do NOT use this to report issues with Docker or Nextcloud Server itself. You can find help debugging your system on our forums: https://help.nextcloud.com/ or https://forums.docker.com/.
To learn more about official images, see https://github.com/docker-library/faq
-->

View File

@ -0,0 +1,15 @@
---
name: 🚀 Suggest an enhancement
about: Suggest an idea for improving the image
labels: "enhancement, 0. Needs triage"
---
<!--
Thanks for suggesting an idea to improve the Nextcloud Docker image!
This image is maintained by volunteers so if you're able to assist with implementing your idea, please mention that (and consider submitting a PR as well).
Note: This is the issue tracker of the official Nextcloud **Docker image**, please do NOT use this to suggestion enhancements in Nextcloud Server itself.
To learn more about official images, see https://github.com/docker-library/faq
-->

22
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,22 @@
contact_links:
- name: ❓ Ask a question
url: https://help.nextcloud.com/
about: Ask a question, get assistance or start a discussion regarding Nextcloud and/or this image
- name: Documentation - Nextcloud Server
url: https://docs.nextcloud.com/
about: Official documentation for Nextcloud Server
- name: Documentation - Nextcloud Docker Image
url: https://github.com/nextcloud/docker/blob/master/README.md
about: Official documentation for this image
- name: 🐳 Documentation - Docker
url: https://docs.docker.com/
about: Official documentation for Docker (installing, configuring, troubleshooting)
- name: 🐳 Docker Forum
url: https://forums.docker.com/
about: Ask a question, get assistance or start a discussion regarding Docker
- name: 🐛 Bug Report - Nextcloud Server
url: https://github.com/nextcloud/server/issues/new/choose
about: Report a bug in Nextcloud Server
- name: Enhancement Idea - Nextcloud Server
url: https://github.com/nextcloud/server/issues/new/choose
about: Suggest an enhancement idea for Nextcloud Server

65
.github/workflows/images.yml vendored Normal file
View File

@ -0,0 +1,65 @@
name: Images
on:
pull_request:
workflow_run:
workflows: ["update.sh"]
branches: [master]
types:
- completed
defaults:
run:
shell: 'bash -Eeuo pipefail -x {0}'
jobs:
init:
name: Generate Jobs
runs-on: ubuntu-latest
outputs:
strategy: ${{ steps.generate-jobs.outputs.strategy }}
steps:
- uses: actions/checkout@v4
- uses: docker-library/bashbrew@HEAD
- id: generate-jobs
name: Generate Jobs
run: |
strategy="$(GITHUB_REPOSITORY=nextcloud "$BASHBREW_SCRIPTS/github-actions/generate.sh")"
strategy="$("$BASHBREW_SCRIPTS/github-actions/munge-i386.sh" -c <<<"$strategy")"
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
jq . <<<"$strategy" # sanity check / debugging aid
test:
needs: init
strategy: ${{ fromJson(needs.init.outputs.strategy) }}
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Prepare Environment
run: ${{ matrix.runs.prepare }}
- name: Run update.sh script
run: ./update.sh
- name: Pull Dependencies
run: ${{ matrix.runs.pull }}
- name: Build ${{ matrix.name }}
run: ${{ matrix.runs.build }}
- name: History ${{ matrix.name }}
run: ${{ matrix.runs.history }}
- name: Test ${{ matrix.name }}
run: ${{ matrix.runs.test }}
- name: '"docker images"'
run: ${{ matrix.runs.images }}
summary:
runs-on: ubuntu-latest
needs: test
if: always()
name: images-test-summary
steps:
- name: Summary status
run: if ${{ needs.test.result != 'success' && needs.test.result != 'skipped' }}; then exit 1; fi

29
.github/workflows/update-sh.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: update.sh
on:
push:
branches:
- master
schedule:
- cron: '15 18 * * *'
workflow_dispatch:
jobs:
run_update_sh:
name: Run update.sh script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run update.sh script
run: ./update.sh
- name: Commit files
run: |
git config --local user.email "workflow@github.com"
git config --local user.name "GitHub Workflow"
git add -A
git commit -m "Runs update.sh" || echo "Nothing to update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View File

@ -1,75 +0,0 @@
dist: trusty
sudo: required
services: docker
language: bash
branches:
only:
- master
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}"
- if [[ "$ARCH" == 'i386' ]]; then sed -i -e 's/FROM php/FROM i386\/php/g' "${VERSION}/${VARIANT}/Dockerfile"; fi
script:
- travis_retry docker build -t "$image" "${VERSION}/${VARIANT}"
- ~/official-images/test/run.sh "$image"
- .travis/test-example-dockerfiles.sh "$image"
after_script:
- docker images
jobs:
include:
- &test-scripts
stage: test scripts
env: SCRIPT=update.sh
sudo: false
services: []
install: skip
before_script: skip
script:
- hash_before=$(git write-tree)
- ./update.sh
- bash -c "[[ $hash_before = $(git add -A && git write-tree) ]]"
after_script: skip
- <<: *test-scripts
env: SCRIPT=generate-stackbrew-library.sh
install:
- wget -O "$HOME/bin/bashbrew" https://doi-janky.infosiftr.net/job/bashbrew/lastSuccessfulBuild/artifact/bin/bashbrew-amd64
- chmod +x "$HOME/bin/bashbrew"
script:
- ./generate-stackbrew-library.sh
- stage: test images
env: VERSION=12.0-rc VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=12.0-rc VARIANT=fpm-alpine ARCH=i386
- env: VERSION=12.0-rc VARIANT=fpm ARCH=amd64
- env: VERSION=12.0-rc VARIANT=fpm ARCH=i386
- env: VERSION=12.0-rc VARIANT=apache ARCH=amd64
- env: VERSION=12.0-rc VARIANT=apache ARCH=i386
- env: VERSION=13.0-rc VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=13.0-rc VARIANT=fpm-alpine ARCH=i386
- env: VERSION=13.0-rc VARIANT=fpm ARCH=amd64
- env: VERSION=13.0-rc VARIANT=fpm ARCH=i386
- env: VERSION=13.0-rc VARIANT=apache ARCH=amd64
- env: VERSION=13.0-rc VARIANT=apache ARCH=i386
- env: VERSION=12.0 VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=12.0 VARIANT=fpm-alpine ARCH=i386
- env: VERSION=12.0 VARIANT=fpm ARCH=amd64
- env: VERSION=12.0 VARIANT=fpm ARCH=i386
- env: VERSION=12.0 VARIANT=apache ARCH=amd64
- env: VERSION=12.0 VARIANT=apache ARCH=i386
- env: VERSION=13.0 VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=13.0 VARIANT=fpm-alpine ARCH=i386
- env: VERSION=13.0 VARIANT=fpm ARCH=amd64
- env: VERSION=13.0 VARIANT=fpm ARCH=i386
- env: VERSION=13.0 VARIANT=apache ARCH=amd64
- env: VERSION=13.0 VARIANT=apache ARCH=i386

View File

@ -1,19 +0,0 @@
#!/bin/bash
set -e
image="$1"
cd .examples/dockerfiles
dirs=( */ )
dirs=( "${dirs[@]%/}" )
for dir in "${dirs[@]}"; do
if [ -d "$dir/$VARIANT" ]; then
(
cd "$dir/$VARIANT"
sed -ri -e 's/^FROM .*/FROM '"$image"'/g' 'Dockerfile'
docker build -t "$image-$dir" .
~/official-images/test/run.sh "$image-$dir"
)
fi
done

View File

@ -1,139 +0,0 @@
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
FROM php:7.1-apache-stretch
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
rm -rf /var/lib/apt/lists/*; \
\
mkdir -p /var/spool/cron/crontabs; \
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
libldap2-dev \
libmcrypt-dev \
libmemcached-dev \
libpng-dev \
libpq-dev \
libxml2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
exif \
gd \
intl \
ldap \
mcrypt \
opcache \
pcntl \
pdo_mysql \
pdo_pgsql \
zip \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.11; \
pecl install memcached-3.0.4; \
pecl install redis-3.1.6; \
\
docker-php-ext-enable \
apcu \
memcached \
redis \
; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { print $3 }' \
| sort -u \
| xargs -r dpkg-query -S \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
echo 'opcache.max_accelerated_files=10000'; \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
mkdir /var/www/data; \
chown -R www-data:root /var/www; \
chmod -R g=u /var/www
VOLUME /var/www/html
RUN a2enmod rewrite remoteip ;\
{\
echo RemoteIPHeader X-Real-IP ;\
echo RemoteIPTrustedProxy 10.0.0.0/8 ;\
echo RemoteIPTrustedProxy 172.16.0.0/12 ;\
echo RemoteIPTrustedProxy 192.168.0.0/16 ;\
} > /etc/apache2/conf-available/remoteip.conf;\
a2enconf remoteip
ENV NEXTCLOUD_VERSION 12.0.8RC1
RUN set -ex; \
fetchDeps=" \
gnupg \
dirmngr \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc \
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
tar -xjf nextcloud.tar.bz2 -C /usr/src/; \
gpgconf --kill all; \
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
chmod +x /usr/src/nextcloud/occ; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]

View File

@ -1,15 +0,0 @@
<?php
$CONFIG = array (
"apps_paths" => array (
0 => array (
"path" => OC::$SERVERROOT."/apps",
"url" => "/apps",
"writable" => false,
),
1 => array (
"path" => OC::$SERVERROOT."/custom_apps",
"url" => "/custom_apps",
"writable" => true,
),
),
);

View File

@ -1,34 +0,0 @@
<?php
$autoconfig_enabled = false;
if (getenv('SQLITE_DATABASE')) {
$AUTOCONFIG["dbtype"] = "sqlite";
$AUTOCONFIG["dbname"] = getenv('SQLITE_DATABASE');
$autoconfig_enabled = true;
} elseif (getenv('MYSQL_DATABASE') && getenv('MYSQL_USER') && getenv('MYSQL_PASSWORD') && getenv('MYSQL_HOST')) {
$AUTOCONFIG["dbtype"] = "mysql";
$AUTOCONFIG["dbname"] = getenv('MYSQL_DATABASE');
$AUTOCONFIG["dbuser"] = getenv('MYSQL_USER');
$AUTOCONFIG["dbpass"] = getenv('MYSQL_PASSWORD');
$AUTOCONFIG["dbhost"] = getenv('MYSQL_HOST');
$autoconfig_enabled = true;
} elseif (getenv('POSTGRES_DB') && getenv('POSTGRES_USER') && getenv('POSTGRES_PASSWORD') && getenv('POSTGRES_HOST')) {
$AUTOCONFIG["dbtype"] = "pgsql";
$AUTOCONFIG["dbname"] = getenv('POSTGRES_DB');
$AUTOCONFIG["dbuser"] = getenv('POSTGRES_USER');
$AUTOCONFIG["dbpass"] = getenv('POSTGRES_PASSWORD');
$AUTOCONFIG["dbhost"] = getenv('POSTGRES_HOST');
$autoconfig_enabled = true;
}
if ($autoconfig_enabled) {
$AUTOCONFIG["dbtableprefix"] = getenv('NEXTCLOUD_TABLE_PREFIX') ?: "";
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}
}

View File

@ -1,4 +0,0 @@
#!/bin/sh
set -eu
exec busybox crond -f -l 0 -L /dev/stdout

View File

@ -1,62 +0,0 @@
#!/bin/sh
set -eu
# version_greater A B returns whether A > B
version_greater() {
[ "$(printf '%s\n' "$@" | sort -t '.' -n -k1,1 -k2,2 -k3,3 -k4,4 | head -n 1)" != "$1" ]
}
# return true if specified directory is empty
directory_empty() {
[ -z "$(ls -A "$1/")" ]
}
run_as() {
if [ "$(id -u)" = 0 ]; then
su - www-data -s /bin/sh -c "$1"
else
sh -c "$1"
fi
}
installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"
fi
# shellcheck disable=SC2016
image_version="$(php -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);')"
if version_greater "$installed_version" "$image_version"; then
echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?"
exit 1
fi
if version_greater "$image_version" "$installed_version"; then
if [ "$installed_version" != "0.0.0.0" ]; then
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_before
fi
if [ "$(id -u)" = 0 ]; then
rsync_options="-rlDog --chown www-data:root"
else
rsync_options="-rlD"
fi
rsync $rsync_options --delete --exclude /config/ --exclude /data/ --exclude /custom_apps/ --exclude /themes/ /usr/src/nextcloud/ /var/www/html/
for dir in config data custom_apps themes; do
if [ ! -d "/var/www/html/$dir" ] || directory_empty "/var/www/html/$dir"; then
rsync $rsync_options --include "/$dir/" --exclude '/*' /usr/src/nextcloud/ /var/www/html/
fi
done
if [ "$installed_version" != "0.0.0.0" ]; then
run_as 'php /var/www/html/occ upgrade --no-app-disable'
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
echo "The following apps have beed disabled:"
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
rm -f /tmp/list_before /tmp/list_after
fi
fi
exec "$@"

View File

@ -1,116 +0,0 @@
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
FROM php:7.1-fpm-alpine3.7
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
\
apk add --no-cache \
rsync \
; \
\
rm /var/spool/cron/crontabs/root; \
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
RUN set -ex; \
\
apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
autoconf \
freetype-dev \
icu-dev \
libjpeg-turbo-dev \
libmcrypt-dev \
libpng-dev \
libmemcached-dev \
libxml2-dev \
openldap-dev \
pcre-dev \
postgresql-dev \
; \
\
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap; \
docker-php-ext-install \
exif \
gd \
intl \
ldap \
mcrypt \
opcache \
pcntl \
pdo_mysql \
pdo_pgsql \
zip \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.11; \
pecl install memcached-3.0.4; \
pecl install redis-3.1.6; \
\
docker-php-ext-enable \
apcu \
memcached \
redis \
; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
apk del .build-deps
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
echo 'opcache.max_accelerated_files=10000'; \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
mkdir /var/www/data; \
chown -R www-data:root /var/www; \
chmod -R g=u /var/www
VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 12.0.8RC1
RUN set -ex; \
apk add --no-cache --virtual .fetch-deps \
bzip2 \
gnupg \
; \
\
curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc \
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
tar -xjf nextcloud.tar.bz2 -C /usr/src/; \
gpgconf --kill all; \
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
chmod +x /usr/src/nextcloud/occ; \
apk del .fetch-deps
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]

View File

@ -1,15 +0,0 @@
<?php
$CONFIG = array (
"apps_paths" => array (
0 => array (
"path" => OC::$SERVERROOT."/apps",
"url" => "/apps",
"writable" => false,
),
1 => array (
"path" => OC::$SERVERROOT."/custom_apps",
"url" => "/custom_apps",
"writable" => true,
),
),
);

View File

@ -1,34 +0,0 @@
<?php
$autoconfig_enabled = false;
if (getenv('SQLITE_DATABASE')) {
$AUTOCONFIG["dbtype"] = "sqlite";
$AUTOCONFIG["dbname"] = getenv('SQLITE_DATABASE');
$autoconfig_enabled = true;
} elseif (getenv('MYSQL_DATABASE') && getenv('MYSQL_USER') && getenv('MYSQL_PASSWORD') && getenv('MYSQL_HOST')) {
$AUTOCONFIG["dbtype"] = "mysql";
$AUTOCONFIG["dbname"] = getenv('MYSQL_DATABASE');
$AUTOCONFIG["dbuser"] = getenv('MYSQL_USER');
$AUTOCONFIG["dbpass"] = getenv('MYSQL_PASSWORD');
$AUTOCONFIG["dbhost"] = getenv('MYSQL_HOST');
$autoconfig_enabled = true;
} elseif (getenv('POSTGRES_DB') && getenv('POSTGRES_USER') && getenv('POSTGRES_PASSWORD') && getenv('POSTGRES_HOST')) {
$AUTOCONFIG["dbtype"] = "pgsql";
$AUTOCONFIG["dbname"] = getenv('POSTGRES_DB');
$AUTOCONFIG["dbuser"] = getenv('POSTGRES_USER');
$AUTOCONFIG["dbpass"] = getenv('POSTGRES_PASSWORD');
$AUTOCONFIG["dbhost"] = getenv('POSTGRES_HOST');
$autoconfig_enabled = true;
}
if ($autoconfig_enabled) {
$AUTOCONFIG["dbtableprefix"] = getenv('NEXTCLOUD_TABLE_PREFIX') ?: "";
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}
}

View File

@ -1,4 +0,0 @@
#!/bin/sh
set -eu
exec busybox crond -f -l 0 -L /dev/stdout

View File

@ -1,62 +0,0 @@
#!/bin/sh
set -eu
# version_greater A B returns whether A > B
version_greater() {
[ "$(printf '%s\n' "$@" | sort -t '.' -n -k1,1 -k2,2 -k3,3 -k4,4 | head -n 1)" != "$1" ]
}
# return true if specified directory is empty
directory_empty() {
[ -z "$(ls -A "$1/")" ]
}
run_as() {
if [ "$(id -u)" = 0 ]; then
su - www-data -s /bin/sh -c "$1"
else
sh -c "$1"
fi
}
installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"
fi
# shellcheck disable=SC2016
image_version="$(php -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);')"
if version_greater "$installed_version" "$image_version"; then
echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?"
exit 1
fi
if version_greater "$image_version" "$installed_version"; then
if [ "$installed_version" != "0.0.0.0" ]; then
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_before
fi
if [ "$(id -u)" = 0 ]; then
rsync_options="-rlDog --chown www-data:root"
else
rsync_options="-rlD"
fi
rsync $rsync_options --delete --exclude /config/ --exclude /data/ --exclude /custom_apps/ --exclude /themes/ /usr/src/nextcloud/ /var/www/html/
for dir in config data custom_apps themes; do
if [ ! -d "/var/www/html/$dir" ] || directory_empty "/var/www/html/$dir"; then
rsync $rsync_options --include "/$dir/" --exclude '/*' /usr/src/nextcloud/ /var/www/html/
fi
done
if [ "$installed_version" != "0.0.0.0" ]; then
run_as 'php /var/www/html/occ upgrade --no-app-disable'
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
echo "The following apps have beed disabled:"
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
rm -f /tmp/list_before /tmp/list_after
fi
fi
exec "$@"

View File

@ -1,131 +0,0 @@
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
FROM php:7.1-fpm-stretch
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
rsync \
bzip2 \
busybox-static \
; \
rm -rf /var/lib/apt/lists/*; \
\
mkdir -p /var/spool/cron/crontabs; \
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html
RUN set -ex; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-openssl-dev \
libfreetype6-dev \
libicu-dev \
libjpeg-dev \
libldap2-dev \
libmcrypt-dev \
libmemcached-dev \
libpng-dev \
libpq-dev \
libxml2-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
exif \
gd \
intl \
ldap \
mcrypt \
opcache \
pcntl \
pdo_mysql \
pdo_pgsql \
zip \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.11; \
pecl install memcached-3.0.4; \
pecl install redis-3.1.6; \
\
docker-php-ext-enable \
apcu \
memcached \
redis \
; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { print $3 }' \
| sort -u \
| xargs -r dpkg-query -S \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
RUN { \
echo 'opcache.enable=1'; \
echo 'opcache.enable_cli=1'; \
echo 'opcache.interned_strings_buffer=8'; \
echo 'opcache.max_accelerated_files=10000'; \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
mkdir /var/www/data; \
chown -R www-data:root /var/www; \
chmod -R g=u /var/www
VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 12.0.8RC1
RUN set -ex; \
fetchDeps=" \
gnupg \
dirmngr \
"; \
apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \
\
curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc \
"https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
tar -xjf nextcloud.tar.bz2 -C /usr/src/; \
gpgconf --kill all; \
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
chmod +x /usr/src/nextcloud/occ; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]

Some files were not shown because too many files have changed in this diff Show More