Compare commits

...

371 Commits

Author SHA1 Message Date
Joas Schilling
a8ced69ab4 Merge pull request #5234 from nextcloud/ci/noid/update-workflow-109
ci: Update workflows
2024-09-10 10:26:54 +02:00
Simon L.
9d0b52296d increase to 9.5.1
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-10 10:26:18 +02:00
Simon L.
06b1116402 Merge pull request #5203 from nextcloud/enh/noid/install-nc-30-directly
aio-interface: allow to install nc 30 directly
2024-09-10 10:24:46 +02:00
Simon L.
473007f4cd update link to update docs
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-10 10:24:09 +02:00
Joas Schilling
142d3e8997 ci: Update workflows
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-10 10:19:41 +02:00
Simon L.
e2946faf02 Merge pull request #5233 from nextcloud/dependabot/composer/php/twig/twig-3.14.0
build(deps): bump twig/twig from 3.12.0 to 3.14.0 in /php
2024-09-09 23:44:22 +02:00
dependabot[bot]
3474801116 build(deps): bump twig/twig from 3.12.0 to 3.14.0 in /php
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.12.0 to 3.14.0.
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.12.0...v3.14.0)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 21:16:39 +00:00
Simon L.
26695effa2 update bug report and feature request templates
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-06 18:40:15 +02:00
Simon L.
ed857db3c1 aio-interface: allow to install nc 30 directly
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-04 17:23:49 +02:00
Simon L.
1321f875e9 Merge pull request #5202 from nextcloud/enh/noid/include-expensive
nextcloud-entrypoint: maintenance-repair: include-expensive
2024-09-04 16:30:50 +02:00
Simon L.
2af1eaf207 nextcloud-entrypoint: maintenance-repair: include-expensive
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-04 16:23:18 +02:00
Simon L.
4c162237bf fix styles 2
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-04 16:22:08 +02:00
Simon L.
0445b4c5f1 Merge pull request #5201 from nextcloud/revert-5200-revert-5158-nextcloud-container-update
Revert "Revert "Nextcloud dependency update""
2024-09-04 16:13:32 +02:00
Simon L.
ba4446f565 Revert "Revert "Nextcloud dependency update"" 2024-09-04 16:12:53 +02:00
Simon L.
3c74ebf347 Merge pull request #5200 from nextcloud/revert-5158-nextcloud-container-update
Revert "Nextcloud dependency update"
2024-09-04 16:06:58 +02:00
Simon L.
0db3f95219 Revert "Nextcloud dependency update" 2024-09-04 16:06:20 +02:00
Simon L.
7a3bcc73c6 fix open nextcloud-aio login button
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-04 16:01:06 +02:00
Simon L.
8e55a6f35f Merge pull request #5191 from nextcloud/talk-container-update
talk container update
2024-09-04 15:29:33 +02:00
Simon L.
992608a2b0 Merge pull request #5192 from nextcloud/dependabot/docker/Containers/talk/strukturag/nextcloud-spreed-signaling-2.0.0
build(deps): bump strukturag/nextcloud-spreed-signaling from 1.3.2 to 2.0.0 in /Containers/talk
2024-09-04 15:28:57 +02:00
szaimen
0be1f9827b talk-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-04 12:04:31 +00:00
Simon L.
3389af0bdf Merge pull request #5158 from nextcloud/nextcloud-container-update
Nextcloud dependency update
2024-09-04 12:10:23 +02:00
Simon L.
fb815dd5b4 Merge pull request #5181 from nextcloud/enh/noid/remove-richdocumentscode
nextcloud-entrypoint: remove richdocumentscode if installed
2024-09-04 11:47:02 +02:00
Simon L.
c7cd473c99 Merge pull request #5195 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-7
build(deps): bump peter-evans/create-pull-request from 6 to 7
2024-09-04 11:41:28 +02:00
Simon L.
dbe3fb4472 Merge pull request #5193 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.7.1.2
build(deps): bump collabora/code from 24.04.7.1.1 to 24.04.7.1.2 in /Containers/collabora
2024-09-04 11:41:11 +02:00
dependabot[bot]
84bbc6d936 build(deps): bump peter-evans/create-pull-request from 6 to 7
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 13:07:52 +00:00
dependabot[bot]
6737c188a3 build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.7.1.1 to 24.04.7.1.2.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 12:45:52 +00:00
dependabot[bot]
e53ffb85a4 build(deps): bump strukturag/nextcloud-spreed-signaling
Bumps strukturag/nextcloud-spreed-signaling from 1.3.2 to 2.0.0.

---
updated-dependencies:
- dependency-name: strukturag/nextcloud-spreed-signaling
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 12:38:38 +00:00
szaimen
d791161357 nextcloud-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-03 12:36:17 +00:00
Simon L.
2251a218dd Merge pull request #5187 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.3.11-fpm-alpine3.20
build(deps): bump php from 8.3.10-fpm-alpine3.20 to 8.3.11-fpm-alpine3.20 in /Containers/mastercontainer
2024-09-02 15:19:04 +02:00
dependabot[bot]
52fd6d63c7 build(deps): bump php in /Containers/mastercontainer
Bumps php from 8.3.10-fpm-alpine3.20 to 8.3.11-fpm-alpine3.20.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 13:02:14 +00:00
Simon L.
fd1d21c364 Merge pull request #5186 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.2.23-fpm-alpine3.20
build(deps): bump php from 8.2.22-fpm-alpine3.20 to 8.2.23-fpm-alpine3.20 in /Containers/nextcloud
2024-09-02 14:34:53 +02:00
dependabot[bot]
b252bc7730 build(deps): bump php in /Containers/nextcloud
Bumps php from 8.2.22-fpm-alpine3.20 to 8.2.23-fpm-alpine3.20.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:28:17 +00:00
Simon L.
4d3d8b9158 Merge pull request #5182 from nextcloud/aio-dependency-update
PHP dependency updates
2024-08-31 14:18:32 +02:00
szaimen
3ba0995dd7 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-31 12:02:10 +00:00
Simon L.
91faf2bd34 nextcloud-entrypoint: remove richdocumentscode if installed
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-30 16:56:46 +02:00
Simon L.
d62e3b70ff Merge pull request #5180 from nextcloud/dependabot/docker/Containers/talk/nats-2.10.20-scratch
build(deps): bump nats from 2.10.19-scratch to 2.10.20-scratch in /Containers/talk
2024-08-30 14:52:19 +02:00
Simon L.
25ca271055 Merge pull request #5179 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.7.1.1
build(deps): bump collabora/code from 24.04.6.2.1 to 24.04.7.1.1 in /Containers/collabora
2024-08-30 14:52:06 +02:00
dependabot[bot]
2d8b8ab542 build(deps): bump nats in /Containers/talk
Bumps nats from 2.10.19-scratch to 2.10.20-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 12:50:07 +00:00
dependabot[bot]
da3d20d648 build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.6.2.1 to 24.04.7.1.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 12:20:07 +00:00
Simon L.
01f3813308 Merge pull request #5126 from nextcloud/enh/noid/redis-connector
adjust redis connector to point at correct db-index
2024-08-29 16:33:31 +02:00
Simon L.
7e8402aeb0 adjust redis connector to point at correct db-index
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-29 16:24:12 +02:00
Simon L.
7c1d337d47 Merge pull request #5177 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.2.0-cli
build(deps): bump docker from 27.1.2-cli to 27.2.0-cli in /Containers/mastercontainer
2024-08-29 16:07:54 +02:00
dependabot[bot]
43e1dbb107 build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 27.1.2-cli to 27.2.0-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 12:54:32 +00:00
Simon L.
3d9c51baee Merge pull request #5176 from nextcloud/aio-dependency-update
PHP dependency updates
2024-08-29 14:42:24 +02:00
szaimen
c2744fb788 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-29 12:02:45 +00:00
Simon L.
5d6fc71a61 Merge pull request #5175 from nextcloud/enh/4890/add-snap-warning
mastercontainer: add warning if snap install was found
2024-08-29 12:34:50 +02:00
Simon L.
2f70096a52 migration: add hint that calendar data is excluded when only files are migrated
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-29 11:17:42 +02:00
Simon L.
03c900ca09 mastercontainer: add warning if snap install was found
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-29 11:01:24 +02:00
Simon L.
95e8a461ce update bug-report template
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-29 10:56:03 +02:00
Simon L.
841e80e3b2 Merge pull request #5173 from nextcloud/aio-dependency-update
PHP dependency updates
2024-08-28 15:26:28 +02:00
Simon L.
b413877c6f Merge pull request #5174 from nextcloud/dependabot/docker/Containers/talk/nats-2.10.19-scratch
build(deps): bump nats from 2.10.18-scratch to 2.10.19-scratch in /Containers/talk
2024-08-28 15:26:09 +02:00
dependabot[bot]
8712b3fa17 build(deps): bump nats in /Containers/talk
Bumps nats from 2.10.18-scratch to 2.10.19-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-28 12:16:51 +00:00
szaimen
7e9a39a074 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-28 12:07:03 +00:00
Simon L.
b9c30adab4 Merge pull request #5159 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.6.2.1
build(deps): bump collabora/code from 24.04.6.1.1 to 24.04.6.2.1 in /Containers/collabora
2024-08-26 21:29:50 +02:00
Simon L.
a86c92a94a Merge pull request #5157 from nextcloud/aio-dependency-update
PHP dependency updates
2024-08-26 21:29:36 +02:00
Simon L.
32fac05807 Merge pull request #5139 from nextcloud/doc/stalwart-patch
Update Stalwart doc
2024-08-26 21:29:18 +02:00
Jean-Yves
d7caa2a7b4 Fix
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-08-25 11:54:52 +02:00
szaimen
f67015732f php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-22 12:03:20 +00:00
dependabot[bot]
50acbb62d8 build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.6.1.1 to 24.04.6.2.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 12:34:28 +00:00
Simon L.
3ccdd332a9 increase to 9.5.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-19 15:08:57 +02:00
Simon L.
6587f9ff68 Revert "increase to 9.5.0"
This reverts commit 22aa12d875.
2024-08-19 15:07:40 +02:00
Simon L.
22aa12d875 increase to 9.5.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-19 15:02:10 +02:00
Simon L.
108035c720 update bug-report template
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-19 11:48:33 +02:00
Jean-Yves
1792d4c2fc Delete community-containers/stalwart/upgrading.md
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-08-16 16:41:41 +02:00
Jean-Yves
12e4b0d561 Update readme.md
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-08-16 16:40:35 +02:00
Simon L.
a67fe51bbc Merge pull request #5138 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.4.0-1
build(deps): bump clamav/clamav from 1.3.1-61 to 1.4.0-1 in /Containers/clamav
2024-08-16 14:20:20 +02:00
dependabot[bot]
f37b474708 build(deps): bump clamav/clamav in /Containers/clamav
Bumps clamav/clamav from 1.3.1-61 to 1.4.0-1.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 12:17:39 +00:00
Simon L.
5318d66d6d Merge pull request #5007 from nextcloud/enn/4955/adjust-design
aio-interface: adjust design for nc30
2024-08-16 14:07:37 +02:00
Simon L.
b892917671 Revert some things in "Proposal"
This reverts parts of commit ef66df0f08.
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-16 14:06:08 +02:00
Jean-Yves
ef66df0f08 Proposal
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-08-16 13:15:25 +02:00
Simon L.
8e8f5f1a04 aio-interface: adjust design for nc30
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-16 13:15:24 +02:00
Simon L.
a41dc9f2c0 Merge pull request #5137 from nextcloud/enh/noid/improve-initcontainers
helm-chart: simplify logic around image for initcontainers
2024-08-16 12:03:13 +02:00
Simon L.
e74f52aaeb helm-chart: simplify logic around image for initcontainers
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-16 12:01:30 +02:00
Simon L.
6a383ef27a Merge pull request #5136 from nextcloud/enh/noid/fix-alpine-image-org
helm-chart: fix ALPINE_IMAGE_ORG variable
2024-08-16 11:54:27 +02:00
Simon L.
52305ce9e9 helm-chart: fix ALPINE_IMAGE_ORG variable
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-16 11:46:21 +02:00
Simon L.
db55a1c282 helm-chart: document that IMAGE_MIRROR_PREFIX needs a trailing slash
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-16 10:00:47 +02:00
Simon L.
c63440f2ee update OO
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-15 19:54:54 +02:00
Simon L.
a27a255d3d Merge pull request #5128 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.23.0-alpine3.20
build(deps): bump golang from 1.22.6-alpine3.20 to 1.23.0-alpine3.20 in /Containers/imaginary
2024-08-15 11:16:49 +02:00
Simon L.
8c4eda9d75 Merge pull request #5127 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.1.2-cli
build(deps): bump docker from 27.1.1-cli to 27.1.2-cli in /Containers/mastercontainer
2024-08-15 11:16:34 +02:00
dependabot[bot]
4e24200301 build(deps): bump golang in /Containers/imaginary
Bumps golang from 1.22.6-alpine3.20 to 1.23.0-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 12:44:56 +00:00
dependabot[bot]
2cd955a7f2 build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 27.1.1-cli to 27.1.2-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 12:21:23 +00:00
Simon L.
6986eccad4 Merge pull request #5117 from nextcloud/enh/noid/improve-config
nextcloud: config files: do not compare against false
2024-08-12 16:43:02 +02:00
Simon L.
c369b1f4ae aio-interface: update stylesheet with update
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-12 12:04:33 +02:00
Simon L.
bbcbf71e6b Merge pull request #5118 from nextcloud/nextcloud-container-update
Nextcloud dependency update
2024-08-11 14:23:56 +02:00
szaimen
8c1f6ac4f6 nextcloud-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-11 12:09:16 +00:00
Simon L.
151b05ec01 nextcloud: config files: do not compare against false
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-09 16:36:16 +02:00
Simon L.
164d4fb997 Merge pull request #5116 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.15.0
build(deps): bump elasticsearch from 8.14.3 to 8.15.0 in /Containers/fulltextsearch
2024-08-09 15:30:37 +02:00
dependabot[bot]
a23026889f build(deps): bump elasticsearch in /Containers/fulltextsearch
Bumps elasticsearch from 8.14.3 to 8.15.0.

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 12:58:22 +00:00
Simon L.
9cd2d7eb7b Merge pull request #5114 from nextcloud/aio-dependency-update
PHP dependency updates
2024-08-09 14:30:08 +02:00
Simon L.
0315d4c10f Merge pull request #5115 from nextcloud/dependabot/docker/Containers/postgresql/postgres-16.4-alpine
build(deps): bump postgres from 16.3-alpine to 16.4-alpine in /Containers/postgresql
2024-08-09 14:29:37 +02:00
dependabot[bot]
30981b9afa build(deps): bump postgres in /Containers/postgresql
Bumps postgres from 16.3-alpine to 16.4-alpine.

---
updated-dependencies:
- dependency-name: postgres
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 12:10:45 +00:00
szaimen
c990d03b91 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-09 12:02:59 +00:00
Simon L.
35c641265c Merge pull request #5093 from nextcloud/enh/noid/configure-proxy
nextcloud: allow to configure proxy options via env
2024-08-08 20:40:56 +02:00
Simon L.
69a3087359 Merge pull request #5016 from nextcloud/enh/noid/better-front
Refactor the frontend
2024-08-08 16:39:45 +02:00
Jean-Yves
bc6dfe8711 Update Tags
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-08 16:34:06 +02:00
Simon L.
2603941d35 Merge pull request #5113 from nextcloud/dependabot/docker/Containers/talk-recording/python-3.12.5-alpine3.20
build(deps): bump python from 3.12.4-alpine3.20 to 3.12.5-alpine3.20 in /Containers/talk-recording
2024-08-08 13:31:30 +02:00
dependabot[bot]
e058ab96ea build(deps): bump python in /Containers/talk-recording
Bumps python from 3.12.4-alpine3.20 to 3.12.5-alpine3.20.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 11:29:57 +00:00
Simon L.
c5cc5d1521 ignore minor updates for redis
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-08 13:28:20 +02:00
Simon L.
41e6d7cf6d fix detail
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-08 11:25:38 +02:00
Simon L.
c8447f2713 Merge pull request #5106 from nextcloud/enh/5102/improve-update-logic
nextcloud: improve update logic
2024-08-08 11:24:03 +02:00
Simon L.
f1114a2b23 Merge pull request #5108 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.22.6-alpine3.20
build(deps): bump golang from 1.22.5-alpine3.20 to 1.22.6-alpine3.20 in /Containers/imaginary
2024-08-08 11:19:41 +02:00
Simon L.
f9cc25bb59 Merge pull request #5107 from nextcloud/aio-dependency-update
PHP dependency updates
2024-08-08 11:19:25 +02:00
Simon L.
63d05b6065 Merge pull request #5096 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.6.1.1
build(deps): bump collabora/code from 24.04.5.2.1 to 24.04.6.1.1 in /Containers/collabora
2024-08-08 11:19:06 +02:00
Simon L.
4cacd38be2 Merge pull request #5084 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.2.22-fpm-alpine3.20
build(deps): bump php from 8.2.21-fpm-alpine3.20 to 8.2.22-fpm-alpine3.20 in /Containers/nextcloud
2024-08-08 11:18:50 +02:00
Simon L.
b31286ae11 Merge pull request #5083 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.3.10-fpm-alpine3.20
build(deps): bump php from 8.3.9-fpm-alpine3.20 to 8.3.10-fpm-alpine3.20 in /Containers/mastercontainer
2024-08-08 11:18:35 +02:00
Simon L.
ab1cfee353 Merge pull request #5111 from nextcloud/aio-helm-update
Helm Chart updates
2024-08-08 11:09:31 +02:00
szaimen
d91c58ea28 Helm Chart updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 08:58:46 +00:00
dependabot[bot]
149688803c build(deps): bump golang in /Containers/imaginary
Bumps golang from 1.22.5-alpine3.20 to 1.22.6-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 12:20:01 +00:00
szaimen
9ad7ea1456 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-07 12:05:56 +00:00
Simon L.
83fc108d9c Merge pull request #5092 from sockless-coding/main
Added reverse proxy configuration example for IIS with ARR & Url Rewrite
2024-08-07 13:40:57 +02:00
Simon L.
bc084eca93 nextcloud: improve update logic
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-07 13:30:23 +02:00
Jimmy Everling
eb3a133a0c Rewrote the instructions to make them clearer.
Signed-off-by: Jimmy Everling <jimmy@jimmyk.se>
2024-08-06 19:45:21 +02:00
dependabot[bot]
0020bb45b2 build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.5.2.1 to 24.04.6.1.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-06 13:38:04 +00:00
Jimmy Everling
8bf7a4d57f Added link to "Adapting the sample web server configurations below"
Signed-off-by: Jimmy Everling <jimmy@jimmyk.se>
2024-08-05 18:31:02 +02:00
Simon L.
ca8c474cea Merge pull request #5089 from devnoname120/patch-1
readme: fix mistakes in Cloudflare section
2024-08-05 14:20:46 +02:00
Simon L.
f6fd960ba0 nextcloud: allow to configure proxy options via env
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-05 14:01:30 +02:00
Jimmy Everling
c4e1ab64fc Added reverse proxy configuration example for IIS with ARR & Url Rewrite
Signed-off-by: Jimmy Everling <jimmy@jimmyk.se>
2024-08-04 22:32:24 +02:00
Paul
7879b9ea0d readme: fix mistakes in Cloudflare section
Signed-off-by: Paul <devnoname120@gmail.com>
2024-08-04 01:37:06 +02:00
Simon L.
c9b97220d0 Merge pull request #5085 from nextcloud/enh/5079/docker-compose
manual-install: adjust the docker-compose commands
2024-08-02 15:17:32 +02:00
Simon L.
ed8794522d manual-install: adjust the docker-compose commands
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-02 15:09:08 +02:00
dependabot[bot]
a9710944f0 build(deps): bump php in /Containers/nextcloud
Bumps php from 8.2.21-fpm-alpine3.20 to 8.2.22-fpm-alpine3.20.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 12:33:10 +00:00
dependabot[bot]
b84611a5ac build(deps): bump php in /Containers/mastercontainer
Bumps php from 8.3.9-fpm-alpine3.20 to 8.3.10-fpm-alpine3.20.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 12:30:29 +00:00
Simon L.
89d2dd7287 increase to 9.4.1
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-01 12:15:45 +02:00
Simon L.
c6606c40ba Merge pull request #5078 from nextcloud/fix/noid/fix-apache-port
daily-backup: fix issue with APACHE_PORT
2024-08-01 12:14:39 +02:00
Simon L.
7a638b8a6d daily-backup: fix issue with APACHE_PORT
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-01 09:47:54 +02:00
Simon L.
9da2235d3e update rp wording and add caddy to the examples
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-31 13:52:38 +02:00
Simon L.
4d4533e677 Merge pull request #5071 from nextcloud/enh/5070/big-file-uploads
RP-docs: Apache: increase timeout to support big file uploads
2024-07-30 15:23:04 +02:00
Simon L.
8c02eb2740 rp-docs: apache: increase timeout to support big file uploads
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-30 13:19:49 +02:00
Simon L.
7e56c912f7 increase to 9.4.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-29 10:48:56 +02:00
Simon L.
562b55b872 improve hint where to activate the external storage app
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-29 10:30:52 +02:00
Simon L.
43a51c2a29 Merge pull request #5054 from nextcloud/aio-dependency-update
PHP dependency updates
2024-07-27 14:03:57 +02:00
szaimen
d2820644a0 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-27 12:02:06 +00:00
Simon L.
73e4ea26ab Merge pull request #5040 from docjyJ/main
Improve the development environment
2024-07-26 18:01:13 +02:00
Jean-Yves
2c573b2e24 Fix gitignore
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-26 17:42:45 +02:00
Jean-Yves
68b5b770c7 Update readeMe
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-26 17:39:36 +02:00
Jean-Yves
5dbcf17e45 Update composer.lock
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-26 14:34:17 +02:00
Jean-Yves
1accb8f568 Update .gitignore
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-26 14:28:32 +02:00
Simon L.
9029991668 Merge pull request #5044 from nextcloud/enh/noid/maintenance-window
helm: allow to set NEXTCLOUD_MAINTENANCE_WINDOW
2024-07-26 14:00:57 +02:00
Simon L.
fe957f10f4 Merge pull request #5046 from nextcloud/enh/noid/allow-skip-optimization
nextcloud: allow to skip database optimization
2024-07-26 13:59:11 +02:00
Simon L.
a27f51abdc nextcloud: allow to skip database optimization
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-26 13:52:18 +02:00
Simon L.
2ab19cf79e helm: allow to set NEXTCLOUD_MAINTENANCE_WINDOW
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-26 12:57:40 +02:00
Jean-Yves
d30af69ad9 Update php/composer.json
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-26 12:07:22 +02:00
Jean-Yves
31162a29d8 fix
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-25 18:12:58 +02:00
Simon L.
00c41624ea Merge pull request #5024 from nextcloud/enh/noid/add-network-policy
helm: add network policy
2024-07-25 15:29:20 +02:00
Simon L.
533c270d06 address review
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-25 15:27:50 +02:00
Simon L.
69cf646c85 Merge pull request #5039 from nextcloud/aio-dependency-update
PHP dependency updates
2024-07-25 10:49:28 +02:00
szaimen
3c26a3bed1 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 08:48:38 +00:00
Simon L.
a88ab04bb6 Merge pull request #5038 from nextcloud/dependabot/composer/php/guzzlehttp/guzzle-7.9.2
build(deps): bump guzzlehttp/guzzle from 7.9.1 to 7.9.2 in /php
2024-07-25 10:48:00 +02:00
dependabot[bot]
aea0af5344 build(deps): bump guzzlehttp/guzzle from 7.9.1 to 7.9.2 in /php
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.1 to 7.9.2.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.9.1...7.9.2)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 08:44:34 +00:00
Simon L.
3c7adc3be5 Merge pull request #5035 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.1.1-cli
build(deps): bump docker from 27.0.3-cli to 27.1.1-cli in /Containers/mastercontainer
2024-07-25 10:30:58 +02:00
dependabot[bot]
85431fe60d build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 27.0.3-cli to 27.1.1-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 08:27:31 +00:00
Simon L.
25a2bd3efc Merge pull request #5034 from nextcloud/dependabot/docker/Containers/watchtower/alpine-3.20.2
build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/watchtower
2024-07-25 10:24:32 +02:00
Simon L.
d68a0c0e96 Merge pull request #5033 from nextcloud/dependabot/docker/Containers/borgbackup/alpine-3.20.2
build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/borgbackup
2024-07-25 10:24:19 +02:00
Simon L.
d9ff3ac548 Merge pull request #5032 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.1.0-cli
build(deps): bump docker from 27.0.3-cli to 27.1.0-cli in /Containers/mastercontainer
2024-07-25 10:24:06 +02:00
Simon L.
f918d058a8 Merge pull request #5031 from nextcloud/dependabot/docker/Containers/domaincheck/alpine-3.20.2
build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/domaincheck
2024-07-25 10:23:51 +02:00
Simon L.
4ccde49448 Merge pull request #5030 from nextcloud/dependabot/docker/Containers/imaginary/alpine-3.20.2
build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/imaginary
2024-07-25 10:23:37 +02:00
Simon L.
a47eb2352d Merge pull request #5029 from nextcloud/dependabot/docker/Containers/notify-push/alpine-3.20.2
build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/notify-push
2024-07-25 10:23:10 +02:00
Simon L.
51b001f194 Merge pull request #5028 from nextcloud/dependabot/docker/Containers/talk/alpine-3.20.2
build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/talk
2024-07-25 10:22:56 +02:00
Simon L.
2e1f9819ff Merge pull request #5023 from nextcloud/dependabot/composer/php/guzzlehttp/guzzle-7.9.1
build(deps): bump guzzlehttp/guzzle from 7.9.0 to 7.9.1 in /php
2024-07-25 10:22:43 +02:00
Simon L.
49bcef5df7 Merge pull request #5022 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.3.1-61
build(deps): bump clamav/clamav from 1.3.1-60 to 1.3.1-61 in /Containers/clamav
2024-07-25 10:22:30 +02:00
Simon L.
24c3f301ed Merge pull request #5009 from nextcloud/dependabot/docker/Containers/apache/httpd-2.4.62-alpine3.20
build(deps): bump httpd from 2.4.61-alpine3.20 to 2.4.62-alpine3.20 in /Containers/apache
2024-07-25 10:22:18 +02:00
Simon L.
3efbaeb158 Merge pull request #5037 from nextcloud/aio-helm-update
Helm Chart updates
2024-07-25 09:47:56 +02:00
szaimen
ddf561b404 Helm Chart updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 07:46:35 +00:00
Simon L.
9a70fa4ddc update rp notice
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-24 20:14:00 +02:00
Simon L.
5c1bf53011 adjust helm install instructions
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-24 16:36:34 +02:00
Simon L.
8a9c5ae973 helm: add network policy
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-24 16:06:20 +02:00
dependabot[bot]
3496815879 build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/watchtower
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:54:55 +00:00
dependabot[bot]
bc90f47d7a build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/borgbackup
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:37:00 +00:00
dependabot[bot]
8327b9aaa0 build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 27.0.3-cli to 27.1.0-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:35:06 +00:00
dependabot[bot]
8656f58009 build(deps): bump alpine in /Containers/domaincheck
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:32:30 +00:00
dependabot[bot]
786f6ce2af build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/imaginary
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:31:27 +00:00
dependabot[bot]
be4e2e2afb build(deps): bump alpine in /Containers/notify-push
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:23:41 +00:00
dependabot[bot]
bb66445cf7 build(deps): bump alpine from 3.20.1 to 3.20.2 in /Containers/talk
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 12:19:49 +00:00
dependabot[bot]
e9fcd554cb build(deps): bump guzzlehttp/guzzle from 7.9.0 to 7.9.1 in /php
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.0 to 7.9.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.9.0...7.9.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 12:50:21 +00:00
dependabot[bot]
00f7e2f749 build(deps): bump clamav/clamav in /Containers/clamav
Bumps clamav/clamav from 1.3.1-60 to 1.3.1-61.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 12:32:20 +00:00
Simon L.
9458650f8b fix json-validator
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-22 14:11:08 +02:00
dependabot[bot]
85c606b09b build(deps): bump httpd in /Containers/apache
Bumps httpd from 2.4.61-alpine3.20 to 2.4.62-alpine3.20.

---
updated-dependencies:
- dependency-name: httpd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 12:38:57 +00:00
Simon L.
07b603ae74 Merge pull request #4671 from ccaccb/feature/4621-docker-rootless-external-ip-documentation
Add note to get correct source IP when using rootless docker
2024-07-19 10:38:53 +02:00
Simon L.
ce6e9411f5 adjust things a bit
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-19 10:37:14 +02:00
Simon L.
b00ae3ec1c Merge pull request #5004 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.5.2.1
build(deps): bump collabora/code from 24.04.5.1.1 to 24.04.5.2.1 in /Containers/collabora
2024-07-18 15:15:50 +02:00
Simon L.
6d785c4848 Merge pull request #5003 from nextcloud/dependabot/docker/Containers/talk/nats-2.10.18-scratch
build(deps): bump nats from 2.10.17-scratch to 2.10.18-scratch in /Containers/talk
2024-07-18 15:15:29 +02:00
dependabot[bot]
4caf23ad28 build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.5.1.1 to 24.04.5.2.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 13:11:54 +00:00
dependabot[bot]
0a2b5b6ace build(deps): bump nats in /Containers/talk
Bumps nats from 2.10.17-scratch to 2.10.18-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 13:08:50 +00:00
Simon L.
44fbda535b increase to 9.3.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-18 14:53:17 +02:00
Simon L.
f47edcabe3 Merge pull request #5001 from nextcloud/nextcloud-container-update
Nextcloud dependency update
2024-07-18 14:51:13 +02:00
Simon L.
352bbd5e7f Merge pull request #5002 from nextcloud/aio-dependency-update
PHP dependency updates
2024-07-18 14:50:55 +02:00
szaimen
c0798bc5b3 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-18 12:12:59 +00:00
szaimen
37f4340ca6 nextcloud-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-18 12:10:47 +00:00
Simon L.
ccdb9bd1f3 update oo
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-18 09:35:45 +02:00
Simon L.
a7fcf67d5f Merge pull request #4990 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.3.1-60
build(deps): bump clamav/clamav from 1.3.1-59 to 1.3.1-60 in /Containers/clamav
2024-07-18 09:34:31 +02:00
Simon L.
a562857ba5 Merge pull request #4981 from nextcloud/enh/noid/allow-lock-vaultwarden-interface
caddy community-container: allow to disable the vaultwarden admin interface
2024-07-18 09:34:13 +02:00
Simon L.
09c9cd839c Merge pull request #4980 from nextcloud/dependabot/docker/Containers/docker-socket-proxy/haproxy-3.0.3-alpine
build(deps): bump haproxy from 3.0.2-alpine to 3.0.3-alpine in /Containers/docker-socket-proxy
2024-07-18 09:34:03 +02:00
Simon L.
8e5deb0ebb Merge pull request #4979 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.14.3
build(deps): bump elasticsearch from 8.14.2 to 8.14.3 in /Containers/fulltextsearch
2024-07-18 09:33:45 +02:00
Simon L.
a5953d9fcb Merge pull request #4977 from nextcloud/imaginary-container-update
Imaginary update
2024-07-18 09:33:25 +02:00
Simon L.
ba10373ccc Merge pull request #4973 from nextcloud/fix/remove-unused-go-binaries
fix: remove unused go binaries from redis and postgresql images
2024-07-18 09:33:10 +02:00
Simon L.
4d3b712cfa Merge pull request #5000 from nextcloud/aio-helm-update
Helm Chart updates
2024-07-18 08:49:13 +02:00
szaimen
352e086b39 Helm Chart updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-18 06:40:09 +00:00
Simon L.
4842acc3eb Merge pull request #4978 from nextcloud/aio-yaml-update
Yaml updates
2024-07-18 08:33:58 +02:00
Simon L.
92a711fdef Merge pull request #4996 from nextcloud/enh/noid/remove-latest-tag
update-helm: adjust workflow for new tags syntax
2024-07-17 18:24:08 +02:00
Simon L.
f1da5f9269 Update update-helm.sh
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-17 17:21:54 +02:00
Simon L.
460e9725d8 updat-helm: adjust workflow for new tags syntax
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-17 16:38:51 +02:00
Simon L.
8ab9c734b4 update link to docker engine
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-17 15:33:43 +02:00
Simon L.
bd7b4fc2ae update detail
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-17 15:23:33 +02:00
szaimen
773c2d4325 Yaml updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-16 12:05:33 +00:00
szaimen
9d9b9dd561 imaginary-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-16 12:04:41 +00:00
Simon L.
8e79c93b69 Merge pull request #4988 from nextcloud/enh/noid/allow-disable-creation-of-namespace
helm: allow to disable creation of namespace
2024-07-16 11:59:55 +02:00
dependabot[bot]
b4b5f70ecd build(deps): bump clamav/clamav in /Containers/clamav
Bumps clamav/clamav from 1.3.1-59 to 1.3.1-60.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 13:01:59 +00:00
Simon L.
65c2ecfd5d helm: allow to disable creation of namespace
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-15 14:07:36 +02:00
Simon L
e1b5ba884f Merge pull request #4976 from nextcloud/enh/4887/update-ipv6-docs
update the ipv6 documentation
2024-07-15 14:03:48 +02:00
Simon L.
aaf748b547 update link to network recreation docs
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-15 13:50:04 +02:00
Simon L.
1f04defd75 also remove IPV6_NETWORK
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-15 11:47:44 +02:00
Simon L.
0600a89a88 address review
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-15 11:46:27 +02:00
Simon L.
4eadbc93b7 caddy community-container: allow to disable the vaultwarden admin interface
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-12 16:53:57 +02:00
dependabot[bot]
cd4dbca6b5 build(deps): bump haproxy in /Containers/docker-socket-proxy
Bumps haproxy from 3.0.2-alpine to 3.0.3-alpine.

---
updated-dependencies:
- dependency-name: haproxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 12:42:24 +00:00
Zoey
b3161695e6 Update docker-ipv6-support.md
Signed-off-by: Zoey <zoey@z0ey.de>
2024-07-12 14:38:38 +02:00
Zoey
338e0868f5 Update compose.yaml
Signed-off-by: Zoey <zoey@z0ey.de>
2024-07-12 14:37:17 +02:00
dependabot[bot]
3b6464852d build(deps): bump elasticsearch in /Containers/fulltextsearch
Bumps elasticsearch from 8.14.2 to 8.14.3.

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 12:10:13 +00:00
Simon L.
46c7fed2be update the ipv6 documentation
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-12 11:34:00 +02:00
Simon L.
e60dd31a35 make it rm -f
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-12 10:36:14 +02:00
Simon L.
22fbd73d92 add link to httpd
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-12 10:31:30 +02:00
Simon L.
b8c1d78371 update links to upstream docker files
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-12 10:24:56 +02:00
Richard Steinmetz
8027a7e5ec fix: remove unused go binaries from redis and postgresql images
Both binaries gosu and su-exec are not used in our entrypoints.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-11 18:22:39 +02:00
Simon L.
ef1e7c28f6 fix it
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 17:28:25 +02:00
Simon L.
f90971ef9d another attempt
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 17:24:59 +02:00
Simon L.
efca35b0e9 try to fix it
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 17:07:14 +02:00
Simon L.
f72ab28a41 fix clamav
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 15:54:25 +02:00
Simon L
504ae2d617 Merge pull request #4971 from nextcloud/ernolf/imaginary-fix
get rid of "some font thing failed" error messages
2024-07-11 15:23:19 +02:00
Simon L.
b2d373cd7f increase to v9.2.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 15:07:39 +02:00
Simon L
fdc5e87a01 Merge pull request #4960 from nextcloud/enh/4918/fix-clamav
clamav - adjust max filesize conditionally
2024-07-11 15:05:44 +02:00
ernolf
002c9a8fc2 get rid of "some font thing failed" error messages
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-07-11 15:00:33 +02:00
Simon L
d304c791ff Merge pull request #4912 from nextcloud/no-listen
Implement internal mode
2024-07-11 14:58:29 +02:00
Simon L.
789c9abcd2 fix SC
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 14:30:56 +02:00
Simon L.
c69aa56349 revert changes to reverse-proxy.md
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 14:27:27 +02:00
Simon L.
3cdb855df3 set apache_ip_binding to internal for caddy community container and remove legacy code
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 14:26:08 +02:00
Simon L.
66dc0bc7d6 clamav - adjust max filesize conditionally
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 14:07:32 +02:00
Simon L.
6463df73e6 Revert "keep /root/.bashrc"
This reverts commit ed1de79e9b.
2024-07-10 18:01:54 +02:00
Simon L.
ed1de79e9b keep /root/.bashrc
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-10 17:59:56 +02:00
Simon L
01fbe3dbc9 Merge pull request #4964 from nextcloud/enh/noid/fix-allowlist
nextcloud: fix APPS_ALLOWLIST
2024-07-10 17:45:06 +02:00
Simon L.
03cb72116e nextcloud: fix APPS_ALLOWLIST
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-10 16:24:35 +02:00
Simon L
3348849792 Merge pull request #4959 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.5.1.1
build(deps): bump collabora/code from 24.04.4.2.1 to 24.04.5.1.1 in /Containers/collabora
2024-07-09 15:48:02 +02:00
Simon L
5e12c266df Merge pull request #4958 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.14.2
build(deps): bump elasticsearch from 8.14.1 to 8.14.2 in /Containers/fulltextsearch
2024-07-09 15:47:50 +02:00
Jean-Yves
c8d461a061 Update reverse-proxy.md
add sample for @INTERNAL

Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-09 15:06:58 +02:00
dependabot[bot]
017e1ee23d build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.4.2.1 to 24.04.5.1.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 12:46:14 +00:00
dependabot[bot]
95a1ed0bba build(deps): bump elasticsearch in /Containers/fulltextsearch
Bumps elasticsearch from 8.14.1 to 8.14.2.

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 12:43:59 +00:00
Simon L
3a691aa9a2 Merge pull request #4957 from LinuxSpielKind/patch-1
Update reverse-proxy.md
2024-07-09 14:32:49 +02:00
David
5e320a7b88 Update reverse-proxy.md
Users running AIO on Ubuntu Jammy may face blocked web socket traffic trough Apache, since rewrites with "?" are deemed unsafe. A error like this can be found in the error logs: "[rewrite:error] [pid396674] [client 192.168.xxx.yyy:57444] AH: Unsafe URL with %3f URL rewritten without UnsafeAllow3F"
The rewrite rule UnsafeAllow3F is fixing this issue.
Infos on that flag can be found here: https://httpd.apache.org/docs/current/rewrite/flags.html#flag_unsafe_allow_3f


Signed-off-by: David <142408439+LinuxSpielKind@users.noreply.github.com>
2024-07-09 12:29:54 +02:00
Simon L
bf29c8578a Merge pull request #4939 from kurt-mcrae/patch-1
Correct wording in containers.twig
2024-07-09 12:08:30 +02:00
Simon L
abe97c87c1 Merge pull request #4924 from nextcloud/dependabot/docker/Containers/talk/strukturag/nextcloud-spreed-signaling-1.3.2
build(deps): bump strukturag/nextcloud-spreed-signaling from 1.3.1 to 1.3.2 in /Containers/talk
2024-07-09 12:07:11 +02:00
Simon L
f1dc400e81 Merge pull request #4926 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.0.3-cli
build(deps): bump docker from 27.0.2-cli to 27.0.3-cli in /Containers/mastercontainer
2024-07-09 12:06:47 +02:00
dependabot[bot]
f29e66c1b4 build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 27.0.2-cli to 27.0.3-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 10:05:47 +00:00
Simon L
74f84bac78 Merge pull request #4933 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.22.5-alpine3.20
build(deps): bump golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20 in /Containers/imaginary
2024-07-09 12:05:46 +02:00
Simon L
7548790041 Merge pull request #4934 from nextcloud/dependabot/docker/Containers/apache/httpd-2.4.61-alpine3.20
build(deps): bump httpd from 2.4.59-alpine3.20 to 2.4.61-alpine3.20 in /Containers/apache
2024-07-09 12:05:36 +02:00
Simon L
66bbe0dbb8 Merge pull request #4952 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.3.1-59
build(deps): bump clamav/clamav from 1.3.1-58 to 1.3.1-59 in /Containers/clamav
2024-07-09 12:04:43 +02:00
Simon L
17f19c5d75 Merge pull request #4953 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.2.21-fpm-alpine3.20
build(deps): bump php from 8.2.20-fpm-alpine3.20 to 8.2.21-fpm-alpine3.20 in /Containers/nextcloud
2024-07-09 12:04:30 +02:00
Simon L
5a67944315 Merge pull request #4954 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.3.9-fpm-alpine3.20
build(deps): bump php from 8.3.8-fpm-alpine3.20 to 8.3.9-fpm-alpine3.20 in /Containers/mastercontainer
2024-07-09 12:04:16 +02:00
dependabot[bot]
d727f11102 build(deps): bump php in /Containers/mastercontainer
Bumps php from 8.3.8-fpm-alpine3.20 to 8.3.9-fpm-alpine3.20.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 13:00:39 +00:00
dependabot[bot]
75e5fa84ce build(deps): bump php in /Containers/nextcloud
Bumps php from 8.2.20-fpm-alpine3.20 to 8.2.21-fpm-alpine3.20.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 12:40:56 +00:00
dependabot[bot]
52fd04640d build(deps): bump clamav/clamav in /Containers/clamav
Bumps clamav/clamav from 1.3.1-58 to 1.3.1-59.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 12:10:29 +00:00
kurt-mcrae
b8bb08cf3b Correct wording in containers.twig
Signed-off-by: kurt-mcrae <83569406+kurt-mcrae@users.noreply.github.com>
2024-07-05 09:23:49 +10:00
dependabot[bot]
6fb4b3479e build(deps): bump httpd in /Containers/apache
Bumps httpd from 2.4.59-alpine3.20 to 2.4.61-alpine3.20.

---
updated-dependencies:
- dependency-name: httpd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 12:25:34 +00:00
dependabot[bot]
a98e89b5c9 build(deps): bump golang in /Containers/imaginary
Bumps golang from 1.22.4-alpine3.20 to 1.22.5-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 12:15:03 +00:00
dependabot[bot]
83c24156bc build(deps): bump strukturag/nextcloud-spreed-signaling
Bumps strukturag/nextcloud-spreed-signaling from 1.3.1 to 1.3.2.

---
updated-dependencies:
- dependency-name: strukturag/nextcloud-spreed-signaling
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 12:06:49 +00:00
Jean-Yves
b3977ed1c8 Update start.sh
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-01 20:28:35 +02:00
Simon L
52cb90a802 Merge pull request #4919 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.3.1-58
build(deps): bump clamav/clamav from 1.3.1-57 to 1.3.1-58 in /Containers/clamav
2024-07-01 15:04:18 +02:00
dependabot[bot]
9dfdfbf27b build(deps): bump clamav/clamav in /Containers/clamav
Bumps clamav/clamav from 1.3.1-57 to 1.3.1-58.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 12:37:18 +00:00
Simon L
64a30cdc0e Merge pull request #4917 from nextcloud/aio-helm-update
Helm Chart updates
2024-07-01 11:23:47 +02:00
szaimen
f19579a4bc Helm Chart updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-01 09:21:42 +00:00
Simon L
3c8cb2bdb2 Merge pull request #4905 from nextcloud/dependabot/docker/Containers/talk/nats-2.10.17-scratch
build(deps): bump nats from 2.10.16-scratch to 2.10.17-scratch in /Containers/talk
2024-07-01 09:50:38 +02:00
Simon L
9d4055c86d Merge pull request #4903 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.0.2-cli
build(deps): bump docker from 26.1.4-cli to 27.0.2-cli in /Containers/mastercontainer
2024-07-01 09:49:41 +02:00
Jean-Yves
571edd4bb4 Implement internal mode
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-06-29 19:23:26 +02:00
dependabot[bot]
05a7b1ebf5 build(deps): bump nats in /Containers/talk
Bumps nats from 2.10.16-scratch to 2.10.17-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 12:39:25 +00:00
Simon L
b37be48348 Merge pull request #4715 from yannik-b/main
Add documentation not to use @ or : in passwords
2024-06-27 16:52:16 +02:00
dependabot[bot]
8a6b6f4295 build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 26.1.4-cli to 27.0.2-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 12:40:33 +00:00
Simon L.
225442c13c improve formatting
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-27 12:22:12 +02:00
Simon L
64bdfb535c Merge pull request #4886 from nextcloud/enh/noid/29.0.3
nextcloud: increase to 29.0.3
2024-06-25 12:42:41 +02:00
Simon L.
97c3afb4bb nextcloud: increase to 29.0.3
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-25 12:36:19 +02:00
Simon L
5656f50bd4 Merge pull request #4884 from nextcloud/enh/noid/use-str_contains
domain-validator: use `str_contains` instead of `strpos`
2024-06-24 14:53:04 +02:00
Simon L
d8fe250b04 Merge pull request #4885 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.3.1-57
build(deps): bump clamav/clamav from 1.3.1-54 to 1.3.1-57 in /Containers/clamav
2024-06-24 14:52:53 +02:00
dependabot[bot]
65a95439c8 build(deps): bump clamav/clamav in /Containers/clamav
Bumps clamav/clamav from 1.3.1-54 to 1.3.1-57.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 12:50:54 +00:00
Simon L.
40306c4ed3 domain-validator: use str_contains instead of strpos
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-24 14:32:14 +02:00
Simon L.
5dfe0b755a fix another typo
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-24 13:50:16 +02:00
Simon L.
b2fb94cd42 fix typo
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-24 13:03:25 +02:00
Simon L
9aefde320b Merge pull request #4883 from Surfict/caddy_external_dns_challenges
readme: Add section `Securing the AIO interface from unauthorized ACME challenges`
2024-06-24 13:01:48 +02:00
Surfict
e4b40ae56b Update readme.md
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Surfict <allexandre@itis.swiss>
2024-06-24 12:55:30 +02:00
surfict
7dde233bff Remove blank line 2024-06-24 12:19:19 +02:00
surfict
6718c18bd2 Add caddy unauthorized ACME challenges problem to README 2024-06-24 11:54:01 +02:00
Simon L
6b62d0a982 Merge pull request #4878 from nextcloud/aio-yaml-update
Yaml updates
2024-06-23 14:30:59 +02:00
szaimen
fba98513a3 Yaml updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-23 12:02:37 +00:00
Simon L
497ae0982f Merge pull request #4876 from nextcloud/enh/4874/add-sys-admin-cap
collabora: add SYS_ADMIN cap
2024-06-22 17:59:47 +02:00
Simon L.
21a344624a collabora: add SYS_ADMIN cap
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-22 17:57:25 +02:00
Simon L.
e9a31e1bc0 nextcloud: update s3.config.php
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 15:00:06 +02:00
Simon L
c63adeaa22 Merge pull request #4865 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.4.2.1
build(deps): bump collabora/code from 24.04.4.1.1 to 24.04.4.2.1 in /Containers/collabora
2024-06-21 14:39:56 +02:00
dependabot[bot]
a5bb6883f7 build(deps): bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.4.1.1 to 24.04.4.2.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 12:38:53 +00:00
Simon L
8dfc5cb119 Merge pull request #4864 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.22.4-alpine3.20
build(deps): bump golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20 in /Containers/imaginary
2024-06-21 14:23:02 +02:00
dependabot[bot]
de66654070 build(deps): bump golang in /Containers/imaginary
Bumps golang from 1.22.3-alpine3.20 to 1.22.4-alpine3.20.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 12:20:17 +00:00
Simon L
bb57e70231 Merge pull request #4863 from nextcloud/talk-container-update
talk container update
2024-06-21 14:19:19 +02:00
Simon L
89500769c2 Merge pull request #4862 from nextcloud/imaginary-container-update
Imaginary update
2024-06-21 14:19:02 +02:00
szaimen
4a7dd7f083 talk-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-21 12:04:51 +00:00
szaimen
2e07a1d2e3 imaginary-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-21 12:04:51 +00:00
Simon L.
caae672466 apache,mastercontainer,nextcloud: remove xfs-user adjustments
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 13:31:26 +02:00
Simon L.
806b0ace54 dockerfile: use new syntax
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 13:27:36 +02:00
Simon L.
267b98bd84 fix casing of AS
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 13:16:55 +02:00
Simon L
a70529173b Merge pull request #4860 from nextcloud/enh/noid/update-haproxy
docker-socket-proxy: update haproxy to v3
2024-06-21 12:32:33 +02:00
Simon L.
8a3669dbb5 docker-socket-proxy: update haproxy to v3
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 12:32:11 +02:00
Simon L
0158279eca Merge pull request #4857 from nextcloud/alpine-3.20.1
update alpine to v3.20.1
2024-06-21 12:31:31 +02:00
Simon L
8e7a5c8b45 Merge pull request #4859 from nextcloud/enh/4258/update-alpine
imaginary: update alpine to 3.20
2024-06-21 12:25:41 +02:00
Simon L
a5239951fb Merge pull request #4858 from nextcloud/enh/noid/add-redis-db-index
nextcloud: properly add REDIS_DB_INDEX
2024-06-21 12:10:19 +02:00
Simon L
10119e76a9 Merge pull request #4856 from nextcloud/szaimen-patch-1
database-restore: only get the first match
2024-06-21 12:08:26 +02:00
Simon L.
81e1f8e2d6 imaginary: update alpine to 3.20
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 11:54:48 +02:00
Simon L.
ee34c83ad2 adjust readme
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 11:21:34 +02:00
Simon L.
17e002e929 nextcloud: properly add REDIS_DB_INDEX
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-21 10:52:47 +02:00
Simon L
6bae8cc98a Merge pull request #4854 from nextcloud/aio-dependency-update
PHP dependency updates
2024-06-21 05:24:12 +02:00
Simon L
431083d1ab Merge pull request #4855 from nextcloud/dependabot/github_actions/softprops/turnstyle-2
build(deps): bump softprops/turnstyle from 1 to 2
2024-06-21 04:22:32 +02:00
Zoey
85ede06e7b update alpine to v3.20.1 2024-06-20 23:58:19 +02:00
Simon L
a622fcc894 database-restore: only get the first match
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-20 14:18:09 +02:00
dependabot[bot]
d907693a8a build(deps): bump softprops/turnstyle from 1 to 2
Bumps [softprops/turnstyle](https://github.com/softprops/turnstyle) from 1 to 2.
- [Release notes](https://github.com/softprops/turnstyle/releases)
- [Changelog](https://github.com/softprops/turnstyle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/turnstyle/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/turnstyle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 12:16:09 +00:00
szaimen
b753fdc669 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-20 12:02:37 +00:00
Simon L
1b0cace7a8 Merge pull request #4851 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2024-06-20 09:11:07 +02:00
nextcloud-command
c913434346 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-06-20 04:09:41 +00:00
Simon L.
7d31e860a3 update OO
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-19 14:50:25 +02:00
Simon L.
2c59fb0db9 fix the .bashrc
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-19 12:13:51 +02:00
Simon L
d19e2aa52d Merge pull request #4840 from nextcloud/enh/4793/print-warning
nextcloud: print warning if login as root into container
2024-06-19 11:58:14 +02:00
Simon L
12ec7dca01 local-ai: arm64 support is back
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-18 15:17:18 +02:00
Simon L.
9f18597cc8 nextcloud: print warning if logging into root container
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-18 10:41:16 +02:00
Simon L.
892f2d875a increase to 9.1.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-17 14:00:10 +02:00
Jean-Yves
dbbbc76098 community-containers: Add NocoDB (#4835)
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-06-17 13:55:43 +02:00
Simon L
d52ffa75d9 Merge pull request #4737 from Doozy134/manual-upgrade-docs
Docs: Update manual-upgrade.md with alternative method
2024-06-17 11:39:13 +02:00
Simon L
1fcb8522ff Merge pull request #4817 from nextcloud/enh/4812/show-timestamps
aio-interface: show timestamps next to log entries
2024-06-17 11:34:46 +02:00
Simon L
7ec1588d61 Merge pull request #4813 from ernolf/main
nextcloud: add igbinary as serializer for increased performance
2024-06-17 11:34:32 +02:00
Simon L
4b97ffdcb7 Merge pull request #4811 from nextcloud/docjyJ-patch-1
Stalwart: Change maintainer
2024-06-17 11:33:39 +02:00
Simon L
dbf0d3e852 Merge pull request #4829 from nextcloud/enh/noid/trust-docker-network
trusted-proxies: trust docker network
2024-06-17 11:33:24 +02:00
Simon L
572f9fa846 Merge pull request #4830 from nextcloud/dependabot/composer/php/slim/slim-4.14.0
Bump slim/slim from 4.13.0 to 4.14.0 in /php
2024-06-17 11:33:05 +02:00
Simon L
f6fbcec000 Merge pull request #4824 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.14.1
Bump elasticsearch from 8.14.0 to 8.14.1 in /Containers/fulltextsearch
2024-06-17 11:32:47 +02:00
Simon L
728075dfba Merge pull request #4836 from nextcloud/aio-helm-update
Helm Chart updates
2024-06-17 11:02:35 +02:00
szaimen
c5915ab563 Helm Chart updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-17 09:00:50 +00:00
dependabot[bot]
d2e09f00c7 Bump slim/slim from 4.13.0 to 4.14.0 in /php
Bumps [slim/slim](https://github.com/slimphp/Slim) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/slimphp/Slim/releases)
- [Changelog](https://github.com/slimphp/Slim/blob/4.x/CHANGELOG.md)
- [Commits](https://github.com/slimphp/Slim/compare/4.13.0...4.14.0)

---
updated-dependencies:
- dependency-name: slim/slim
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 13:00:37 +00:00
Simon L.
cfbb3484ae trusted-proxies: trust docker network
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-14 10:04:01 +02:00
dependabot[bot]
92fae7b81b Bump elasticsearch from 8.14.0 to 8.14.1 in /Containers/fulltextsearch
Bumps elasticsearch from 8.14.0 to 8.14.1.

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 12:51:32 +00:00
Simon L.
4b3c953758 adjust update script
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-13 10:29:20 +02:00
Jean-Yves
7123a997a9 Move to DockerHub
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-06-13 09:46:10 +02:00
Jean-Yves
16489ce23c Change maintainer
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-06-12 18:46:43 +02:00
Jean-Yves
8b9777e0d8 Update stalwart.json
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-06-12 18:46:43 +02:00
ernolf
d1ed80af33 Add igbinary as serializer for increased performance
- Install igbinary via PECL
- Enable igbinary support for memcached and redis
- Configure PHP to use igbinary for APCu and session serialization
- Update Dockerfile to include igbinary and its configuration

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-06-12 15:16:36 +02:00
Simon L.
2a29d3f8b8 aio-interface: show timestamps next to log entries
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-12 12:26:33 +02:00
Simon L.
cbe0a89676 increase to 9.0.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-11 10:50:29 +02:00
Simon L
3d41d79682 Merge pull request #4807 from nextcloud/enh/4806/improve-appstorage
nextcloud: improve getting values for APPSTORAGE
2024-06-11 10:40:55 +02:00
Simon L
7c97d66579 address review
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-11 10:38:38 +02:00
Simon L
978ac21314 Merge pull request #4809 from nextcloud/dependabot/docker/Containers/talk-recording/python-3.12.4-alpine3.19
Bump python from 3.12.3-alpine3.19 to 3.12.4-alpine3.19 in /Containers/talk-recording
2024-06-10 14:50:30 +02:00
dependabot[bot]
7f9e85254e Bump python in /Containers/talk-recording
Bumps python from 3.12.3-alpine3.19 to 3.12.4-alpine3.19.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 12:44:30 +00:00
Simon L
a127687e2b Merge pull request #4808 from nextcloud/aio-yaml-update
Yaml updates
2024-06-10 14:04:43 +02:00
szaimen
084d9a86fe Yaml updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-10 12:03:32 +00:00
Simon L
80cf17b5a2 Merge pull request #4789 from nextcloud/enh/noid/fix-getting-ip-address
fix getting ip-address of talk and apache
2024-06-10 10:42:50 +02:00
Simon L.
335026ce76 fix SC
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-10 10:38:59 +02:00
Simon L
573fe2c138 Merge pull request #4802 from nextcloud/aio-dependency-update
PHP dependency updates
2024-06-10 10:31:56 +02:00
Simon L
ef6e7d274d Merge pull request #4799 from ArmanTheParman/patch-1
readme: improve grammar
2024-06-10 10:30:44 +02:00
Simon L
ece7d5c90d Merge pull request #4788 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.2.20-fpm-alpine3.19
Bump php from 8.2.19-fpm-alpine3.19 to 8.2.20-fpm-alpine3.19 in /Containers/nextcloud
2024-06-10 10:29:39 +02:00
Simon L
70daecb8a9 Merge pull request #4787 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.3.8-fpm-alpine3.19
Bump php from 8.3.7-fpm-alpine3.19 to 8.3.8-fpm-alpine3.19 in /Containers/mastercontainer
2024-06-10 10:29:18 +02:00
Simon L
f5897daaa9 Merge pull request #4786 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-24.04.4.1.1
Bump collabora/code from 24.04.3.1.1 to 24.04.4.1.1 in /Containers/collabora
2024-06-10 10:29:06 +02:00
Simon L.
7bdd51554a nextcloud: improve getting values for APPSTORAGE
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-10 10:24:30 +02:00
szaimen
20d8976f1a php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-09 12:02:38 +00:00
Arman The Parman
39e0e4e2b2 Update readme.md
Grammar improvements x2

Signed-off-by: Arman The Parman <77603167+ArmanTheParman@users.noreply.github.com>
2024-06-09 12:47:09 +10:00
Hannes Franke
354c642f75 Add note to get correct source IP when using rootless docker
Signed-off-by: Hannes Franke <hannes.franke@tu-dortmund.de>
2024-06-07 16:27:44 +02:00
Simon L.
5b49ec6da2 fix getting ip-address of talk and apache
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-07 15:17:27 +02:00
dependabot[bot]
8eca2e3965 Bump php in /Containers/nextcloud
Bumps php from 8.2.19-fpm-alpine3.19 to 8.2.20-fpm-alpine3.19.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 12:59:15 +00:00
dependabot[bot]
0fcaab829a Bump php in /Containers/mastercontainer
Bumps php from 8.3.7-fpm-alpine3.19 to 8.3.8-fpm-alpine3.19.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 12:51:19 +00:00
dependabot[bot]
8c8f5da875 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 24.04.3.1.1 to 24.04.4.1.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 12:13:00 +00:00
Simon L.
87cc69ccd8 facerecognition: remove warning about RAM again
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-07 11:14:58 +02:00
Simon L.
b67f3722fc caddy: adjust docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-07 11:12:49 +02:00
Kasim
e05b0f3061 Fix spelling
Signed-off-by: Kasim <kasim@rafique.co.uk>
2024-05-31 16:00:32 +01:00
Kasim
8602eda17e Update manual-upgrade.md
rephrase parts of original read me
add alternative method

Signed-off-by: Kasim <kasim@rafique.co.uk>
2024-05-30 21:45:41 +01:00
Yannik Buerkle
0d572bce06 add documentation not to use @ or : in passwords 2024-05-25 22:30:26 +02:00
119 changed files with 3212 additions and 1067 deletions

View File

@@ -1,7 +1,7 @@
---
name: 🐛 Bug report
about: Help us improving by reporting a bug
labels: bug, 0. Needs triage
labels: 0. Needs triage
---
<!---
@@ -20,11 +20,11 @@ labels: bug, 0. Needs triage
### Actual behavior <!--- Tell us what happens instead -->
### Host OS <!--- (the host OS on which you are trying to install AIO on) -->
### Other information
#### Host OS <!--- (the host OS on which you are trying to install AIO on) -->
#### Output of `sudo docker info`
#### Nextcloud AIO version <!--- (see Nextcloud AIO interface) -->
#### Current channel <!--- (see the channel name in the AIO interface) -->
#### Docker run command or docker-compose file that you used
#### Other valuable info <!--- (like logs, screenshots & Co.) -->

View File

@@ -1,7 +1,7 @@
---
name: 📖 Existing feature/documentation enhancement
about: Suggest an enhancement of an existing feature/documentation - for other types, please use the feature request option below
labels: enhancement, 0. Needs triage
labels: 0. Needs triage
---
<!--- Please fill out the whole template below -->

View File

@@ -94,7 +94,7 @@ updates:
time: "12:00"
ignore:
- dependency-name: "redis"
update-types: ["version-update:semver-major"]
update-types: ["version-update:semver-major", "version-update:semver-minor"]
open-pull-requests-limit: 10
labels:
- 3. to review

View File

@@ -1,51 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Rebase command
on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v4 # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"

View File

@@ -44,7 +44,7 @@ jobs:
)"
sed -i "s|pecl install APCu.*\;|pecl install APCu-$apcu_version\;|" ./Containers/mastercontainer/Dockerfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: php dependency updates
signoff: true

View File

@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4
- name: Turnstyle
uses: softprops/turnstyle@v1
uses: softprops/turnstyle@v2
with:
continue-after-seconds: 180
env:

View File

@@ -19,10 +19,10 @@ jobs:
| cut -f1 \
| tail -1
)"
sed -i "s|^ENV IMAGINARY_HASH.*$|ENV IMAGINARY_HASH $imaginary_version|" ./Containers/imaginary/Dockerfile
sed -i "s|^ENV IMAGINARY_HASH.*$|ENV IMAGINARY_HASH=$imaginary_version|" ./Containers/imaginary/Dockerfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: imaginary-update automated change
signoff: true

View File

@@ -30,6 +30,6 @@ jobs:
for file in "${JSON_FILES[@]}"; do
json validate --schema-file=php/containers-schema.json --document-file="$file" 2>&1 | tee -a ./json-validator.log
done
if grep -q "document does not validate with schema." ./json-validator.log; then
if grep -q "document does not validate with schema.\|invalid JSONFile" ./json-validator.log; then
exit 1
fi

View File

@@ -36,7 +36,7 @@ jobs:
| sort -V \
| tail -1
)"
sed -i "s|pecl install memcached.*\;|pecl install memcached-$memcached_version\;|" ./Containers/nextcloud/Dockerfile
sed -i "s|pecl install memcached.* |pecl install memcached-$memcached_version |" ./Containers/nextcloud/Dockerfile
# Redis
redis_version="$(
@@ -47,7 +47,7 @@ jobs:
| sort -V \
| tail -1
)"
sed -i "s|pecl install redis.*\;|pecl install redis-$redis_version\;|" ./Containers/nextcloud/Dockerfile
sed -i "s|pecl install redis.* |pecl install redis-$redis_version |" ./Containers/nextcloud/Dockerfile
# Imagick
imagick_version="$(
@@ -60,15 +60,26 @@ jobs:
)"
sed -i "s|pecl install imagick.*\;|pecl install imagick-$imagick_version\;|" ./Containers/nextcloud/Dockerfile
# Igbinary
igbinary_version="$(
git ls-remote --tags https://github.com/igbinary/igbinary.git \
| cut -d/ -f3 \
| grep -viE '[a-z]' \
| tr -d '^{}' \
| sort -V \
| tail -1
)"
sed -i "s|pecl install igbinary.*\;|pecl install igbinary-$igbinary_version\;|" ./Containers/nextcloud/Dockerfile
# Nextcloud
NC_MAJOR="$(grep "ENV NEXTCLOUD_VERSION" ./Containers/nextcloud/Dockerfile | grep -oP '[23][0-9]')"
NCVERSION=$(curl -s -m 900 https://download.nextcloud.com/server/releases/ | sed --silent 's/.*href="nextcloud-\([^"]\+\).zip.asc".*/\1/p' | grep "$NC_MAJOR" | sort --version-sort | tail -1)
if [ -n "$NCVERSION" ]; then
sed -i "s|^ENV NEXTCLOUD_VERSION.*|ENV NEXTCLOUD_VERSION $NCVERSION|" ./Containers/nextcloud/Dockerfile
sed -i "s|^ENV NEXTCLOUD_VERSION.*|ENV NEXTCLOUD_VERSION=$NCVERSION|" ./Containers/nextcloud/Dockerfile
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: nextcloud-update automated change
signoff: true

View File

@@ -28,7 +28,6 @@ jobs:
run: |
set -x
cd php
composer global require wapmorgan/php-deprecation-detector dev-master
composer install
composer run php-deprecation-detector | tee -i ./phpdd.log
if grep "Total issues:" ./phpdd.log; then

View File

@@ -23,15 +23,14 @@ jobs:
run: |
set -x
cd php
composer global require vimeo/psalm --prefer-dist --no-progress --dev
composer install
composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
composer run psalm:update-baseline
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
continue-on-error: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline

View File

@@ -42,6 +42,5 @@ jobs:
run: |
set -x
cd php
composer global require vimeo/psalm --prefer-dist --no-progress --dev
composer install
composer run psalm

View File

@@ -21,7 +21,7 @@ jobs:
| grep -E "^v[0-9\.]+$" \
| tail -1
)"
sed -i "s|^ENV RECORDING_VERSION.*$|ENV RECORDING_VERSION $recording_version|" ./Containers/talk-recording/Dockerfile
sed -i "s|^ENV RECORDING_VERSION.*$|ENV RECORDING_VERSION=$recording_version|" ./Containers/talk-recording/Dockerfile
curl -L "https://raw.githubusercontent.com/nextcloud/nextcloud-talk-recording/$recording_version/server.conf.in" -o Containers/talk-recording/recording.conf
# Signaling
@@ -45,7 +45,7 @@ jobs:
sed -i "s|^ARG JANUS_VERSION=.*$|ARG JANUS_VERSION=$janus_version|" ./Containers/talk/Dockerfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: talk-update automated change
signoff: true

View File

@@ -13,7 +13,7 @@ on:
permissions:
contents: read
concurrency:
concurrency:
group: lint-twig-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -36,7 +36,5 @@ jobs:
- name: twig lint
run: |
cd php
composer require sserbin/twig-linter:@dev --no-progress --dev
composer install
chmod +x ./vendor/bin/twig-linter
./vendor/bin/twig-linter lint ./templates
composer run lint:twig

View File

@@ -14,14 +14,13 @@ jobs:
uses: actions/checkout@v4
- name: update helm chart
run: |
DOCKER_TAG="$(curl -L -s 'https://registry.hub.docker.com/v2/repositories/nextcloud/all-in-one/tags?page_size=1024' | jq '."results"[]["name"]' | sed 's|"||g' | grep '^20' | sort -r | head -1)"
DOCKER_TAG="${DOCKER_TAG%%-latest*}"
DOCKER_TAG="$(curl -L -s 'https://registry.hub.docker.com/v2/repositories/nextcloud/all-in-one/tags?page_size=1024' | jq '."results"[]["name"]' | sed 's|"||g' | grep '^20[0-9_]\+' | grep -v latest | sort -r | head -1)"
export DOCKER_TAG
if [ -n "$DOCKER_TAG" ] && ! grep -q "$DOCKER_TAG" ./nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml; then
sudo bash nextcloud-aio-helm-chart/update-helm.sh "$DOCKER_TAG"
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: Helm Chart updates
signoff: true

View File

@@ -16,7 +16,7 @@ jobs:
run: |
sudo bash manual-install/update-yaml.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
commit-message: Yaml updates
signoff: true

11
.gitignore vendored
View File

@@ -1,8 +1,13 @@
.DS_Store
/php/data/containers.json
/php/data/configuration.json
/php/data/backupsecret.json
.idea/
*.iml
/php/data/*
/php/session/*
!/php/data/.gitkeep
!/php/session/.gitkeep
/php/vendor
/manual-install/*.conf
!/manual-install/sample.conf
/manual-install/docker-compose.yml

View File

@@ -1,7 +1,8 @@
# syntax=docker/dockerfile:latest
FROM caddy:2.8.4-alpine as caddy
FROM caddy:2.8.4-alpine AS caddy
FROM httpd:2.4.59-alpine3.19
# From https://github.com/docker-library/httpd/blob/master/2.4/alpine/Dockerfile
FROM httpd:2.4.62-alpine3.20
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
@@ -16,8 +17,6 @@ VOLUME /mnt/data
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache shadow; \
groupmod -g 333 xfs; \
usermod -u 333 -g 333 xfs; \
groupmod -g 33 www-data; \
usermod -u 33 -g 33 www-data; \
apk del --no-cache shadow; \

View File

@@ -18,10 +18,11 @@ while ! nc -z "$NEXTCLOUD_HOST" 9000; do
done
# Get ipv4-address of Apache
IPv4_ADDRESS="$(dig nextcloud-aio-apache A +short +search | head -1)"
# shellcheck disable=SC2153
IPv4_ADDRESS="$(dig "$APACHE_HOST" A +short +search | head -1)"
# Bring it in CIDR notation
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|1/32|')"
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"
if [ -z "$APACHE_PORT" ]; then
export APACHE_PORT="443"

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM alpine:3.19.1
FROM alpine:3.20.2
RUN set -ex; \
\

View File

@@ -1,20 +1,26 @@
# syntax=docker/dockerfile:latest
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.1/alpine/Dockerfile
FROM clamav/clamav:1.3.1-54
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.3/alpine/Dockerfile
FROM clamav/clamav:1.4.0-1
COPY clamav.conf /tmp/clamav.conf
COPY clamav.conf /clamav.conf
COPY --chmod=775 start.script /start.script
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache tzdata; \
cat /tmp/clamav.conf >> /etc/clamav/clamd.conf; \
rm /tmp/clamav.conf; \
apk add --no-cache tzdata bash; \
mkdir -p /var/run/clamav /run/lock; \
chown -R clamav:clamav /var/run/clamav /run/clamav /var/log/clamav /var/lock /run/lock; \
chmod 777 -R /var/run/clamav /run/clamav /var/log/clamav /var/lock /run/lock /tmp
chmod 777 -R /var/run/clamav /run/clamav /var/log/clamav /var/lock /run/lock /tmp; \
sed -i "/^set -eu/r /start.script" /init-unprivileged; \
rm /start.script; \
grep -q 'clamd --foreground &' /init-unprivileged; \
sed -i "s|clamd --foreground \&|clamd --foreground --config-file /tmp/clamd.conf \&|" /init-unprivileged; \
cat /init-unprivileged
VOLUME /var/lib/clamav
USER clamav
LABEL com.centurylinklabs.watchtower.enable="false"
ENTRYPOINT ["/init-unprivileged"]

View File

@@ -1,4 +1,5 @@
# AIO settings
MaxDirectoryRecursion 30
MaxFileSize 100M
PCREMaxFileSize 100M
StreamMaxLength 100M
MaxFileSize 10G
PCREMaxFileSize 10G
StreamMaxLength 10G

View File

@@ -0,0 +1,4 @@
# Adjust settings
cat /etc/clamav/clamd.conf > /tmp/clamd.conf
CLAMAV_FILE="$(sed "s|10G|$MAX_SIZE|" /clamav.conf)"
echo "$CLAMAV_FILE" >> /tmp/clamd.conf

View File

@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:latest
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker
FROM collabora/code:24.04.3.1.1
FROM collabora/code:24.04.7.1.2
USER root
ARG DEBIAN_FRONTEND noninteractive
ARG DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008
RUN set -ex; \

View File

@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:latest
FROM haproxy:2.9.7-alpine3.19
FROM haproxy:3.0.3-alpine
# hadolint ignore=DL3002
USER root
ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud
ENV NEXTCLOUD_HOST=nextcloud-aio-nextcloud
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM alpine:3.19.1
FROM alpine:3.20.2
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache bash lighttpd netcat-openbsd; \

View File

@@ -1,10 +1,10 @@
# syntax=docker/dockerfile:latest
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
FROM elasticsearch:8.14.0
FROM elasticsearch:8.15.0
USER root
ARG DEBIAN_FRONTEND noninteractive
ARG DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3008
RUN set -ex; \

View File

@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:latest
FROM golang:1.22.3-alpine3.18 as go
FROM golang:1.23.0-alpine3.20 AS go
ENV IMAGINARY_HASH 6cd9edd1d3fb151eb773c14552886e4fc8e50138
ENV IMAGINARY_HASH=6cd9edd1d3fb151eb773c14552886e4fc8e50138
RUN set -ex; \
apk add --no-cache \
@@ -13,7 +13,7 @@ RUN set -ex; \
build-base; \
go install github.com/h2non/imaginary@"$IMAGINARY_HASH";
FROM alpine:3.18.6
FROM alpine:3.20.2
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \
@@ -25,12 +25,13 @@ RUN set -ex; \
vips-heif \
vips-jxl \
vips-poppler \
ttf-dejavu \
bash
COPY --from=go /go/bin/imaginary /usr/local/bin/imaginary
COPY --chmod=775 start.sh /start.sh
ENV PORT 9000
ENV PORT=9000
USER nobody

View File

@@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/mastercontainer.iml" filepath="$PROJECT_DIR$/.idea/mastercontainer.iml" />
</modules>
</component>
</project>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

View File

@@ -1,12 +1,12 @@
# syntax=docker/dockerfile:latest
# Docker CLI is a requirement
FROM docker:26.1.4-cli as docker
FROM docker:27.2.0-cli AS docker
# Caddy is a requirement
FROM caddy:2.8.4-alpine as caddy
FROM caddy:2.8.4-alpine AS caddy
# From https://github.com/docker-library/php/blob/master/8.3/alpine3.19/fpm/Dockerfile
FROM php:8.3.7-fpm-alpine3.19
# From https://github.com/docker-library/php/blob/master/8.3/alpine3.20/fpm/Dockerfile
FROM php:8.3.11-fpm-alpine3.20
EXPOSE 80
EXPOSE 8080
@@ -21,8 +21,6 @@ WORKDIR /var/www/docker-aio
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache shadow; \
groupmod -g 333 xfs; \
usermod -u 333 -g 333 xfs; \
groupmod -g 33 www-data; \
usermod -u 33 -g 33 www-data; \
\

View File

@@ -16,11 +16,15 @@ fi
sudo -u www-data touch "/mnt/docker-aio-config/data/daily_backup_running"
# Check if apache is running/stopped, watchtower is stopped and backupcontainer is stopped
APACHE_PORT="$(docker inspect nextcloud-aio-apache --format "{{.HostConfig.PortBindings}}" | grep -o '[0-9]\+' | head -1)"
while docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-apache$" && ! nc -z nextcloud-aio-apache "$APACHE_PORT"; do
echo "Waiting for apache to become available"
sleep 30
done
APACHE_PORT="$(docker inspect nextcloud-aio-apache --format "{{.Config.Env}}" | grep -o 'APACHE_PORT=[0-9]\+' | grep -o '[0-9]\+' | head -1)"
if [ -z "$APACHE_PORT" ]; then
echo "APACHE_PORT is not set which is not expected..."
else
while docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-apache$" && ! nc -z nextcloud-aio-apache "$APACHE_PORT"; do
echo "Waiting for apache to become available"
sleep 30
done
fi
while docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-watchtower$"; do
echo "Waiting for watchtower to stop"
sleep 30

View File

@@ -91,14 +91,21 @@ else
fi
# Check Storage drivers
STORAGE_DRIVER="$(docker info | grep "Storage Driver")"
STORAGE_DRIVER="$(sudo -u www-data docker info | grep "Storage Driver")"
# Check if vfs is used: https://github.com/nextcloud/all-in-one/discussions/1467
if echo "$STORAGE_DRIVER" | grep -q vfs; then
echo "$STORAGE_DRIVER"
echo "Warning: It seems like the storage driver vfs is used. This will lead to problems with disk space and performance and is disrecommended!"
print_red "Warning: It seems like the storage driver vfs is used. This will lead to problems with disk space and performance and is disrecommended!"
elif echo "$STORAGE_DRIVER" | grep -q fuse-overlayfs; then
echo "$STORAGE_DRIVER"
echo "Warning: It seems like the storage driver fuse-overlayfs is used. Please check if you can switch to overlay2 instead."
print_red "Warning: It seems like the storage driver fuse-overlayfs is used. Please check if you can switch to overlay2 instead."
fi
# Check if snap install
if sudo -u www-data docker info | grep "Docker Root Dir" | grep "/var/snap/docker/"; then
print_red "Warning: It looks like your installation uses docker installed via snap."
print_red "This comes with some limitations and is disrecommended by the docker maintainers."
print_red "See for example https://github.com/nextcloud/all-in-one/discussions/4890#discussioncomment-10386752"
fi
# Check if startup command was executed correctly
@@ -180,7 +187,7 @@ It is set to '$APACHE_PORT'."
fi
fi
if [ -n "$APACHE_IP_BINDING" ]; then
if ! echo "$APACHE_IP_BINDING" | grep -q '^[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+$\|^[0-9a-f:]\+$'; then
if ! echo "$APACHE_IP_BINDING" | grep -q '^[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+$\|^[0-9a-f:]\+$\|^@INTERNAL$'; then
print_red "You provided an ip-address for the apache container's ip-binding but it was not a valid ip-address.
It is set to '$APACHE_IP_BINDING'."
exit 1

View File

@@ -1,21 +1,23 @@
# syntax=docker/dockerfile:latest
FROM php:8.2.19-fpm-alpine3.19
FROM php:8.2.23-fpm-alpine3.20
ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600
ENV SOURCE_LOCATION /usr/src/nextcloud
ENV PHP_MEMORY_LIMIT=512M
ENV PHP_UPLOAD_LIMIT=10G
ENV PHP_MAX_TIME=3600
ENV SOURCE_LOCATION=/usr/src/nextcloud
ENV REDIS_DB_INDEX=0
# AIO settings start # Do not remove or change this line!
ENV NEXTCLOUD_VERSION 29.0.2
ENV AIO_TOKEN 123456
ENV AIO_URL localhost
ENV NEXTCLOUD_VERSION=29.0.6
ENV AIO_TOKEN=123456
ENV AIO_URL=localhost
# AIO settings end # Do not remove or change this line!
COPY --chmod=775 *.sh /
COPY --chmod=774 upgrade.exclude /upgrade.exclude
COPY config/*.php /
COPY supervisord.conf /supervisord.conf
COPY root.motd /root.motd
VOLUME /mnt/ncdata
VOLUME /var/www/html
@@ -26,8 +28,6 @@ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache shadow; \
deluser www-data; \
groupmod -g 333 xfs; \
usermod -u 333 -g 333 xfs; \
addgroup -g 33 -S www-data; \
adduser -u 33 -D -S -G www-data www-data; \
\
@@ -78,12 +78,16 @@ RUN set -ex; \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install igbinary-3.2.16; \
pecl install APCu-5.1.23; \
pecl install memcached-3.2.0; \
pecl install redis-6.0.2; \
pecl install memcached-3.2.0 \
--configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install redis-6.0.2 \
--configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
pecl install imagick-3.7.0; \
\
docker-php-ext-enable \
igbinary \
apcu \
memcached \
redis \
@@ -99,6 +103,11 @@ RUN set -ex; \
apk add --no-cache --virtual .nextcloud-phpext-rundeps $runDeps; \
apk del .build-deps; \
\
{ \
echo 'apc.serializer=igbinary'; \
echo 'session.serialize_handler=igbinary'; \
} >> /usr/local/etc/php/conf.d/docker-php-ext-igbinary.ini; \
\
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
{ \
@@ -123,7 +132,7 @@ RUN set -ex; \
\
{ \
echo 'session.save_handler = redis'; \
echo 'session.save_path = "tcp://${REDIS_HOST}:6379?auth=${REDIS_HOST_PASSWORD}"'; \
echo 'session.save_path = "tcp://${REDIS_HOST}:6379/${REDIS_DB_INDEX}?auth=${REDIS_HOST_PASSWORD}"'; \
echo 'redis.session.locking_enabled = 1'; \
echo 'redis.session.lock_retries = -1'; \
echo 'redis.session.lock_wait_time = 10000'; \
@@ -236,6 +245,7 @@ RUN set -ex; \
git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \
mkdir -p /usr/src/nextcloud/apps/nextcloud-aio; \
cp -r ./app/* /usr/src/nextcloud/apps/nextcloud-aio/; \
echo "[ -n \"\$TERM\" ] && cat /root.motd" >> /root/.bashrc; \
# AIO cloning end # Do not remove or change this line!
\
chown www-data:root -R /usr/src && \

View File

@@ -12,5 +12,7 @@ $CONFIG = array (
'writable' => true,
),
),
'appsallowlist' => getenv('APPS_ALLOWLIST') ? explode(" ", getenv('APPS_ALLOWLIST')) : false,
);
if (getenv('APPS_ALLOWLIST')) {
$CONFIG['appsallowlist'] = explode(" ", getenv('APPS_ALLOWLIST'));
}

View File

@@ -0,0 +1,13 @@
<?php
if (getenv('HTTP_PROXY')) {
$CONFIG['proxy'] = getenv('HTTP_PROXY');
}
if (getenv('HTTPS_PROXY')) {
$CONFIG['proxy'] = getenv('HTTPS_PROXY');
}
if (getenv('PROXY_USER_PASSWORD')) {
$CONFIG['proxyuserpwd'] = getenv('PROXY_USER_PASSWORD');
}
if (getenv('NO_PROXY')) {
$CONFIG['proxyexclude'] = explode(',', getenv('NO_PROXY'));
}

View File

@@ -6,13 +6,16 @@ if (getenv('REDIS_HOST')) {
'redis' => array(
'host' => getenv('REDIS_HOST'),
'password' => (string) getenv('REDIS_HOST_PASSWORD'),
// 'dbindex' => (int) getenv('REDIS_DB_INDEX'),
),
);
if (getenv('REDIS_HOST_PORT') !== false) {
if (getenv('REDIS_HOST_PORT')) {
$CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
} elseif (getenv('REDIS_HOST')[0] != '/') {
$CONFIG['redis']['port'] = 6379;
}
if (getenv('REDIS_DB_INDEX')) {
$CONFIG['redis']['dbindex'] = (int) getenv('REDIS_DB_INDEX');
}
}

View File

@@ -11,9 +11,11 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
'key' => getenv('OBJECTSTORE_S3_KEY') ?: '',
'secret' => getenv('OBJECTSTORE_S3_SECRET') ?: '',
'sse_c_key' => getenv('OBJECTSTORE_S3_SSE_C_KEY') ?: '',
'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' || $autocreate == false) ? false : true,
'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,

View File

@@ -11,9 +11,10 @@ directory_empty() {
}
run_upgrade_if_needed_due_to_app_update() {
if php /var/www/html/occ status | grep maintenance | grep -q true; then
php /var/www/html/occ maintenance:mode --off
fi
if php /var/www/html/occ status | grep needsDbUpgrade | grep -q true; then
# Disable integrity check temporarily until next update
php /var/www/html/occ config:system:set integrity.check.disabled --type bool --value true
php /var/www/html/occ upgrade
php /var/www/html/occ app:enable nextcloud-aio --force
fi
@@ -99,6 +100,20 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
# Write output to logfile.
exec > >(tee -i "/var/www/html/data/update.log")
exec 2>&1
# Run built-in upgrader if version is below 28.0.2 to upgrade to 28.0.x first
touch "$NEXTCLOUD_DATA_DIR/update.failed"
if ! version_greater "$installed_version" "28.0.1.20"; then
php /var/www/html/updater/updater.phar --no-interaction --no-backup
if ! php /var/www/html/occ upgrade || php /var/www/html/occ status | grep maintenance | grep -q 'true'; then
echo "Upgrade failed. Please restore from backup."
bash /notify.sh "Nextcloud update to $image_version failed!" "Please restore from backup!"
exit 1
fi
rm "$NEXTCLOUD_DATA_DIR/update.failed"
# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"
INSTALLED_MAJOR="${installed_version%%.*}"
fi
fi
if [ "$installed_version" != "0.0.0.0" ] && [ "$((IMAGE_MAJOR - INSTALLED_MAJOR))" -gt 1 ]; then
@@ -162,8 +177,12 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
declare -Ag APPSTORAGE
echo "Disabling apps before the update in order to make the update procedure more safe. This can take a while..."
for app in "${NC_APPS_ARRAY[@]}"; do
APPSTORAGE[$app]=$(php /var/www/html/occ config:app:get "$app" enabled)
php /var/www/html/occ app:disable "$app"
if APPSTORAGE[$app]="$(php /var/www/html/occ config:app:get "$app" enabled)"; then
php /var/www/html/occ app:disable "$app"
else
APPSTORAGE[$app]=""
echo "Not disabling $app because the occ command to get the enabled state was failing."
fi
done
fi
@@ -291,7 +310,6 @@ DATADIR_PERMISSION_CONF
php /var/www/html/occ app:disable updatenotification
rm -rf /var/www/html/apps/updatenotification
php /var/www/html/occ app:enable nextcloud-aio --force
php /var/www/html/occ db:add-missing-indices
php /var/www/html/occ db:add-missing-columns
php /var/www/html/occ db:add-missing-primary-keys
yes | php /var/www/html/occ db:convert-filecache-bigint
@@ -418,13 +436,15 @@ DATADIR_PERMISSION_CONF
# Apply optimization
echo "Doing some optimizations..."
php /var/www/html/occ maintenance:repair
php /var/www/html/occ db:add-missing-indices
php /var/www/html/occ db:add-missing-columns
php /var/www/html/occ db:add-missing-primary-keys
yes | php /var/www/html/occ db:convert-filecache-bigint
php /var/www/html/occ maintenance:mimetype:update-js
php /var/www/html/occ maintenance:mimetype:update-db
if [ "$NEXTCLOUD_SKIP_DATABASE_OPTIMIZATION" != yes ]; then
php /var/www/html/occ maintenance:repair --include-expensive
php /var/www/html/occ db:add-missing-indices
php /var/www/html/occ db:add-missing-columns
php /var/www/html/occ db:add-missing-primary-keys
yes | php /var/www/html/occ db:convert-filecache-bigint
else
php /var/www/html/occ maintenance:repair
fi
fi
fi
@@ -500,9 +520,10 @@ if [ -n "$SERVERINFO_TOKEN" ] && [ -z "$(php /var/www/html/occ config:app:get se
php /var/www/html/occ config:app:set serverinfo token --value="$SERVERINFO_TOKEN"
fi
# Set maintenance window so that no warning is shown in the admin overview
if [ -z "$(php /var/www/html/occ config:system:get maintenance_window_start)" ]; then
php /var/www/html/occ config:system:set maintenance_window_start --type=int --value=100
if [ -z "$NEXTCLOUD_MAINTENANCE_WINDOW" ]; then
NEXTCLOUD_MAINTENANCE_WINDOW=100
fi
php /var/www/html/occ config:system:set maintenance_window_start --type=int --value="$NEXTCLOUD_MAINTENANCE_WINDOW"
# Apply network settings
echo "Applying network settings..."
@@ -563,7 +584,7 @@ fi
IPv4_ADDRESS="$(dig nextcloud-aio-nextcloud A +short +search | head -1)"
# Bring it in CIDR notation
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|1/32|')"
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"
php /var/www/html/occ config:system:set trusted_proxies 10 --value="$IPv4_ADDRESS"
if [ -n "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
@@ -578,6 +599,10 @@ if [ "$COLLABORA_ENABLED" = 'yes' ]; then
COLLABORA_HOST="$NC_DOMAIN"
fi
set +x
# Remove richdcoumentscode if it should be incorrectly installed
if [ -d "/var/www/html/custom_apps/richdocumentscode" ]; then
php /var/www/html/occ app:remove richdocumentscode
fi
if ! [ -d "/var/www/html/custom_apps/richdocuments" ]; then
php /var/www/html/occ app:install richdocuments
elif [ "$(php /var/www/html/occ config:app:get richdocuments enabled)" != "yes" ]; then
@@ -729,8 +754,8 @@ if [ "$CLAMAV_ENABLED" = 'yes' ]; then
php /var/www/html/occ config:app:set files_antivirus av_mode --value="daemon"
php /var/www/html/occ config:app:set files_antivirus av_port --value="3310"
php /var/www/html/occ config:app:set files_antivirus av_host --value="$CLAMAV_HOST"
php /var/www/html/occ config:app:set files_antivirus av_stream_max_length --value="104857600"
php /var/www/html/occ config:app:set files_antivirus av_max_file_size --value="104857600"
php /var/www/html/occ config:app:set files_antivirus av_stream_max_length --value="$CLAMAV_MAX_SIZE"
php /var/www/html/occ config:app:set files_antivirus av_max_file_size --value="$CLAMAV_MAX_SIZE"
php /var/www/html/occ config:app:set files_antivirus av_infected_action --value="only_log"
fi
else
@@ -812,19 +837,17 @@ else
fi
# Docker socket proxy
if version_greater "$installed_version" "27.1.2.0"; then
if [ "$DOCKER_SOCKET_PROXY_ENABLED" = 'yes' ]; then
if ! [ -d "/var/www/html/custom_apps/app_api" ]; then
php /var/www/html/occ app:install app_api
elif [ "$(php /var/www/html/occ config:app:get app_api enabled)" != "yes" ]; then
php /var/www/html/occ app:enable app_api
elif [ "$SKIP_UPDATE" != 1 ]; then
php /var/www/html/occ app:update app_api
fi
else
if [ "$REMOVE_DISABLED_APPS" = yes ] && [ -d "/var/www/html/custom_apps/app_api" ]; then
php /var/www/html/occ app:remove app_api
fi
if [ "$DOCKER_SOCKET_PROXY_ENABLED" = 'yes' ]; then
if ! [ -d "/var/www/html/custom_apps/app_api" ]; then
php /var/www/html/occ app:install app_api
elif [ "$(php /var/www/html/occ config:app:get app_api enabled)" != "yes" ]; then
php /var/www/html/occ app:enable app_api
elif [ "$SKIP_UPDATE" != 1 ]; then
php /var/www/html/occ app:update app_api
fi
else
if [ "$REMOVE_DISABLED_APPS" = yes ] && [ -d "/var/www/html/custom_apps/app_api" ]; then
php /var/www/html/occ app:remove app_api
fi
fi

View File

@@ -0,0 +1,4 @@
Warning: You have logged in into the Nextcloud container as root user.
See https://github.com/nextcloud/all-in-one#how-to-run-occ-commands if you want to run occ commands.
Apart from that, you can use 'sudo -u www-data -E php occ <your-command>' in order to run occ commands.
Of course <your-command> needs to be substituted with the command that you want to use.

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM alpine:3.19.1
FROM alpine:3.20.2
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh

View File

@@ -48,9 +48,14 @@ echo "notify-push was started"
if [ -z "$POSTGRES_PORT" ]; then
POSTGRES_PORT=5432
fi
# Set a default for redis db index
if [ -z "$REDIS_DB_INDEX" ]; then
REDIS_DB_INDEX=0
fi
# Set sensitive values as env
export DATABASE_URL="postgres://oc_$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB"
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST"
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX"
# Run it
/nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:latest
# From https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/Dockerfile
FROM onlyoffice/documentserver:8.0.1.1
FROM onlyoffice/documentserver:8.1.1.2
# USER root is probably used

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:latest
# From https://github.com/docker-library/postgres/blob/master/15/alpine/Dockerfile
FROM postgres:16.3-alpine
# From https://github.com/docker-library/postgres/blob/master/16/alpine3.20/Dockerfile
FROM postgres:16.4-alpine
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh
@@ -32,7 +32,10 @@ RUN set -ex; \
\
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \
apk --no-cache del openssl;
apk --no-cache del openssl; \
\
# Get rid of unused binaries
rm -f /usr/local/bin/gosu /usr/local/bin/su-exec;
VOLUME /mnt/data

View File

@@ -99,7 +99,7 @@ if ( [ -f "$DATADIR/PG_VERSION" ] && [ "$PG_MAJOR" != "$(cat "$DATADIR/PG_VERSIO
fi
# Get the Owner
DB_OWNER="$(grep -a "$GREP_STRING" "$DUMP_FILE" | grep -oP 'Owner:.*$' | sed 's|Owner:||;s| ||g')"
DB_OWNER="$(grep -a "$GREP_STRING" "$DUMP_FILE" | head -1 | grep -oP 'Owner:.*$' | sed 's|Owner:||;s| ||g')"
if [ "$DB_OWNER" = "$POSTGRES_USER" ]; then
echo "Unfortunately was the found database owner of the dump file the same as the POSTGRES_USER $POSTGRES_USER"
echo "It is not possible to import a database dump from this database owner."

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
# From https://github.com/docker-library/redis/blob/master/7.0/alpine/Dockerfile
# From https://github.com/docker-library/redis/blob/master/7.2/alpine/Dockerfile
FROM redis:7.2.5-alpine
COPY --chmod=775 start.sh /start.sh
@@ -9,7 +9,10 @@ RUN set -ex; \
apk add --no-cache openssl bash; \
\
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd
echo "root:$(openssl rand -base64 12)" | chpasswd; \
\
# Get rid of unused binaries
rm -f /usr/local/bin/gosu;
USER redis
ENTRYPOINT ["/start.sh"]

View File

@@ -1,13 +1,13 @@
# syntax=docker/dockerfile:latest
FROM python:3.12.3-alpine3.19
FROM python:3.12.5-alpine3.20
COPY --chmod=775 start.sh /start.sh
ENV RECORDING_VERSION v0.1
ENV ALLOW_ALL false
ENV HPB_PROTOCOL https
ENV SKIP_VERIFY false
ENV HPB_PATH /standalone-signaling/
ENV RECORDING_VERSION=v0.1
ENV ALLOW_ALL=false
ENV HPB_PROTOCOL=https
ENV SKIP_VERIFY=false
ENV HPB_PATH=/standalone-signaling/
RUN set -ex; \
apk upgrade --no-cache -a; \
@@ -26,9 +26,8 @@ RUN set -ex; \
pulseaudio \
openssl \
build-base \
linux-headers; \
# chromium chromium-chromedriver?
apk add --no-cache geckodriver --repository http://dl-cdn.alpinelinux.org/alpine/edge/community; \
linux-headers \
geckodriver; \
useradd -d /tmp --system recording; \
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \

View File

@@ -1,10 +1,10 @@
# syntax=docker/dockerfile:latest
FROM nats:2.10.16-scratch as nats
FROM nats:2.10.20-scratch AS nats
FROM eturnal/eturnal:1.12.0 AS eturnal
FROM strukturag/nextcloud-spreed-signaling:1.3.1 as signaling
FROM alpine:3.19.1 as janus
FROM strukturag/nextcloud-spreed-signaling:2.0.0 AS signaling
FROM alpine:3.20.2 AS janus
ARG JANUS_VERSION=v0.14.2
ARG JANUS_VERSION=v0.14.3
WORKDIR /src
RUN set -ex; \
apk add --no-cache \
@@ -34,7 +34,7 @@ RUN set -ex; \
make configs; \
rename -v ".jcfg.sample" ".jcfg" /usr/local/etc/janus/*.jcfg.sample
FROM alpine:3.19.1
FROM alpine:3.20.2
ENV ETURNAL_ETC_DIR="/conf"
COPY --from=janus --chmod=777 --chown=1000:1000 /usr/local /usr/local
COPY --from=eturnal --chmod=777 --chown=1000:1000 /opt/eturnal /opt/eturnal

View File

@@ -55,6 +55,15 @@ blockkey = -encryption-key-
# value as configured in the respective internal services.
internalsecret = the-shared-secret-for-internal-clients
[federation]
# If set to "true", certificate validation of federation targets will be skipped.
# This should only be enabled during development, e.g. to work with self-signed
# certificates.
#skipverify = false
# Timeout in seconds for requests to federation targets.
#timeout = 10
[backend]
# Type of backend configuration.
# Defaults to "static".

View File

@@ -20,8 +20,10 @@ fi
set -x
IPv4_ADDRESS_TALK_RELAY="$(hostname -i | grep -oP '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -1)"
IPv4_ADDRESS_TALK="$(dig nextcloud-aio-talk IN A +short +search | grep '^[0-9.]\+$' | sort | head -n1)"
IPv6_ADDRESS_TALK="$(dig nextcloud-aio-talk AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"
# shellcheck disable=SC2153
IPv4_ADDRESS_TALK="$(dig "$TALK_HOST" IN A +short +search | grep '^[0-9.]\+$' | sort | head -n1)"
# shellcheck disable=SC2153
IPv6_ADDRESS_TALK="$(dig "$TALK_HOST" AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"
set +x
if [ -n "$IPv4_ADDRESS_TALK" ] && [ "$IPv4_ADDRESS_TALK_RELAY" = "$IPv4_ADDRESS_TALK" ]; then

View File

@@ -1,8 +1,8 @@
# syntax=docker/dockerfile:latest
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:1.7.1 as watchtower
FROM containrrr/watchtower:1.7.1 AS watchtower
FROM alpine:3.19.1
FROM alpine:3.20.2
RUN apk upgrade --no-cache -a; \
apk add --no-cache bash

View File

@@ -5,7 +5,7 @@
"display_name": "Caddy with geoblocking",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy",
"image": "szaimen/aio-caddy",
"image_tag": "v1",
"image_tag": "v2",
"internal_port": "443",
"restart": "unless-stopped",
"ports": [
@@ -38,7 +38,7 @@
}
],
"aio_variables": [
"apache_ip_binding=127.0.0.1",
"apache_ip_binding=@INTERNAL",
"apache_port=11000"
],
"nextcloud_exec_commands": [

View File

@@ -1,11 +1,14 @@
## Caddy with geoblocking
This container bundles caddy and auto-configures it for you. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden by listening on `bw.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/stalwart by listening on `mail.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyfin by listening on `media.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap by listening on `ldap.$NC_DOMAIN`, if installed.
This container bundles caddy and auto-configures it for you. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden by listening on `bw.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/stalwart by listening on `mail.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyfin by listening on `media.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap by listening on `ldap.$NC_DOMAIN`, if installed. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/nocodb by listening on `tables.$NC_DOMAIN`, if installed.
### Notes
- This container is incompatible with the [npmplus](https://github.com/nextcloud/all-in-one/tree/main/community-containers/npmplus) community container. So make sure that you do not enable both at the same time!
- Make sure that no other service is using port 443 on your host as otherwise the containers will fail to start. You can check this with `sudo netstat -tulpn | grep 443` before installing AIO.
- If you want to use this with https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden, make sure that you point `bw.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for vaultwarden.
- If you want to use this with https://github.com/nextcloud/all-in-one/tree/main/community-containers/stalwart, make sure that you point `mail.your-nc-domain.com` to your server using an A, AAAA or CNAME record so that caddy can get a certificate automatically for stalwart.
- If you want to use this with https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyfin, make sure that you point `media.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for jellyfin.
- If you want to use this with https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap, make sure that you point `ldap.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for lldap.
- If you want to use this with https://github.com/nextcloud/all-in-one/tree/main/community-containers/nocodb, make sure that you point `tables.your-nc-domain.com` to your server using a cname record so that caddy can get a certificate automatically for nocodb.
- After the container was started the first time, you should see a new `nextcloud-aio-caddy` folder and inside there an `allowed-countries.txt` file when you open the files app with the default `admin` user. In there you can adjust the allowed country codes for caddy by adding them to the first line, e.g. `IT FR` would allow access from italy and france. Private ip-ranges are always allowed. Additionally, in order to activate this config, you need to get an account at https://dev.maxmind.com/geoip/geolite2-free-geolocation-data and download the `GeoLite2-Country.mmdb` and upload it with this exact name into the `nextcloud-aio-caddy` folder. Afterwards restart all containers from the AIO interface and your new config should be active!
- You can add your own Caddy configurations in `/data/caddy-imports/` inside the Caddy container (`sudo docker exec -it nextcloud-aio-caddy bash`). These will be imported on container startup.
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack

0
community-containers/dlna/dlna.json Executable file → Normal file
View File

0
community-containers/dlna/readme.md Executable file → Normal file
View File

View File

@@ -3,7 +3,6 @@ This container bundles the external model of facerecognition and auto-configures
### Notes
- This container needs imaginary in order to analyze modern file format images. Make sure to enable imaginary in the AIO interface before adding this container.
- Currently, in order to run this correctly, your server should have at least 6 GB of RAM, better 8 GB of RAM.
- Facerecognition is by default disabled for all users, if you want to enable facerecognition for all users, you can run the following before adding this container:
```bash
# Go into the container

View File

@@ -2,7 +2,6 @@
This container bundles Local AI and auto-configures it for you.
### Notes
- This container does not work on arm64! If you add the container on arm64, it will fail to start because no image for arm64 is available!
- Make sure to have enough storage space available. This container alone needs ~7GB storage. Every model that you add to `models.yaml` will of course use additional space which adds up quite fast.
- After the container was started the first time, you should see a new `nextcloud-aio-local-ai` folder when you open the files app with the default `admin` user. In there you should see a `models.yaml` config file. You can now add models in there. Please refer [here](https://github.com/go-skynet/model-gallery/blob/main/index.yaml) where you can get further urls that you can put in there. Afterwards restart all containers from the AIO interface and the models should automatically get downloaded by the local-ai container and activated.
- Example for content of `models.yaml` (if you add all of them, it takes around 10GB additional space):

View File

@@ -0,0 +1,43 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-nocodb",
"display_name": "NocoDB",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/nocodb",
"image": "docjyj/aio-nocodb",
"image_tag": "%AIO_CHANNEL%",
"internal_port": "10028",
"restart": "unless-stopped",
"ports": [
{
"ip_binding": "%APACHE_IP_BINDING%",
"port_number": "10028",
"protocol": "tcp"
}
],
"environment": [
"NC_AUTH_JWT_SECRET=%NOCODB_JWT_SECRET%",
"NC_PUBLIC_URL=https://tables.%NC_DOMAIN%/",
"NC_DASHBOARD_URL=/",
"NC_ADMIN_EMAIL=admin@noco.db",
"NC_ADMIN_PASS=%NOCODB_USER_PASS%",
"PORT=10028",
"NC_DISABLE_TELE=true"
],
"secrets": [
"NOCODB_JWT_SECRET",
"NOCODB_USER_PASS"
],
"volumes": [
{
"source": "nextcloud_aio_nocodb",
"destination": "/usr/app/data",
"writeable": true
}
],
"backup_volumes": [
"nextcloud_aio_nocodb"
]
}
]
}

View File

@@ -0,0 +1,28 @@
> [!NOTE]
> This container is there to compensate for the lack of functionality in Nextcloud Tables.
>
> When Nextcloud Tables V2 is released, I will stop checking for updates, and will no longer fix any potential issues.
>
> Some missing functionality in Nextcloud Tables:
> - Multiple view layout (Gantt, Kanban, Calendar...)
> - Field (Person, Tag, File...)
> - See more here https://github.com/nextcloud/tables/issues/103
## NocoDb server
This container bundles NocoDb without synchronization with Nextcloud.
This is an alternative of **Airtable**.
### Notes
- You need to configure a reverse proxy in order to run this container since nocodb needs a dedicated (sub)domain! For that, you might have a look at https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy.
- Currently, only `tables.$NC_DOMAIN` is supported as subdomain! So if Nextcloud is using `your-domain.com`, nocodb will use `tables.your-domain.com`.
- The data of NocoDb will be automatically included in AIOs backup solution!
- After adding and starting the container, you need to run `docker inspect nextcloud-aio-nocodb | grep NC_ADMIN_PASS` to obtain the system administrator password (username: `admin@noco.db`). With this information, you can log in to the web interface at `https://tables.$NC_DOMAIN/#/signin`
- See https://docs.nocodb.com/ for usage of NocoDb
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
### Repository
https://github.com/docjyJ/aio-nocodb
### Maintainer
https://github.com/docjyJ

View File

@@ -1,28 +1,22 @@
> [!WARNING]
> The Stalwart server is under development.
> [!CAUTION]
> Be aware that the mail server is the most difficult service to deploy.
>
> The stability of Stalwart services is not guaranteed.
> Do not use this feature as a main mail server without a redundancy system and without knowledge.
>
> To learn or use as a secondary server enjoy it and please report bugs at [marcoambrosini/aio-stalwart](https://github.com/marcoambrosini/aio-stalwart/issues).
> Do not use this feature as a main mail server or without a redundancy system and without knowledge.
## Stalwart mail server
This container bundles stalwart mail server and auto-configures it for you.
### Notes
- This is only intended to run on a VPS with static ip-address.
- Check with `sudo netstat -tulpn` that no other service is using port 25, 143, 465, 587, 993 nor 4190 yet as otherwise the container will fail to start.
- You need to configure a reverse proxy in order to run this container since stalwart needs a dedicated (sub)domain! For that, you might have a look at https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy.
- Currently, only `mail.$NC_DOMAIN` is supported as subdomain! So if Nextcloud is using `your-domain.com`, Stalwart will use `mail.your-domain.com`.
- The data of Stalwart will be automatically included in AIOs backup solution!
- After adding and starting the container, you need to run `docker inspect nextcloud-aio-stalwart | grep STALWART_USER_PASS` to obtain the system administrator password (username: `admin`). With this information, you can log in to the web interface at `https://mail.your-domain.com/login`
- See https://stalw.art/docs/install/docker/ for next steps.
- Additionally, you might want to install and configure [snappymail](https://apps.nextcloud.com/apps/snappymail) or [mail](https://apps.nextcloud.com/apps/mail) inside Nextcloud in order to use your mail accounts for sending and retrieving mails.
Documentation is available on the container repository.
This documentation is regularly updated and is intended to be as simple and detailed as possible.
Thanks for all your feedback!
- See https://github.com/docjyJ/aio-stalwart#getting-started for getting start with this container.
- See https://stalw.art/docs/faq for further faq and docs on the project
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
### Repository
https://github.com/marcoambrosini/aio-stalwart
https://github.com/docjyj/aio-stalwart
### Maintainer
https://github.com/marcoambrosini
https://github.com/docjyj

View File

@@ -4,8 +4,8 @@
"container_name": "nextcloud-aio-stalwart",
"display_name": "Stalwart",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/stalwart",
"image": "marcoambrosini/aio-stalwart",
"image_tag": "v2",
"image": "docjyj/aio-stalwart",
"image_tag": "%AIO_CHANNEL%",
"internal_port": "10003",
"restart": "unless-stopped",
"ports": [

View File

@@ -1,29 +0,0 @@
> [!NOTE]
> Unless the starting script tells you, you have no action to do to update.
# UPGRADING
During a major server update, this message will be displayed:
> Your data is in an old format.
>
> Make a backup and see https://github.com/nextcloud/all-in-one/blob/main/community-containers/stalwart/upgrading.md
>
> To avoid any loss of data, Stalwart will not launch.
If there is no update, delete the `/opt/stalwart-mail/aio.lock` file from the container. Beware of data loss.
See https://github.com/stalwartlabs/mail-server/blob/main/UPGRADING.md
> [!CAUTION]
> Before each update don't forget to make a backup.
## Upgrading from 0.7.x to 0.8.x
Before upgrading, do a backup of your data !
```bash
sudo docker run --rm -v nextcloud_aio_stalwart:/opt/stalwart-mail -it --entrypoint /usr/local/bin/stalwart-mail stalwartlabs/mail-server:v0.7.3 --config /opt/stalwart-mail/etc/config.toml --export /opt/stalwart-mail/export
sudo docker run --rm -v nextcloud_aio_stalwart:/opt/stalwart-mail -it --entrypoint /usr/local/bin/stalwart-mail stalwartlabs/mail-server:v0.8.0 --config /opt/stalwart-mail/etc/config.toml --import /opt/stalwart-mail/export
sudo docker run --rm -v nextcloud_aio_stalwart:/opt/stalwart-mail -it --entrypoint /bin/rm alpine /opt/stalwart-mail/aio.lock
```

View File

@@ -7,6 +7,7 @@ This container bundles vaultwarden and auto-configures it for you.
- If you want to secure the installation with fail2ban, you might want to check out https://github.com/nextcloud/all-in-one/tree/main/community-containers/fail2ban
- The data of Vaultwarden will be automatically included in AIOs backup solution!
- After adding and starting the container, you need to visit `https://bw.your-domain.com/admin` in order to log in with the admin key that you can retrieve when running `sudo docker inspect nextcloud-aio-vaultwarden | grep ADMIN_TOKEN`. There you can configure smtp first and then invite users via mail. After this is done, you might disable the admin panel via the reverse proxy by blocking connections to the subdirectory.
- If using the caddy community container, the vaultwarden admin interface can be disabled by creating a `block-vaultwarden-admin` file in the `nextcloud-aio-caddy` folder when you open the Nextcloud files app with the default `admin` user. Afterwards restart all containers from the AIO interface and the admin interface should be disabled! You can unlock the admin interface by removing the file again and afterwards restarting the containers via the AIO interface.
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
### Repository

View File

@@ -7,14 +7,15 @@ services:
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
network_mode: bridge # add to the same network as docker run would do
ports:
- 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- 8080:8080
- 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# environment: # Is needed when using any of the options below
# AIO_DISABLE_BACKUP_SECTION: false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section
# APACHE_PORT: 11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# APACHE_IP_BINDING: 127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# APACHE_PORT: 11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# APACHE_IP_BINDING: 127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# BORG_RETENTION_POLICY: --keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy
# COLLABORA_SECCOMP_DISABLED: false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature
# NEXTCLOUD_DATADIR: /mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
@@ -30,8 +31,6 @@ services:
# NEXTCLOUD_KEEP_DISABLED_APPS: false # Setting this to true will keep Nextcloud apps that are disabled in the AIO interface and not uninstall them if they should be installed. See https://github.com/nextcloud/all-in-one#how-to-keep-disabled-apps
# TALK_PORT: 3478 # This allows to adjust the port that the talk container is using. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port
# WATCHTOWER_DOCKER_SOCKET_PATH: /var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/docker.sock'
# networks: # Is needed when you want to create the nextcloud-aio network with ipv6-support using this file, see the network config at the bottom of the file
# - nextcloud-aio # Is needed when you want to create the nextcloud-aio network with ipv6-support using this file, see the network config at the bottom of the file
# security_opt: ["label:disable"] # Is needed when using SELinux
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
@@ -52,14 +51,3 @@ volumes: # If you want to store the data on a different drive, see https://githu
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
# # Optional: If you need ipv6, follow step 1 and 2 of https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md first and then uncomment the below config in order to activate ipv6 for the internal nextcloud-aio network.
# # Please make sure to uncomment also the networking lines of the mastercontainer above in order to actually create the network with docker-compose
# networks:
# nextcloud-aio:
# name: nextcloud-aio # This line is not allowed to be changed as otherwise the created network will not be used by the other containers of AIO
# driver: bridge
# enable_ipv6: true
# ipam:
# driver: default
# config:
# - subnet: fd12:3456:789a:2::/64 # IPv6 subnet to use

View File

@@ -1,18 +1,12 @@
# IPv6-Support for Docker
Before enabling IPv6-Support for Docker, please note that there are still some unresolved problems in regards to IPv6-Support in Docker. See https://github.com/nextcloud/all-in-one/discussions/2557 for more details on this.
Now that this was mentioned, see the instructions below on how to enable IPv6 for Docker.
## Docker on Linux and Docker-rootless
1. Edit `/etc/docker/daemon.json` (or `~/.config/docker/daemon.json` in case of docker-rootless), set the `ipv6` key to `true` and the `fixed-cidr-v6` key to your IPv6 subnet. In this example we are setting it to `fd12:3456:789a:1::/64`. Additionally set `experimental` to `true` and `ip6tables` to `true` as well. If you are using mailcow and enabled IPv6 with the update.sh, you can keep their daemon.json, it will work too.
First of all upgrade your docker installation to v27.0.1 or higher.
1. Then edit `/etc/docker/daemon.json` (or `~/.config/docker/daemon.json` in case of docker-rootless), add the below json:
```json
{
"ipv6": true,
"fixed-cidr-v6": "fd12:3456:789a:1::/64",
"experimental": true,
"ip6tables": true
"default-network-opts": {"bridge":{"com.docker.network.enable_ipv6":"true"}}
}
```
@@ -23,23 +17,21 @@ Now that this was mentioned, see the instructions below on how to enable IPv6 fo
```console
sudo systemctl restart docker
```
3. Make sure that ipv6 is enabled for the internal `nextcloud-aio` network by running `sudo docker network inspect nextcloud-aio | grep EnableIPv6`. On a new instance, this command should return that it did not find a network with this name. Then you can run `sudo docker network create --subnet="fd12:3456:789a:2::/64" --driver bridge --ipv6 nextcloud-aio` in order to create the network with ipv6-support. However if it finds the network and its value `EnableIPv6` is set to false, make sure to follow https://github.com/nextcloud/all-in-one/discussions/2045 in order to recreate the network and enable ipv6 for it.
3. Make sure that ipv6 is enabled for the internal `nextcloud-aio` network by running `sudo docker network inspect nextcloud-aio | grep EnableIPv6`. On a new instance, this command should return that it did not find a network with this name. Then you can run `sudo docker network create nextcloud-aio` in order to create the network with ipv6-support. However if it finds the network and its value `EnableIPv6` is set to false, make sure to follow https://github.com/nextcloud/all-in-one/discussions/4989 in order to recreate the network and enable ipv6 for it.
## Docker Desktop (Windows and macOS)
On Windows and macOS which use Docker Desktop, you need to go into the settings, and select `Docker Engine`. There you should see the currently used daemon.json file.
First of all upgrade your docker desktop installation to v4.32.0 or higher.
Then, on Windows and macOS which use Docker Desktop, you need to go into the settings, and select `Docker Engine`. There you should see the currently used daemon.json file.
1. You need to now adjust this json file by setting the `ipv6` key to `true` and the `fixed-cidr-v6` key to your IPv6 subnet. In this example we are setting it to `fd12:3456:789a:1::/64`. Additionally set `experimental` to `true` and `ip6tables` to `true` as well.
1. You need to now adjust this json file:
```
"ipv6": true,
"fixed-cidr-v6": "fd12:3456:789a:1::/64",
"experimental": true,
"ip6tables": true
"default-network-opts": {"bridge":{"com.docker.network.enable_ipv6":"true"}}
```
2. Add these values to the json and make sure to keep the other currently values and that you don't see `Unexpected token in JSON at position ...` before attempting to restart by clicking on `Apply & restart`.
3. Make sure that ipv6 is enabled for the internal `nextcloud-aio` network by running `docker network inspect nextcloud-aio`. On a new instance, this command should return that it did not find a network with this name. Then you can run `docker network create --subnet="fd12:3456:789a:2::/64" --driver bridge --ipv6 nextcloud-aio` in order to create the network with ipv6-support. However if it finds the network and its value `EnableIPv6` is set to false, make sure to follow https://github.com/nextcloud/all-in-one/discussions/2045 in order to recreate the network and enable ipv6 for it.
3. Make sure that ipv6 is enabled for the internal `nextcloud-aio` network by running `sudo docker network inspect nextcloud-aio | grep EnableIPv6`. On a new instance, this command should return that it did not find a network with this name. Then you can run `sudo docker network create nextcloud-aio` in order to create the network with ipv6-support. However if it finds the network and its value `EnableIPv6` is set to false, make sure to follow https://github.com/nextcloud/all-in-one/discussions/4989 in order to recreate the network and enable ipv6 for it.
---
**Note**: This is a copy of the original docker docs at https://docs.docker.com/config/daemon/ipv6/ which apparently are not correct. However experimental is set to true which the ip6tables feature needs. Thus it will not get included into the official docs. However it is needed to make it work in our testing.
**Note**: This is a copy of the original docker docs at https://docs.docker.com/config/daemon/ipv6/ which apparently are not correct.

View File

@@ -9,11 +9,29 @@ You can run AIO with docker rootless by following the steps below.
1. If you need ipv6 support, you should enable it by following https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md.
1. Do not forget to set the mentioned environmental variables `PATH` and `DOCKER_HOST` and in best case add them to your `~/.bashrc` file as shown!
1. Also do not forget to run `loginctl enable-linger USERNAME` (and substitute USERNAME with the correct one) in order to make sure that user services are automatically started after every reboot.
1. Expose the privileged ports by following https://docs.docker.com/engine/security/rootless/#exposing-privileged-ports. (`sudo setcap cap_net_bind_service=ep $(which rootlesskit); systemctl --user restart docker`)
1. Expose the privileged ports by following https://docs.docker.com/engine/security/rootless/#exposing-privileged-ports. (`sudo setcap cap_net_bind_service=ep $(which rootlesskit); systemctl --user restart docker`). If you require the correct source IP you must expose them via `/etc/sysctl.conf`, [see note below](#note-regarding-docker-network-driver).
1. Use the official AIO startup command but use `--volume $XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock:ro` instead of `--volume /var/run/docker.sock:/var/run/docker.sock:ro` and also add `--env WATCHTOWER_DOCKER_SOCKET_PATH=$XDG_RUNTIME_DIR/docker.sock` to the initial container startup (which is needed for mastercontainer updates to work correctly). When you are using Portainer to deploy AIO, the variable `$XDG_RUNTIME_DIR` is not available. In this case, it is necessary to manually add the path (e.g. `/run/user/1000/docker.sock`) to the Docker compose file to replace the `$XDG_RUNTIME_DIR` variable. If you are not sure how to get the path, you can run on the host: `echo $XDG_RUNTIME_DIR`.
1. Now everything should work like without docker rootless. You can consider using docker-compose for this or running it behind a reverse proxy. Basically the only thing that needs to be adjusted always in the startup command or compose.yaml file (after installing docker rootles) are things that are mentioned in point 3.
1. ⚠️ **Important:** Please read through all notes below!
**Please note:** All files outside the containers get created, written to and accessed as the user that is running the docker daemon or a subuid of it. So for the built-in backup to work you need to allow this user to write to the target directory. E.g. with `sudo chown -R USERNAME:GROUPNAME /mnt/backup`. The same applies when changing Nextcloud's datadir. E.g. `sudo chown -R USERNAME:GROUPNAME /mnt/ncdata`. When you want to use the NEXTCLOUD_MOUNT option for local external storage, you need to adjust the permissions of the chosen folders to be accessible/writeable by the userid `100032:100032` (if running `grep ^$(whoami): /etc/subuid` as the user that is running the docker daemon returns 100000 as first value).
### Note regarding sudo in the documentation
Almost all commands in this project's documentation use `sudo docker ...`. Since `sudo` is not needed in case of docker rootless, you simply remove `sudo` from the commands and they should work.
⚠️ **Additional note:** Almost all commands in this project's documentation use `sudo docker ...`. Since `sudo` is not needed in case of docker rootless, you simply remove `sudo` from the commands and they should work.
### Note regarding permissions
All files outside the containers get created, written to and accessed as the user that is running the docker daemon or a subuid of it. So for the built-in backup to work you need to allow this user to write to the target directory. E.g. with `sudo chown -R USERNAME:GROUPNAME /mnt/backup`. The same applies when changing Nextcloud's datadir. E.g. `sudo chown -R USERNAME:GROUPNAME /mnt/ncdata`. When you want to use the NEXTCLOUD_MOUNT option for local external storage, you need to adjust the permissions of the chosen folders to be accessible/writeable by the userid `100032:100032` (if running `grep ^$(whoami): /etc/subuid` as the user that is running the docker daemon returns 100000 as first value).
### Note regarding docker network driver
By default rootless docker uses the `slirp4netns` IP driver and the `builtin` port driver. As mentioned in [the documentation](https://docs.docker.com/engine/security/rootless/#networking-errors), this combination doesn't provide "Source IP propagation". This means that Apache and Nextcloud will see all connections as coming from the docker gateway (e.g 172.19.0.1), which can lead to the Nextcloud brute force protection blocking all connection attempts. To expose the correct source IP, you will need to configure docker to also use `slirp4netns` as the port driver (see also [this guide](https://rootlesscontaine.rs/getting-started/docker/#changing-the-port-forwarder)).
As stated in the documentation, this change will likely lead to decreased network throughput. You should test this by trying to transfer a large file after completing your setup and revert back to the `builtin` port driver if the throughput is too slow.
* Add `net.ipv4.ip_unprivileged_port_start=80` to `/etc/sysctl.conf`. Editing this file requires root privileges. (using capabilities doesn't work here; see [this issue](https://github.com/rootless-containers/slirp4netns/issues/251#issuecomment-761415404)).
* Run `sudo sysctl --system` to propagate the change.
* Create `~/.config/systemd/user/docker.service.d/override.conf`
with the following content:
```
[Service]
Environment="DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=slirp4netns"
```
* Restart the docker daemon
```
systemctl --user restart docker
```

View File

@@ -24,6 +24,7 @@ services:
environment:
- NC_DOMAIN=${NC_DOMAIN}
- NEXTCLOUD_HOST=nextcloud-aio-nextcloud
- APACHE_HOST=nextcloud-aio-apache
- COLLABORA_HOST=nextcloud-aio-collabora
- TALK_HOST=nextcloud-aio-talk
- APACHE_PORT=${APACHE_PORT}
@@ -133,6 +134,7 @@ services:
- TALK_PORT=${TALK_PORT}
- IMAGINARY_ENABLED=${IMAGINARY_ENABLED}
- IMAGINARY_HOST=nextcloud-aio-imaginary
- CLAMAV_MAX_SIZE=${APACHE_MAX_SIZE}
- PHP_UPLOAD_LIMIT=${NEXTCLOUD_UPLOAD_LIMIT}
- PHP_MEMORY_LIMIT=${NEXTCLOUD_MEMORY_LIMIT}
- FULLTEXTSEARCH_ENABLED=${FULLTEXTSEARCH_ENABLED}
@@ -149,7 +151,6 @@ services:
- FULLTEXTSEARCH_PASSWORD=${FULLTEXTSEARCH_PASSWORD}
- REMOVE_DISABLED_APPS=${REMOVE_DISABLED_APPS}
- APACHE_PORT=${APACHE_PORT}
- APACHE_IP_BINDING=${APACHE_IP_BINDING}
- IMAGINARY_SECRET=${IMAGINARY_SECRET}
stop_grace_period: 600s
restart: unless-stopped
@@ -218,6 +219,7 @@ services:
- nextcloud-aio
cap_add:
- MKNOD
- SYS_ADMIN
cap_drop:
- NET_RAW
@@ -231,6 +233,7 @@ services:
- "8081"
environment:
- NC_DOMAIN=${NC_DOMAIN}
- TALK_HOST=nextcloud-aio-talk
- TURN_SECRET=${TURN_SECRET}
- SIGNALING_SECRET=${SIGNALING_SECRET}
- TZ=${TIMEZONE}
@@ -282,6 +285,7 @@ services:
- "3310"
environment:
- TZ=${TIMEZONE}
- MAX_SIZE=${NEXTCLOUD_UPLOAD_LIMIT}
- CLAMD_STARTUP_TIMEOUT=90
volumes:
- nextcloud_aio_clamav:/var/lib/clamav:rw
@@ -385,13 +389,6 @@ volumes:
nextcloud_aio_nextcloud_data:
name: nextcloud_aio_nextcloud_data
# Inspired by https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml
networks:
nextcloud-aio:
name: nextcloud-aio
driver: bridge
enable_ipv6: true
ipam:
driver: default
config:
- subnet: ${IPV6_NETWORK}

View File

@@ -22,27 +22,28 @@ First, install docker and docker-compose (v2) if not already done. Then simply r
git clone https://github.com/nextcloud/all-in-one.git
cd all-in-one/manual-install
```
Then copy the sample.conf to default environment file, e.g. `cp sample.conf .env`, open the new conf file, e.g. with `nano .env`, edit all values that are marked with `# TODO!`, close and save the file. (Note: there is no clamav image for arm64).
Then copy the sample.conf to default environment file, e.g. `cp sample.conf .env`, open the new conf file, e.g. with `nano .env`, edit all values that are marked with `# TODO!`, close and save the file. (Note: there is no clamav image for arm64).<br>
⚠️ **Warning**: Do not use the symbols `@` and `:` in your passwords. These symbols are used to build database connection strings. You will experience issues when using these symbols!
Now copy the provided yaml file to a compose.yaml file by running `cp latest.yml compose.yaml`.
Now you should be ready to go with `sudo docker-compose up`.
Now you should be ready to go with `sudo docker compose up`.
## Docker profiles
The default profile of `latest.yml` only provide the minimum necessary services: nextcloud, database, redis and apache. To get optional services collabora, talk, talk-recording, clamav, imaginary or fulltextsearch use additional arguments for each of them, for example `--profile collabora`. (Note: there is no clamav image for arm64).
For a complete all-in-one with collabora use `sudo docker-compose --profile collabora --profile talk --profile talk-recording --profile clamav --profile imaginary --profile fulltextsearch up`. (Note: there is no clamav image for arm64).
For a complete all-in-one with collabora use `sudo docker compose --profile collabora --profile talk --profile talk-recording --profile clamav --profile imaginary --profile fulltextsearch up`. (Note: there is no clamav image for arm64).
## How to update?
Since the AIO containers may change in the future, it is highly recommended to strictly follow the following procedure whenever you want to upgrade your containers.
1. If your previous copy of `sample.conf` is named `my.conf`, run `mv -vn my.conf .env` in order to rename the file to `.env`.
1. Run `sudo docker-compose down` to stop all running containers
1. Run `sudo docker compose down` to stop all running containers
1. Back up all important files and folders
1. If your compose file is still named `docker-compose.yml` rename it to `compose.yaml` by running `mv -vn docker-compose.yml compose.yaml`
1. Run `git pull` in order to get the updated yaml files from the repository. Now bring your `compose.yaml` file up-to-date with the updated one from the repository. You can use `diff compose.yaml latest.yml` for comparing. ⚠️ **Please note**: Starting with AIO v5.1.0, ipv6 networking will be enabled by default, so make sure to either enable it first by following steps 1 and 2 of https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md and then proceed with the steps below or disable ipv6 networking by editing the compose.yaml file and removing ipv6 from the network.
1. Also have a look at the `sample.conf` if any variable was added or renamed and add that to your conf file as well. Here may help the diff command as well.
1. After the file update was successful, simply run `sudo docker-compose pull` to pull the new images.
1. At the end run `sudo docker-compose up` in order to start and update the containers with the new configuration.
1. After the file update was successful, simply run `sudo docker compose pull` to pull the new images.
1. At the end run `sudo docker compose up` in order to start and update the containers with the new configuration.
## FAQ
### Backup and restore?

View File

@@ -19,9 +19,9 @@ ONLYOFFICE_ENABLED="no" # Setting this to "yes" (with quotes) enables t
TALK_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
TALK_RECORDING_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
APACHE_IP_BINDING=0.0.0.0 # This can be changed to e.g. 127.0.0.1 if you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) and if that is running on the same host and using localhost to connect
APACHE_IP_BINDING=0.0.0.0 # This can be changed to e.g. 127.0.0.1 if you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) and if that is running on the same host and using localhost to connect
APACHE_MAX_SIZE=10737418240 # This needs to be an integer and in sync with NEXTCLOUD_UPLOAD_LIMIT
APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else).
APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else).
COLLABORA_DICTIONARIES="de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru" # You can change this in order to enable other dictionaries for collabora
COLLABORA_SECCOMP_POLICY=--o:security.seccomp=true # Changing the value to false allows to disable the seccomp feature of the Collabora container.
INSTALL_LATEST_MAJOR=no # Setting this to yes will install the latest Major Nextcloud version upon the first installation
@@ -37,4 +37,3 @@ NEXTCLOUD_UPLOAD_LIMIT=10G # This allows to change the upload limit of
REMOVE_DISABLED_APPS=yes # Setting this to no keep Nextcloud apps that are disabled via their switch and not uninstall them if they should be installed in Nextcloud.
TALK_PORT=3478 # This allows to adjust the port that the talk container is using.
UPDATE_NEXTCLOUD_APPS="no" # When setting to "yes" (with quotes), it will automatically update all installed Nextcloud apps upon container startup on saturdays.
IPV6_NETWORK=fd12:3456:789a:2::/64 # IPv6 subnet to use

View File

@@ -82,8 +82,8 @@ sed -i 's|APACHE_MAX_SIZE=|APACHE_MAX_SIZE=10737418240 # This needs to
sed -i 's|NEXTCLOUD_MAX_TIME=|NEXTCLOUD_MAX_TIME=3600 # This allows to change the upload time limit of the Nextcloud container|' sample.conf
sed -i 's|NEXTCLOUD_TRUSTED_CACERTS_DIR=|NEXTCLOUD_TRUSTED_CACERTS_DIR=/usr/local/share/ca-certificates/my-custom-ca # Nextcloud container will trust all the Certification Authorities, whose certificates are included in the given directory.|' sample.conf
sed -i 's|UPDATE_NEXTCLOUD_APPS=|UPDATE_NEXTCLOUD_APPS="no" # When setting to "yes" (with quotes), it will automatically update all installed Nextcloud apps upon container startup on saturdays.|' sample.conf
sed -i 's|APACHE_PORT=|APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else).|' sample.conf
sed -i 's|APACHE_IP_BINDING=|APACHE_IP_BINDING=0.0.0.0 # This can be changed to e.g. 127.0.0.1 if you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) and if that is running on the same host and using localhost to connect|' sample.conf
sed -i 's|APACHE_PORT=|APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else).|' sample.conf
sed -i 's|APACHE_IP_BINDING=|APACHE_IP_BINDING=0.0.0.0 # This can be changed to e.g. 127.0.0.1 if you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) and if that is running on the same host and using localhost to connect|' sample.conf
sed -i 's|TALK_PORT=|TALK_PORT=3478 # This allows to adjust the port that the talk container is using.|' sample.conf
sed -i 's|NC_DOMAIN=|NC_DOMAIN=yourdomain.com # TODO! Needs to be changed to the domain that you want to use for Nextcloud.|' sample.conf
sed -i 's|NEXTCLOUD_PASSWORD=|NEXTCLOUD_PASSWORD= # TODO! This is the password of the initially created Nextcloud admin with username "admin".|' sample.conf
@@ -95,7 +95,6 @@ sed -i 's|NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=|NEXTCLOUD_ADDITIONAL_PHP_EXTENSIO
sed -i 's|INSTALL_LATEST_MAJOR=|INSTALL_LATEST_MAJOR=no # Setting this to yes will install the latest Major Nextcloud version upon the first installation|' sample.conf
sed -i 's|REMOVE_DISABLED_APPS=|REMOVE_DISABLED_APPS=yes # Setting this to no keep Nextcloud apps that are disabled via their switch and not uninstall them if they should be installed in Nextcloud.|' sample.conf
sed -i 's|=$|= # TODO! This needs to be a unique and good password!|' sample.conf
echo 'IPV6_NETWORK=fd12:3456:789a:2::/64 # IPv6 subnet to use' >> sample.conf
grep '# TODO!' sample.conf > todo.conf
grep -v '# TODO!\|_ENABLED' sample.conf > temp.conf
@@ -139,16 +138,9 @@ done
cat << NETWORK >> containers.yml
# Inspired by https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml
networks:
nextcloud-aio:
name: nextcloud-aio
driver: bridge
enable_ipv6: true
ipam:
driver: default
config:
- subnet: \${IPV6_NETWORK}
NETWORK
cat containers.yml > latest.yml

View File

@@ -1,26 +1,123 @@
# Manual upgrade
If you do not install any upgrade for around 6-12 months or longer, it can happen that your instance is so outdated that in the meantime the PHP version of the Nextcloud container got bumped to a version that is not compatible with your currently installed Nextcloud version which means that after doing an upgrade after this long time, Nextcloud will suddenly not work anymore. There is unfortunately no way to fix this from the maintainer side if you refrain from upgrading for so long.
If you do not update Nextcloud AIO for a long time (6+ months), when you eventually update in the AIO interface you will find Nextcloud no longer works. This is due to incompatible PHP versions within the nextcloud container.
There is unfortunately no way to fix this from a maintainer POV if you refrain from upgrading for so long.
The only way to fix this on your side is upgrading regularly (e.g. by enabling daily backups which will also automatically upgrade all containers) and following the steps below:
The only way to fix this on your side is upgrading regularly (e.g. by enabling daily backups which will also automatically upgrade all containers) and following the steps below to get back to a normal state:
1. Start all containers from the aio interface (now, it will report that Nextcloud is restarting because it is not able to start due to the above mentioned problem)
1. Do **not** click on `Stop containers` because you will need them running going forward, see below
1. Find out with which PHP version your installed Nextcloud is compatible by running `sudo docker exec nextcloud-aio-nextcloud cat lib/versioncheck.php`. (There you will find information about the max. supported PHP version.)
---
1. Stop the Nextcloud container and the Apache container by running `sudo docker stop nextcloud-aio-nextcloud && sudo docker stop nextcloud-aio-apache`.
1. Run the following commands in order to reverse engineer the Nextcloud container:
## Method 1
1. Start all containers from the AIO interface
- Now, it will report that Nextcloud is restarting because it is not able to start due to the above mentioned problem
- #### Do **not** click on `Stop containers` because you will need them running going forward, see below
2. Find out with which PHP version your installed Nextcloud is compatible by running `sudo docker exec nextcloud-aio-nextcloud cat lib/versioncheck.php`.
- There you will find information about the max. supported PHP version
- **Make a mental note of this**
3. Stop the Nextcloud container and the Apache container by running
```bash
sudo docker stop nextcloud-aio-nextcloud && sudo docker stop nextcloud-aio-apache
```
4. Run the following commands in order to reverse engineer the Nextcloud container:
```bash
sudo docker pull assaflavie/runlike
echo '#!/bin/bash' > /tmp/nextcloud-aio-nextcloud
sudo docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike -p nextcloud-aio-nextcloud >> /tmp/nextcloud-aio-nextcloud
sudo chown root:root /tmp/nextcloud-aio-nextcloud
```
1. Now open the file with e.g. nano: `sudo nano /tmp/nextcloud-aio-nextcloud` and change the line that should probably be `nextcloud/aio-nextcloud:latest` on x64 or `nextcloud/aio-nextcloud:latest-arm64` on arm64 to the highest compatible PHP version: E.g. `nextcloud/aio-nextcloud:php8.0-latest`. Then save the file and close it with `[Ctrl]+[o]` -> `[Enter]` and `[Ctrl]+[x]`.
1. After doing so, remove the Nextcloud container with `sudo docker rm nextcloud-aio-nextcloud`.
1. Now start the Nextcloud container with the new tag by simply running `sudo bash /tmp/nextcloud-aio-nextcloud` which at startup should automatically upgrade Nextcloud to a more recent version. If not, make sure that there is no `skip.update` file in the Nextcloud datadir. If there is such a file, simply delete the file and restart the container again.<br>
5. Now open `/tmp/nextcloud-aio-nextcloud` with a text editor, and edit the container tag:
| To change | Replace with |
|----------------------------------------|-----------------------------------------------------|
| `nextcloud/aio-nextcloud:latest` | `nextcloud/aio-nextcloud:php{version}-latest` |
| `nextcloud/aio-nextcloud:latest-arm64` | `nextcloud/aio-nextcloud:php{version}-latest-arm64` |
- e.g. `nextcloud/aio-nextcloud:php8.0-latest` or `nextcloud/aio-nextcloud:php8.0-latest-arm64`
- However, if you are unsure check the docker hub (https://hub.docker.com/r/nextcloud/aio-nextcloud/tags)
- Using nano and the arrow keys to navigate:
- `sudo nano /tmp/nextcloud-aio-nextcloud` making changes as above, then `[Ctrl]+[o]` -> `[Enter]` and `[Ctrl]+[x]` to save and exit.
6. Next, stop and remove the current container:
```bash
sudo docker stop nextcloud-aio-nextcloud
sudo docker rm nextcloud-aio-nextcloud
```
7. Now start the Nextcloud container with the new tag by simply running `sudo bash /tmp/nextcloud-aio-nextcloud` which at startup should automatically upgrade Nextcloud to a more recent version. If not, make sure that there is no `skip.update` file in the Nextcloud datadir. If there is such a file, simply delete the file and restart the container again.<br>
**Info**: You can open the Nextcloud container logs with `sudo docker logs -f nextcloud-aio-nextcloud`.
1. After the Nextcloud container is started (you can tell by looking at the logs), simply restart the container again with `sudo docker restart nextcloud-aio-nextcloud` until it does not install a new Nextcloud update anymore upon the container startup.
1. Now, you should be able to use the AIO interface again by simply stopping the AIO containers and starting them again which should finally bring up your instance again.
1. If not and if you get the same error again, you may repeat the process starting from the beginning again until your Nextcloud version is finally up-to-date.
1. Now, if everything is finally running as usual again, it is recommended to create a backup in order to save the current state. Also you should think about enabling daily backups if doing regularl upgrades is too much effort for you.
8. After the Nextcloud container is started (you can tell by looking at the logs), simply restart the container again with `sudo docker restart nextcloud-aio-nextcloud` until it does not install a new Nextcloud update anymore upon the container startup.
9. Now, you should be able to use the AIO interface again by simply stopping the AIO containers and starting them again which should finally bring up your instance again.
10. If not and if you get the same error again, you may repeat the process starting from the beginning again until your Nextcloud version is finally up-to-date.
11. Now, if everything is finally running as usual again, it is recommended to create a backup in order to save the current state. Consider enabling daily backups if doing regular upgrades is a hassle for you.
---
## Method 2
#### *Approach using portainer if method 1 does not work for you*
Prerequisite: have all containers from AIO interface running.
<details>
<summary>Click to expand</summary>
##### 1. Install portainer if not installed:
```bash
docker volume create portainer_data
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
```
- If you have a reverse proxy
- you can setup and navigate using a domain name.
- For the **standard** AIO install
- Open port 9443 on your firewall
- navigate to `https://<server-ip>:9443`
- Accept the insecure self-signed certificate and set an admin password
- If prompted to add an environment
- add local
##### 2. Within the local portainer environment navigate to the **containers** tab
- Here you should see all the various containers running
##### 3. Now we need to stop the `nextcloud-aio-nextcloud` and `nextcloud-aio-apache` containers
- This can be done by selecting the checkbox's next to the containers' name and clicking the **Stop** button at the top
- or you can click into individual containers and stop them there
##### 4. Find the version of PHP compatible with the running nextcloud container
- navigate to ```nextcloud-aio-nextcloud``` and click on ```logs```, you should see something along the lines of:
```logs
This version of nextcloud is not compatible with >=php 8.2, you are currently running php 8.2.18
```
Make **note** of the version which is compatible, rounding down to 1 digit after the dot.
- In this example we would want php 8.1 since anything with 8.2 or above is incompatible
##### 5. Find the correct container version
In general it should be ```nextcloud/aio-nextcloud:php8.x-latest-arm64``` or `nextcloud/aio-nextcloud:php8.x-latest` replacing `x` with the version you require.
However, if you are unsure check the docker hub (https://hub.docker.com/r/nextcloud/aio-nextcloud/tags)
##### 6. Replace the container
- Navigate to the ```nextcloud-aio-nextcloud``` container within portainer
- Click ```Duplicate/Edit```
- Within image, change this to the correct version from Step 5
- Click ```Deploy the container```
- if you are prompted to force repull the image click the slider and press pull image
*Navigate to the nextcloud-aio-nextcloud logs and you will see the container updating*
Once you see no more activities in the logs or a message like ```NOTICE: ready to handle connections```, we've done it!
#### Now you can handle everything through the AIO admin interface and stop and restart the containers normally.
---
##### 7. Last Step is removing portainer if you don't want to keep it
```bash
docker stop portainer
docker rm portainer
docker volume rm portainer_data
```
- Make sure you close port 9443 on your firewall and delete any necessary reverse proxy hosts.
</details>

View File

@@ -2,12 +2,12 @@
There are basically three ways how to migrate from an already existing Nextcloud installation to Nextcloud AIO:
1. Migrate only the files which is the easiest way
1. Migrate only the files which is the easiest way (this excludes all calendar data for example)
1. Migrate the files and the database which is much more complicated (and doesn't work on former snap installations)
1. Use the user_migration app that allows to migrate some of the user's data from a former instance to a new instance but needs to be done manually for each user
## Migrate only the files
**Please note**: If you used groupfolders or encrypted your files before, you will need to restore the database, as well!
**Please note**: If you used groupfolders or encrypted your files before, you will need to restore the database, as well! (This will also exclude all calendar data for example).
The procedure for migrating only the files works like this:
1. Take a backup of your former instance (especially from your datadirectory, see `'datadirectory'` in your `config.php`)

View File

@@ -1,6 +1,6 @@
name: nextcloud-aio-helm-chart
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 8.3.0
version: 9.4.1
apiVersion: v2
keywords:
- latest

View File

@@ -18,13 +18,14 @@ You can run the containers that are build for AIO with Kubernetes using this Hel
## How to use this?
First download this file: https://raw.githubusercontent.com/nextcloud/all-in-one/main/nextcloud-aio-helm-chart/values.yaml and adjust at least all values marked with `# TODO!`
First download this file: https://raw.githubusercontent.com/nextcloud/all-in-one/main/nextcloud-aio-helm-chart/values.yaml and adjust at least all values marked with `# TODO!`<br>
⚠️ **Warning**: Do not use the symbols `@` and `:` in your passwords. These symbols are used to build database connection strings. You will experience issues when using these symbols!
Then run:
```
helm repo add nextcloud-aio https://nextcloud.github.io/all-in-one/
helm install my-release nextcloud-aio/nextcloud-aio-helm-chart -f values.yaml
helm install nextcloud-aio nextcloud-aio/nextcloud-aio-helm-chart -f values.yaml
```
And after a while, everything should be set up.

View File

@@ -25,11 +25,7 @@ spec:
spec:
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -44,6 +40,8 @@ spec:
- env:
- name: ADDITIONAL_TRUSTED_DOMAIN
value: "{{ .Values.ADDITIONAL_TRUSTED_DOMAIN }}"
- name: APACHE_HOST
value: nextcloud-aio-apache
- name: APACHE_MAX_SIZE
value: "{{ .Values.APACHE_MAX_SIZE }}"
- name: APACHE_MAX_TIME
@@ -64,7 +62,7 @@ spec:
value: nextcloud-aio-talk
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-apache:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-apache:20240808_083748"
name: nextcloud-aio-apache
ports:
- containerPort: {{ .Values.APACHE_PORT }}

View File

@@ -26,11 +26,7 @@ spec:
spec:
initContainers:
- name: init-subpath
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- mkdir
- "-p"
@@ -40,11 +36,7 @@ spec:
- name: nextcloud-aio-clamav
mountPath: /nextcloud-aio-clamav
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chown
- 100:100
@@ -57,9 +49,11 @@ spec:
- env:
- name: CLAMD_STARTUP_TIMEOUT
value: "90"
- name: MAX_SIZE
value: "{{ .Values.NEXTCLOUD_UPLOAD_LIMIT }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-clamav:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-clamav:20240808_083748"
name: nextcloud-aio-clamav
ports:
- containerPort: 3310

View File

@@ -36,7 +36,7 @@ spec:
value: --o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true {{ .Values.COLLABORA_SECCOMP_POLICY }} --o:remote_font_config.url=https://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json
- name: server_name
value: "{{ .Values.NC_DOMAIN }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-collabora:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-collabora:20240808_083748"
name: nextcloud-aio-collabora
ports:
- containerPort: 9980
@@ -45,6 +45,7 @@ spec:
capabilities:
add:
- MKNOD
- SYS_ADMIN
drop:
- NET_RAW
{{- end }}

View File

@@ -25,11 +25,7 @@ spec:
spec:
initContainers:
- name: init-subpath
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- mkdir
- "-p"
@@ -42,11 +38,7 @@ spec:
- name: nextcloud-aio-database
mountPath: /nextcloud-aio-database
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chown
- 999:999
@@ -70,7 +62,7 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-postgresql:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-postgresql:20240808_083748"
name: nextcloud-aio-database
ports:
- containerPort: 5432

View File

@@ -26,11 +26,7 @@ spec:
spec:
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -60,7 +56,7 @@ spec:
value: basic
- name: xpack.security.enabled
value: "false"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-fulltextsearch:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-fulltextsearch:20240808_083748"
name: nextcloud-aio-fulltextsearch
ports:
- containerPort: 9200

View File

@@ -28,7 +28,7 @@ spec:
value: "{{ .Values.IMAGINARY_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-imaginary:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-imaginary:20240808_083748"
name: nextcloud-aio-imaginary
ports:
- containerPort: 9000

View File

@@ -1,4 +1,4 @@
{{- if ne .Values.NAMESPACE "default" }}
{{- if and (ne .Values.NAMESPACE "default") (ne .Values.NAMESPACE_DISABLED "yes") }}
apiVersion: v1
kind: Namespace
metadata:

View File

@@ -0,0 +1,20 @@
{{- if eq .Values.NETWORK_POLICY_ENABLED "yes" }}
# https://github.com/ahmetb/kubernetes-network-policy-recipes/blob/master/04-deny-traffic-from-other-namespaces.md
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
namespace: "{{ .Values.NAMESPACE }}"
name: nextcloud-aio-deny-from-other-namespaces
spec:
podSelector:
matchLabels:
policyTypes:
- Ingress
- Egress
ingress:
- from:
- podSelector: {}
egress:
- to:
- podSelector: {}
{{- end }}

View File

@@ -25,11 +25,7 @@ spec:
spec:
initContainers:
- name: "delete-lost-found"
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- rm
- "-rf"
@@ -40,11 +36,7 @@ spec:
- name: nextcloud-aio-nextcloud
mountPath: /nextcloud-aio-nextcloud
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -85,6 +77,8 @@ spec:
value: "{{ .Values.SERVERINFO_TOKEN }}"
- name: NEXTCLOUD_DEFAULT_QUOTA
value: "{{ .Values.NEXTCLOUD_DEFAULT_QUOTA }}"
- name: NEXTCLOUD_MAINTENANCE_WINDOW
value: "{{ .Values.NEXTCLOUD_MAINTENANCE_WINDOW }}"
- name: ADDITIONAL_APKS
value: "{{ .Values.NEXTCLOUD_ADDITIONAL_APKS }}"
- name: ADDITIONAL_PHP_EXTENSIONS
@@ -99,6 +93,8 @@ spec:
value: "{{ .Values.CLAMAV_ENABLED }}"
- name: CLAMAV_HOST
value: nextcloud-aio-clamav
- name: CLAMAV_MAX_SIZE
value: "{{ .Values.APACHE_MAX_SIZE }}"
- name: COLLABORA_ENABLED
value: "{{ .Values.COLLABORA_ENABLED }}"
- name: COLLABORA_HOST
@@ -173,7 +169,7 @@ spec:
value: "{{ .Values.TIMEZONE }}"
- name: UPDATE_NEXTCLOUD_APPS
value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-nextcloud:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-nextcloud:20240808_083748"
name: nextcloud-aio-nextcloud
ports:
- containerPort: 9000

View File

@@ -25,11 +25,7 @@ spec:
spec:
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -57,7 +53,7 @@ spec:
value: nextcloud-aio-redis
- name: REDIS_HOST_PASSWORD
value: "{{ .Values.REDIS_PASSWORD }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-notify-push:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-notify-push:20240808_083748"
name: nextcloud-aio-notify-push
ports:
- containerPort: 7867

View File

@@ -26,11 +26,7 @@ spec:
spec:
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -48,7 +44,7 @@ spec:
value: "{{ .Values.ONLYOFFICE_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-onlyoffice:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-onlyoffice:20240808_083748"
name: nextcloud-aio-onlyoffice
ports:
- containerPort: 80

View File

@@ -25,11 +25,7 @@ spec:
spec:
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -43,7 +39,7 @@ spec:
value: "{{ .Values.REDIS_PASSWORD }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-redis:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-redis:20240808_083748"
name: nextcloud-aio-redis
ports:
- containerPort: 6379

View File

@@ -34,13 +34,15 @@ spec:
value: "{{ .Values.NC_DOMAIN }}"
- name: SIGNALING_SECRET
value: "{{ .Values.SIGNALING_SECRET }}"
- name: TALK_HOST
value: nextcloud-aio-talk
- name: TALK_PORT
value: "{{ .Values.TALK_PORT }}"
- name: TURN_SECRET
value: "{{ .Values.TURN_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk:20240808_083748"
name: nextcloud-aio-talk
ports:
- containerPort: {{ .Values.TALK_PORT }}

View File

@@ -32,7 +32,7 @@ spec:
value: "{{ .Values.RECORDING_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk-recording:20240606_075829-latest"
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk-recording:20240808_083748"
name: nextcloud-aio-talk-recording
ports:
- containerPort: 1234

View File

@@ -28,7 +28,7 @@ sed -i 's|^|export |' /tmp/sample.conf
source /tmp/sample.conf
rm /tmp/sample.conf
sed -i '/OVERWRITEHOST/d' latest.yml
sed -i "s|:latest$|:$DOCKER_TAG-latest|" latest.yml
sed -i "s|:latest$|:$DOCKER_TAG|" latest.yml
sed -i "s|\${APACHE_IP_BINDING}:||" latest.yml
sed -i '/APACHE_IP_BINDING/d' latest.yml
sed -i "s|\${APACHE_PORT}:\${APACHE_PORT}/|$APACHE_PORT:$APACHE_PORT/|" latest.yml
@@ -59,11 +59,7 @@ find ./ -name '*networkpolicy.yaml' -exec sed -i "s|manual-install-nextcloud-aio
cat << EOL > /tmp/initcontainers
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -72,22 +68,14 @@ EOL
cat << EOL > /tmp/initcontainers.database
initContainers:
- name: init-subpath
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- mkdir
- "-p"
- /nextcloud-aio-database/data
volumeMountsInitContainer:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chown
- 999:999
@@ -97,22 +85,14 @@ EOL
cat << EOL > /tmp/initcontainers.clamav
initContainers:
- name: init-subpath
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- mkdir
- "-p"
- /nextcloud-aio-clamav/data
volumeMountsInitContainer:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chown
- 100:100
@@ -122,10 +102,7 @@ EOL
cat << EOL > /tmp/initcontainers.nextcloud
initContainers:
- name: "delete-lost-found"
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
{{- end }}
command:
- rm
@@ -133,11 +110,7 @@ cat << EOL > /tmp/initcontainers.nextcloud
- "/nextcloud-aio-nextcloud/lost+found"
volumeMountsInitRmLostFound:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
command:
- chmod
- "777"
@@ -246,7 +219,7 @@ find ./ \( -not -name '*service.yaml' -name '*.yaml' \) -exec sed -i "/^status:/
# shellcheck disable=SC1083
find ./ \( -not -name '*persistentvolumeclaim.yaml' -name '*.yaml' \) -exec sed -i "/resources:/d" \{} \;
# shellcheck disable=SC1083
find ./ -name "*namespace.yaml" -exec sed -i "1i\\{{- if ne .Values.NAMESPACE \"default\" }}" \{} \;
find ./ -name "*namespace.yaml" -exec sed -i "1i\\{{- if and \(ne .Values.NAMESPACE \"default\"\) \(ne .Values.NAMESPACE_DISABLED \"yes\"\) }}" \{} \;
# shellcheck disable=SC1083
find ./ -name "*namespace.yaml" -exec sed -i "$ a {{- end }}" \{} \;
# shellcheck disable=SC1083
@@ -290,6 +263,8 @@ cat << EOL > /tmp/additional.config
value: "{{ .Values.SERVERINFO_TOKEN }}"
- name: NEXTCLOUD_DEFAULT_QUOTA
value: "{{ .Values.NEXTCLOUD_DEFAULT_QUOTA }}"
- name: NEXTCLOUD_MAINTENANCE_WINDOW
value: "{{ .Values.NEXTCLOUD_MAINTENANCE_WINDOW }}"
EOL
# shellcheck disable=SC1083
find ./ -name '*nextcloud-deployment.yaml' -exec sed -i "/^.*\- env:/r /tmp/additional.config" \{} \;
@@ -315,6 +290,29 @@ find ./ -name '*talk-deployment.yaml' -exec sed -i "/^.*\- env:/r /tmp/additiona
# shellcheck disable=SC1083
find ./ -name '*deployment.yaml' -exec sed -i '/image: nextcloud/s/$/"/;s|image: nextcloud/|image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/|;' \{} \;
cat << EOL > templates/nextcloud-aio-networkpolicy.yaml
{{- if eq .Values.NETWORK_POLICY_ENABLED "yes" }}
# https://github.com/ahmetb/kubernetes-network-policy-recipes/blob/master/04-deny-traffic-from-other-namespaces.md
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
namespace: "{{ .Values.NAMESPACE }}"
name: nextcloud-aio-deny-from-other-namespaces
spec:
podSelector:
matchLabels:
policyTypes:
- Ingress
- Egress
ingress:
- from:
- podSelector: {}
egress:
- to:
- podSelector: {}
{{- end }}
EOL
cd ../
mkdir -p ../helm-chart/
rm latest/Chart.yaml
@@ -336,7 +334,6 @@ sed -i 's|= |: |' /tmp/sample.conf
sed -i '/^NEXTCLOUD_DATADIR/d' /tmp/sample.conf
sed -i '/^APACHE_IP_BINDING/d' /tmp/sample.conf
sed -i '/^NEXTCLOUD_MOUNT/d' /tmp/sample.conf
sed -i '/^IPV6_NETWORK/d' /tmp/sample.conf
sed -i '/_ENABLED.*/s/ yes / "yes" /' /tmp/sample.conf
sed -i '/_ENABLED.*/s/ no / "no" /' /tmp/sample.conf
sed -i 's|^NEXTCLOUD_TRUSTED_CACERTS_DIR: .*|NEXTCLOUD_TRUSTED_CACERTS_DIR: # Setting this to any value allows to automatically import root certificates into the Nextcloud container|' /tmp/sample.conf
@@ -355,12 +352,15 @@ sed -i "s|NEXTCLOUD_DATA_STORAGE_SIZE: 1Gi|NEXTCLOUD_DATA_STORAGE_SIZE: 5Gi|" /t
cat << ADDITIONAL_CONFIG >> /tmp/sample.conf
NAMESPACE: default # By changing this, you can adjust the namespace of the installation which allows to install multiple instances on one kubernetes cluster
NAMESPACE_DISABLED: "no" # By setting this to "yes", you can disabled the creation of the namespace so that you can use a pre-created one
NETWORK_POLICY_ENABLED: "no" # By setting this to "yes", you can enable a network policy that limits network access to the same namespace. ⚠️ Attention: this breaks if you use an ingress!!! So it should be disabled if you do so!
SUBSCRIPTION_KEY: # This allows to set the Nextcloud Enterprise key via ENV
SERVERINFO_TOKEN: # This allows to set the serverinfo app token for monitoring your Nextcloud via the serverinfo app
APPS_ALLOWLIST: # This allows to configure allowed apps that will be shown in Nextcloud's Appstore. You need to enter the app-IDs of the apps here and separate them with spaces. E.g. 'files richdocuments'
ADDITIONAL_TRUSTED_PROXY: # Allows to add one additional ip-address to Nextcloud's trusted proxies and to the Office WOPI-allowlist automatically. Set it e.g. like this: 'your.public.ip-address'. You can also use an ip-range here.
ADDITIONAL_TRUSTED_DOMAIN: # Allows to add one domain to Nextcloud's trusted domains and also generates a certificate automatically for it
NEXTCLOUD_DEFAULT_QUOTA: "10 GB" # Allows to adjust the default quota that will be taken into account in Nextcloud for new users. Setting it to "unlimited" will set it to unlimited
NEXTCLOUD_MAINTENANCE_WINDOW: # Allows to define the maintenance window for Nextcloud. See https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/background_jobs_configuration.html#parameters for possible values
SMTP_HOST: # (empty by default): The hostname of the SMTP server.
SMTP_SECURE: # (empty by default): Set to 'ssl' to use SSL, or 'tls' to use STARTTLS.
SMTP_PORT: # (default: '465' for SSL and '25' for non-secure connections): Optional port for the SMTP connection. Use '587' for an alternative port for STARTTLS.
@@ -372,9 +372,9 @@ MAIL_DOMAIN: # (not set by default): Set a different domain for the emai
TALK_MAX_STREAM_BITRATE: "1048576" # This allows to adjust the max stream bitrate of the talk hpb
TALK_MAX_SCREEN_BITRATE: "2097152" # This allows to adjust the max stream bitrate of the talk hpb
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry.
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry. It needs a trailing slash!
NEXTCLOUD_IMAGE_ORG: nextcloud # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
ALPINE_IMAGE_ORG: # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
ALPINE_IMAGE_ORG: # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons. It needs a trailing slash!
ADDITIONAL_CONFIG
mv /tmp/sample.conf ../helm-chart/values.yaml

View File

@@ -20,7 +20,7 @@ TALK_ENABLED: "no" # Setting this to "yes" (with quotes) enables the op
TALK_RECORDING_ENABLED: "no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
APACHE_MAX_SIZE: "10737418240" # This needs to be an integer and in sync with NEXTCLOUD_UPLOAD_LIMIT
APACHE_PORT: 443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else).
APACHE_PORT: 443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else).
COLLABORA_DICTIONARIES: de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru # You can change this in order to enable other dictionaries for collabora
COLLABORA_SECCOMP_POLICY: --o:security.seccomp=true # Changing the value to false allows to disable the seccomp feature of the Collabora container.
INSTALL_LATEST_MAJOR: no # Setting this to yes will install the latest Major Nextcloud version upon the first installation
@@ -48,12 +48,15 @@ ONLYOFFICE_STORAGE_SIZE: 1Gi # You can change the size of the onlyoffice v
REDIS_STORAGE_SIZE: 1Gi # You can change the size of the redis volume that default to 1Gi with this value
NAMESPACE: default # By changing this, you can adjust the namespace of the installation which allows to install multiple instances on one kubernetes cluster
NAMESPACE_DISABLED: "no" # By setting this to "yes", you can disabled the creation of the namespace so that you can use a pre-created one
NETWORK_POLICY_ENABLED: "no" # By setting this to "yes", you can enable a network policy that limits network access to the same namespace. ⚠️ Attention: this breaks if you use an ingress!!! So it should be disabled if you do so!
SUBSCRIPTION_KEY: # This allows to set the Nextcloud Enterprise key via ENV
SERVERINFO_TOKEN: # This allows to set the serverinfo app token for monitoring your Nextcloud via the serverinfo app
APPS_ALLOWLIST: # This allows to configure allowed apps that will be shown in Nextcloud's Appstore. You need to enter the app-IDs of the apps here and separate them with spaces. E.g. 'files richdocuments'
ADDITIONAL_TRUSTED_PROXY: # Allows to add one additional ip-address to Nextcloud's trusted proxies and to the Office WOPI-allowlist automatically. Set it e.g. like this: 'your.public.ip-address'. You can also use an ip-range here.
ADDITIONAL_TRUSTED_DOMAIN: # Allows to add one domain to Nextcloud's trusted domains and also generates a certificate automatically for it
NEXTCLOUD_DEFAULT_QUOTA: "10 GB" # Allows to adjust the default quota that will be taken into account in Nextcloud for new users. Setting it to "unlimited" will set it to unlimited
NEXTCLOUD_MAINTENANCE_WINDOW: # Allows to define the maintenance window for Nextcloud. See https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/background_jobs_configuration.html#parameters for possible values
SMTP_HOST: # (empty by default): The hostname of the SMTP server.
SMTP_SECURE: # (empty by default): Set to 'ssl' to use SSL, or 'tls' to use STARTTLS.
SMTP_PORT: # (default: '465' for SSL and '25' for non-secure connections): Optional port for the SMTP connection. Use '587' for an alternative port for STARTTLS.
@@ -65,6 +68,6 @@ MAIL_DOMAIN: # (not set by default): Set a different domain for the emai
TALK_MAX_STREAM_BITRATE: "1048576" # This allows to adjust the max stream bitrate of the talk hpb
TALK_MAX_SCREEN_BITRATE: "2097152" # This allows to adjust the max stream bitrate of the talk hpb
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry.
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry. It needs a trailing slash!
NEXTCLOUD_IMAGE_ORG: nextcloud # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
ALPINE_IMAGE_ORG: # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
ALPINE_IMAGE_ORG: # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons. It needs a trailing slash!

3
php/.gitignore vendored
View File

@@ -1,3 +0,0 @@
/php/data/configuration.json
/php/data/containers.json

8
php/.idea/.gitignore generated vendored
View File

@@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

34
php/.idea/aio.iml generated
View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="AIO\" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-server-middleware" />
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/psr7" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" />
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/guzzle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-client" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-message" />
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/promises" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-factory" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
<excludeFolder url="file://$MODULE_DIR$/vendor/http-interop/http-factory-guzzle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-server-handler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/slim/slim" />
<excludeFolder url="file://$MODULE_DIR$/vendor/ralouphie/getallheaders" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/fast-route" />
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/opis/closure" />
<excludeFolder url="file://$MODULE_DIR$/vendor/php-di/slim-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/php-di/invoker" />
<excludeFolder url="file://$MODULE_DIR$/vendor/php-di/php-di" />
<excludeFolder url="file://$MODULE_DIR$/vendor/php-di/phpdoc-reader" />
<excludeFolder url="file://$MODULE_DIR$/vendor/slim/twig-view" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/twig" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-ctype" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

8
php/.idea/modules.xml generated
View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/aio.iml" filepath="$PROJECT_DIR$/.idea/aio.iml" />
</modules>
</component>
</project>

34
php/.idea/php.xml generated
View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PhpIncludePathManager">
<include_path>
<path value="$PROJECT_DIR$/vendor/psr/http-server-middleware" />
<path value="$PROJECT_DIR$/vendor/guzzlehttp/psr7" />
<path value="$PROJECT_DIR$/vendor/psr/log" />
<path value="$PROJECT_DIR$/vendor/guzzlehttp/guzzle" />
<path value="$PROJECT_DIR$/vendor/psr/http-client" />
<path value="$PROJECT_DIR$/vendor/psr/http-message" />
<path value="$PROJECT_DIR$/vendor/guzzlehttp/promises" />
<path value="$PROJECT_DIR$/vendor/psr/http-factory" />
<path value="$PROJECT_DIR$/vendor/psr/container" />
<path value="$PROJECT_DIR$/vendor/http-interop/http-factory-guzzle" />
<path value="$PROJECT_DIR$/vendor/psr/http-server-handler" />
<path value="$PROJECT_DIR$/vendor/slim/slim" />
<path value="$PROJECT_DIR$/vendor/ralouphie/getallheaders" />
<path value="$PROJECT_DIR$/vendor/nikic/fast-route" />
<path value="$PROJECT_DIR$/vendor/composer" />
<path value="$PROJECT_DIR$/vendor/opis/closure" />
<path value="$PROJECT_DIR$/vendor/php-di/slim-bridge" />
<path value="$PROJECT_DIR$/vendor/php-di/invoker" />
<path value="$PROJECT_DIR$/vendor/php-di/php-di" />
<path value="$PROJECT_DIR$/vendor/php-di/phpdoc-reader" />
<path value="$PROJECT_DIR$/vendor/slim/twig-view" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
<path value="$PROJECT_DIR$/vendor/twig/twig" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.4">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
</project>

6
php/.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@@ -4,13 +4,60 @@ This is the code for the PHP Docker controller.
## How to run
Running this locally requires Docker Engine on the same machine.
If this is the case, just execute the following command:
Running this locally requires :
```
composer install --no-dev
cd public/
php -S 0.0.0.0:8080
### 1. Install the development environment
This project uses Composer as dependency management software. It is very similar to NPM.
The command to install all dependencies is:
```bash
composer install
```
You can then access the web interface at `localhost:8080`.
### 2. Access to docker socket
The `root` user has all privileges including access to the Docker socket.
But **it is not recommended to launch the local instance with full privileges**, consider the docker group for docker access without being `root`.
See https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
### 3. Run a `nextcloud-aio-mastercontainer` container
This application manages containers, including its own container.
So you need to run a `nextcloud-aio-mastercontainer` container for the application to work properly.
Here is a command to quickly launch a container :
```bash
docker run \
--rm \
--name nextcloud-aio-mastercontainer \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
nextcloud/all-in-one:latest
```
### 4. Start your server
With this command you will launch the server:
```bash
# Make sure to launch this command with a user having access to the docker socket.
SKIP_DOMAIN_VALIDATION=true composer run dev
```
You can then access the web interface at http://localhost:8080.
Note: You can restart the server by preceding the command with other environment variables.
## Composer routine
| Command | Description |
|-----------------------------------------|----------------------------------------|
| `composer run dev` | Starts the development server |
| `composer run psalm` | Run Psalm static analysis |
| `composer run psalm:update-baseline` | Run Psalm with `--update-baseline` arg |
| `composer run lint` | Run PHP Syntax check |
| `composer run lint:twig` | Run Twig Syntax check |
| `composer run php-deprecation-detector` | Run PHP Deprecation Detector |

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