Compare commits

...

915 Commits

Author SHA1 Message Date
Simon L
f86032a7e4 increase to 6.4.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-21 00:45:43 +02:00
Simon L
2f842e7266 also add it to libusrtctp to normal container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 18:11:31 +02:00
Simon L
2c26a1957c fix compiling janus with datachannel support
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 17:52:30 +02:00
Simon L
5b7c9a096f fix bind propagation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 16:44:24 +02:00
Simon L
86f606b407 remove cr release notes again since they dont work correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 16:10:59 +02:00
Simon L
dc36781035 Merge pull request #2958 from nextcloud/dependabot/docker/Containers/talk/nats-2.9.20-scratch
Bump nats from 2.9.19-scratch to 2.9.20-scratch in /Containers/talk
2023-07-20 16:10:03 +02:00
Simon L
00557fecd2 Merge pull request #2601 from nextcloud/enh/2585/volume-mounts
set NEXTCLOUD_MOUNT to rshared
2023-07-20 16:07:48 +02:00
dependabot[bot]
de14dd2052 Bump nats from 2.9.19-scratch to 2.9.20-scratch in /Containers/talk
Bumps nats from 2.9.19-scratch to 2.9.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>
2023-07-20 14:05:21 +00:00
Simon L
40dfd4cdf1 Merge pull request #2998 from nextcloud/aio-helm-update
Helm Chart updates
2023-07-20 16:04:41 +02:00
szaimen
fb6ca4b6af Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-07-20 13:54:51 +00:00
Simon L
b5831bf346 Merge pull request #2983 from nextcloud/enh/noid/display-warning-domaincheck
display warning if domaincheck container could not be started instead of bugging out
2023-07-20 15:54:39 +02:00
Simon L
c7363d9ec1 Merge pull request #2981 from nextcloud/enh/noid/make-tmp-a-tmpfs
nextcloud container - make /tmp a tmpfs
2023-07-20 15:54:29 +02:00
Simon L
9cdcb6be92 Merge pull request #2971 from nextcloud/enh/noid/remove-cgi-bin
remove cgi-bin scripts
2023-07-20 15:54:18 +02:00
Simon L
5005f09dea Merge pull request #2700 from nextcloud/enh/2332/update-es-to-8
update to ES 8 and add necessary adjustements to its config
2023-07-20 15:54:05 +02:00
Simon L
a51ad39dee Merge pull request #2880 from nextcloud/enh/noid/talk-recording-allow-all
talk-recording - set allow_all and skip_verify via env
2023-07-20 15:53:22 +02:00
Simon L
a262d1f210 add HPB_PATH
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 15:52:45 +02:00
Simon L
0c5cb7de25 also allow to adjust the protocol
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 15:52:45 +02:00
Simon L
7bb7545972 talk-recording - set allow_all and skip_verify via env
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 15:52:45 +02:00
Simon L
2399728731 Merge pull request #2886 from nextcloud/janus-0.x
build janus 0.x
2023-07-20 15:49:19 +02:00
Simon L
d91538dd78 Merge pull request #2937 from nextcloud/aio-yaml-update
Yaml updates
2023-07-20 15:43:52 +02:00
Simon L
8d77e179ab Merge pull request #2995 from nextcloud/nextcloud-container-update
Nextcloud update
2023-07-20 15:40:58 +02:00
Simon L
0406f91122 Merge pull request #2994 from nextcloud/talk-container-update
talk update
2023-07-20 15:40:39 +02:00
szaimen
1afbfdc9c5 nextcloud-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-07-20 12:08:12 +00:00
szaimen
91bac10c9a talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-07-20 12:03:06 +00:00
szaimen
f56682b774 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-07-20 12:02:53 +00:00
Simon L
4065ab659c add explanation to namespace
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 17:08:17 +02:00
Simon L
7824060a6c set NEXTCLOUD_MOUNT to rshared
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 15:40:31 +02:00
Simon L
7ab1e951f5 modify git clone command and adjust indentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 15:21:40 +02:00
Zoey
a529fb9b39 Update Containers/talk/Dockerfile
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-07-19 15:15:13 +02:00
Simon L
91ee3495e1 move each dependency to a new line
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 15:04:42 +02:00
Zoey
77dbc79115 build janus 0.x
```
Compiler:                  gcc
libsrtp version:           2.x
SSL/crypto library:        OpenSSL
DTLS set-timeout:          not available
Mutex implementation:      GMutex (native futex on Linux)
DataChannels support:      no
Recordings post-processor: no
TURN REST API client:      no
Doxygen documentation:     no
Transports:
    REST (HTTP/HTTPS):     no
    WebSockets:            no
    RabbitMQ:              no
    MQTT:                  no
    Unix Sockets:          yes
    Nanomsg:               no
Plugins:
    Echo Test:             yes
    Streaming:             yes
    Video Call:            yes
    SIP Gateway:           no
    NoSIP (RTP Bridge):    yes
    Audio Bridge:          no
    Video Room:            yes
    Voice Mail:            no
    Record&Play:           yes
    Text Room:             yes
    Lua Interpreter:       no
    Duktape Interpreter:   no
Event handlers:
    Sample event handler:  no
    WebSocket ev. handler: no
    RabbitMQ event handler:no
    MQTT event handler:    no
    Nanomsg event handler: no
    GELF event handler:    yes
External loggers:
    JSON file logger:      no
JavaScript modules:        no
```

Signed-off-by: Zoey <zoey@z0ey.de>
2023-07-19 15:01:53 +02:00
Simon L
54d9181f14 display warning if domaincheck container could not be started instead of bugging out
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 14:37:48 +02:00
Simon L
7c38050f58 adjust a detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 14:12:13 +02:00
Simon L
e4f68f7636 remove FTS_PASSWORD again
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 14:10:24 +02:00
Simon L
d2be89c502 nextcloud container - make tmp a tmpfs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 14:03:02 +02:00
Simon L
70b46093ab Merge pull request #2975 from nextcloud/enh/noid/adjust-helm-update
adjust helm-update script
2023-07-18 17:29:09 +02:00
Simon L
3dce533874 adjust helm-update script
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-18 17:27:35 +02:00
Simon L
87a2d6fd8e remove cgi-bin scripts
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-17 09:51:43 +02:00
Simon L
c5697a8637 temporarily disable apcu_clear_cache again
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-14 09:22:36 +02:00
Simon L
71481cd731 fix remaining problem with apache container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 15:44:27 +02:00
Simon L
8bf8e3f562 fix starting of apache
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 15:18:32 +02:00
Simon L
b1b96a5d8c fix apache build
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 15:01:28 +02:00
Simon L
7c55c449b8 Merge pull request #2952 from nextcloud/enh/noid/revert-collabora-read-only
Revert "make collabora container read-only"
2023-07-13 14:57:26 +02:00
Simon L
3e3dbf26b5 Revert "make collabora container read-only"
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 14:55:56 +02:00
Simon L
9a1de583c6 try to fix further stuff
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 14:54:45 +02:00
Simon L
4a60b4d004 a few fixes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 14:40:51 +02:00
Simon L
6bab59c5f9 increase to 6.3.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 14:19:28 +02:00
Simon L
1d67da4bd5 Merge pull request #2874 from nextcloud/enh/2506/apache
make apache container read-only
2023-07-13 14:18:49 +02:00
Simon L
2d0b92db77 make apache container read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 13:55:20 +02:00
Simon L
6272d8d223 Merge pull request #2876 from nextcloud/enh/2506/talk-recording
make talk-recording read-only
2023-07-13 12:16:28 +02:00
Simon L
d5f309df3a Merge pull request #2875 from nextcloud/enh/2506/talk
make talk container read-only
2023-07-13 12:15:58 +02:00
Simon L
bb63abd8a6 Merge pull request #2872 from nextcloud/enh/2506/collabora
make collabora container read-only
2023-07-13 12:14:26 +02:00
Simon L
581456b450 Merge pull request #2871 from nextcloud/enh/2506/postgresql
make postgresql container read-only
2023-07-13 12:13:56 +02:00
Simon L
554cb34d74 Merge pull request #2870 from nextcloud/enh/2506/domaincheck
make domaincheck container read-only
2023-07-13 12:13:28 +02:00
Simon L
ea46ed4095 move showpassword to global scope
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-13 12:01:46 +02:00
Simon L
9f77ac6c78 helm - generate release notes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-12 16:11:42 +02:00
Simon L
2c913a676a Merge pull request #2944 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.1.3.1
Bump collabora/code from 23.05.1.2.1 to 23.05.1.3.1 in /Containers/collabora
2023-07-12 14:53:17 +02:00
dependabot[bot]
2e0a741575 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.1.2.1 to 23.05.1.3.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 12:36:35 +00:00
Simon L
16c60f1530 Merge pull request #2943 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.20.6-alpine3.18
Bump golang from 1.20.5-alpine3.18 to 1.20.6-alpine3.18 in /Containers/imaginary
2023-07-12 14:23:07 +02:00
dependabot[bot]
69a3b365e5 Bump golang in /Containers/imaginary
Bumps golang from 1.20.5-alpine3.18 to 1.20.6-alpine3.18.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 12:11:46 +00:00
Simon L
4e201c0dab Merge pull request #2941 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.1.21-fpm-alpine3.18
Bump php from 8.1.20-fpm-alpine3.18 to 8.1.21-fpm-alpine3.18 in /Containers/nextcloud
2023-07-11 14:59:59 +02:00
dependabot[bot]
6550e012c3 Bump php in /Containers/nextcloud
Bumps php from 8.1.20-fpm-alpine3.18 to 8.1.21-fpm-alpine3.18.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 12:59:19 +00:00
Simon L
113a00d2d2 Merge pull request #2940 from nextcloud/dependabot/docker/Containers/redis/redis-7.0.12-alpine
Bump redis from 7.0.11-alpine to 7.0.12-alpine in /Containers/redis
2023-07-11 14:58:34 +02:00
Simon L
17b01980f4 Merge pull request #2939 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-24.0.4-cli
Bump docker from 24.0.3-cli to 24.0.4-cli in /Containers/mastercontainer
2023-07-11 14:58:21 +02:00
Simon L
8993da2632 Merge pull request #2938 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.2.8-fpm-alpine3.18
Bump php from 8.2.7-fpm-alpine3.18 to 8.2.8-fpm-alpine3.18 in /Containers/mastercontainer
2023-07-11 14:58:06 +02:00
dependabot[bot]
04e2872669 Bump redis from 7.0.11-alpine to 7.0.12-alpine in /Containers/redis
Bumps redis from 7.0.11-alpine to 7.0.12-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 12:33:20 +00:00
dependabot[bot]
48239ef9fa Bump docker from 24.0.3-cli to 24.0.4-cli in /Containers/mastercontainer
Bumps docker from 24.0.3-cli to 24.0.4-cli.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 12:32:11 +00:00
dependabot[bot]
c8e2bfd7ba Bump php in /Containers/mastercontainer
Bumps php from 8.2.7-fpm-alpine3.18 to 8.2.8-fpm-alpine3.18.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 12:32:07 +00:00
Simon L
86bb1f6a7c Merge pull request #2931 from notEvil/i2921
Fix cp command in migration.md
2023-07-10 17:22:40 +02:00
notEvil
f10b5baee9 Fixes cp command in migration.md
Signed-off-by: notEvil <not_evil@rappold1.at>
2023-07-10 16:49:04 +02:00
Simon L
37ebc38b19 Merge pull request #2922 from nextcloud/enh/noid/coturn-pin-alpine-version
coturn - pin alpine version correctly
2023-07-10 16:48:18 +02:00
Simon L
6f3f87b24c Merge pull request #2930 from nextcloud/enh/noid/remove-dd-warning
Remove warning about Docker Desktop v4.19
2023-07-10 16:47:36 +02:00
Simon L
3794140e71 Merge pull request #2926 from nextcloud/enh/noid/imaginary-add-tmpfs
imaginary - add tmpfs in /tmp
2023-07-10 16:47:21 +02:00
Simon L
527c6410df coturn - pin alpine version correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-10 16:46:42 +02:00
Simon L
dc34c8dff0 Merge pull request #2911 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-24.0.3-cli
Bump docker from 24.0.2-cli to 24.0.3-cli in /Containers/mastercontainer
2023-07-10 16:45:56 +02:00
Simon L
893814724f Merge pull request #2907 from nextcloud/dependabot/docker/Containers/talk/strukturag/nextcloud-spreed-signaling-1.1.3
Bump strukturag/nextcloud-spreed-signaling from 1.1.2 to 1.1.3 in /Containers/talk
2023-07-10 16:45:37 +02:00
Simon L
2097a4b8c0 Merge pull request #2906 from nextcloud/talk-container-update
talk update
2023-07-10 16:45:06 +02:00
Simon L
b5a1e74693 Merge pull request #2894 from nextcloud/dependabot/composer/php/php-di/slim-bridge-3.4.0
Bump php-di/slim-bridge from 3.3.0 to 3.4.0 in /php
2023-07-10 16:44:24 +02:00
Simon L
0d92844449 Merge pull request #2888 from t-h2o/docs_misspelling
documentation: misspelling
2023-07-10 16:43:45 +02:00
Simon L
dc3bf6f7ed Remove warning about Docker Desktop v4.19
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-10 16:40:46 +02:00
Simon L
382593d553 imaginary - add tmpfs in /tmp
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-10 16:30:39 +02:00
dependabot[bot]
0cc222fc0c Bump docker from 24.0.2-cli to 24.0.3-cli in /Containers/mastercontainer
Bumps docker from 24.0.2-cli to 24.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>
2023-07-07 12:04:40 +00:00
dependabot[bot]
ad6be7c914 Bump strukturag/nextcloud-spreed-signaling in /Containers/talk
Bumps strukturag/nextcloud-spreed-signaling from 1.1.2 to 1.1.3.

---
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>
2023-07-05 12:26:16 +00:00
szaimen
8dde61eb89 talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-07-05 12:03:26 +00:00
dependabot[bot]
25f9f99ed9 Bump php-di/slim-bridge from 3.3.0 to 3.4.0 in /php
Bumps [php-di/slim-bridge](https://github.com/PHP-DI/Slim-Bridge) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/PHP-DI/Slim-Bridge/releases)
- [Commits](https://github.com/PHP-DI/Slim-Bridge/compare/3.3.0...3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 12:13:12 +00:00
|°_°|
5cb1d88238 docs: misspelling
sed -i \
's/envorinmental/environment/g' \
$(find . -type f)

Signed-off-by: |°_°| <grivel.theo@protonmail.com>
2023-06-29 23:50:37 +02:00
Simon L
fbeb120d0f Merge pull request #2884 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.1.2.1
Bump collabora/code from 23.05.0.5.1 to 23.05.1.2.1 in /Containers/collabora
2023-06-28 15:30:00 +02:00
dependabot[bot]
8b55ed5826 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.0.5.1 to 23.05.1.2.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 12:59:09 +00:00
Simon L
ac2d639bd8 Merge pull request #2882 from nextcloud/automated/noid/psalm-baseline-update-1687925361
[Automated] Update psalm-baseline.xml
2023-06-28 09:14:44 +02:00
nextcloud-command
47661ec3ea Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-06-28 04:09:21 +00:00
Simon L
443fb67465 adjust detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-27 11:56:54 +02:00
Simon L
dedc25dc51 some more adjustments
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-27 11:53:06 +02:00
Simon L
2dfab2941b adjust a few things
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-27 11:51:53 +02:00
Simon L
6ec853a3d5 Merge pull request #2878 from nextcloud/automated/noid/psalm-baseline-update-1687838928
[Automated] Update psalm-baseline.xml
2023-06-27 10:04:15 +02:00
nextcloud-command
84ad270e45 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-06-27 04:08:48 +00:00
Simon L
0c2905b658 Merge pull request #2869 from nextcloud/enh/2830/rework-notify-push
rework notify-push in order to export values as env
2023-06-26 18:22:09 +02:00
Simon L
5189f0cd51 make talk-recording read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 18:18:26 +02:00
Simon L
ab5449f835 make talk container read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 18:11:00 +02:00
Simon L
6747613a34 Merge pull request #2787 from nextcloud/password-field
show AIO password
2023-06-26 17:50:38 +02:00
Simon L
182f24bb4c allow hyphens
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 17:43:14 +02:00
Simon L
671edeb1d1 make collabora container read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 17:43:14 +02:00
Zoey
a5a1ea504a Update php/public/forms.js
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 17:42:46 +02:00
Zoey
dd02dc82a5 Update php/public/forms.js
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 17:42:33 +02:00
Simon L
1354243f09 Merge pull request #2868 from nextcloud/enh/noid/revert-tempdir-adjustment
revert adjustment of tempdirectory
2023-06-26 17:40:40 +02:00
Simon L
b3d0b99383 Merge pull request #2873 from nextcloud/enh/2860/backup-time
adjust wording for backup time
2023-06-26 17:29:02 +02:00
Simon L
e02a16c680 adjust wording for backup time
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 17:11:51 +02:00
Simon L
9fddad59b5 make postgresql container read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 16:51:10 +02:00
Simon L
cc9dbc9590 make domaincheck container read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 16:06:14 +02:00
Simon L
48ee5774b7 rework notify-push in order to export values as env
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 15:56:38 +02:00
Simon L
134905c028 Merge pull request #2867 from nextcloud/enh/noid/adjust-migration-docs
adjust migration docs
2023-06-26 15:22:36 +02:00
Simon L
dfe6bd5ff0 revert adjustment of tempdirectory
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 15:21:55 +02:00
Zoey
559101a308 Update php/templates/login.twig
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 15:13:14 +02:00
Zoey
1ba0f1b7a3 Update php/templates/login.twig
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 15:12:01 +02:00
Simon L
fce23622e9 Merge pull request #2858 from nextcloud/enh/noid/add-low-space-notification
add low-on-space notification
2023-06-26 15:08:43 +02:00
Simon L
405b9bd7bc Merge pull request #2865 from nextcloud/imaginary-container-update
Imaginary update
2023-06-26 15:03:15 +02:00
Simon L
8da2a51282 Merge pull request #2866 from nextcloud/aio-yaml-update
Yaml updates
2023-06-26 15:02:13 +02:00
Simon L
4d2d66a7d1 adjust an additional point and wording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 14:53:33 +02:00
41it
581b125ea6 Update migration.md
Added hint to install same apps on new installation.

Signed-off-by: 41it <137164547+41it@users.noreply.github.com>
2023-06-26 14:53:33 +02:00
Simon L
2b5d3de48e adjust wording
Signed-off-by: Simon L <szaimen@e.mail.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-06-26 14:48:02 +02:00
Zoey
620c72de23 Update php/public/forms.js
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
203b7cb3fc Update php/templates/login.twig
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
13a9b9beaf Update containers.twig
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
f8d02440c1 fix js
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
a77df43dff update
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
e8ed7aa236 Update forms.js
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
ae1d14dbc5 reorder options
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
Zoey
9e26e24820 show AIO password
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-26 14:46:38 +02:00
szaimen
53ef726114 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-26 12:10:47 +00:00
szaimen
161c967679 imaginary-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-26 12:10:27 +00:00
Simon L
2a83c57425 fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 12:45:29 +02:00
Simon L
addb52fd8c Merge pull request #2857 from nextcloud/enh/noid/add-low-disk-space-warning
add logging in case disk space is low and thus login might fail
2023-06-26 12:41:08 +02:00
Simon L
27b482f75d Merge pull request #2842 from nextcloud/enh/noid/files-antivirus-improvment
small improvement to files_antivirus settings
2023-06-26 12:40:11 +02:00
Simon L
24dc09ce94 Merge pull request #2828 from nextcloud/enh/2825/enable-http3
apache - expose udp for http3 to work
2023-06-26 12:39:31 +02:00
Simon L
8452addc1f Merge pull request #2826 from nextcloud/enh/noid/disable-http3-mastercontainer
mastercontainer - disable http3
2023-06-26 12:39:00 +02:00
Simon L
a145979c7f Merge pull request #2815 from nextcloud/enh/noid/add-imaginary-note
add note to AIO interface that imaginary is incompatible with SSE
2023-06-26 12:35:53 +02:00
Simon L
06c9ba5ac9 Merge pull request #2847 from nextcloud/talk-container-update
talk update
2023-06-26 12:34:51 +02:00
Simon L
d30a9efcd6 Merge pull request #2817 from nextcloud/enh/noid/remove-r3-coturn
remove r3 from coturn version
2023-06-26 12:34:25 +02:00
Simon L
78ae2d174d Merge pull request #2840 from nextcloud/dependabot/docker/Containers/talk/nats-2.9.19-scratch
Bump nats from 2.9.18-scratch to 2.9.19-scratch in /Containers/talk
2023-06-26 12:34:15 +02:00
Simon L
345ef54850 Merge pull request #2864 from nextcloud/aio-helm-update
Helm Chart updates
2023-06-26 12:30:28 +02:00
szaimen
921952c042 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-26 10:27:30 +00:00
Simon L
d9a4d29392 Merge pull request #2861 from nextcloud/enh/noid/disable-watchtower-pulling
disable watchtower pulling for containers
2023-06-26 12:26:31 +02:00
Simon L
6d860e4f76 Merge pull request #2782 from nextcloud/aio-yaml-update
Yaml updates
2023-06-26 12:17:44 +02:00
Simon L
68d95af47d disable watchtower pulling for containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 00:56:08 +02:00
Simon L
52b3281ad8 add last note regarding that one can add further storages to backup later on
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 00:16:10 +02:00
szaimen
4e8ce65e02 talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-25 12:03:06 +00:00
szaimen
998e7f07d2 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-25 12:02:30 +00:00
Simon L
463a695326 add low-on-space notification
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-25 01:32:42 +02:00
Simon L
66452b40ff add logging in case disk space is low and thus login might fail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-25 01:00:18 +02:00
Simon L
27dbeec29d Merge pull request #2852 from nextcloud/enh/noid/huge-docker-logs
add back instructions about huge docker logs
2023-06-24 15:07:25 +02:00
Simon L
4ed373636d add comment what level 30 and debug-level 3 means
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 14:09:57 +02:00
Simon L
020e3d6cb6 add back instructions about huge docker logs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 13:59:09 +02:00
Simon L
d0cae68636 remove logrotate advice as it should not be needed anymore
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-23 14:53:33 +02:00
Simon L
c16d15ee19 increase to 6.2.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-22 12:32:44 +02:00
Simon L
42affc7d73 add aio-config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-22 12:31:59 +02:00
Simon L
166dc3a17c Merge pull request #2843 from nextcloud/nextcloud-container-update
Nextcloud update
2023-06-22 12:29:31 +02:00
szaimen
b7bd7132bd nextcloud-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-22 10:28:07 +00:00
Simon L
3f3811bd3e small improvement to files_antivirus settings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-21 20:03:05 +02:00
dependabot[bot]
efa9b096ce Bump nats from 2.9.18-scratch to 2.9.19-scratch in /Containers/talk
Bumps nats from 2.9.18-scratch to 2.9.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>
2023-06-21 12:58:54 +00:00
Simon L
cff1e5a070 address review
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-06-20 22:19:33 +02:00
Simon L
5e160b1bfe fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:17:43 +02:00
Simon L
3538f55fc3 make hint better visible
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:15:55 +02:00
Simon L
d106673e78 adjust debug steps a bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:15:15 +02:00
Simon L
9777f70294 apache - expose udp for http3 to work
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 21:30:56 +02:00
Simon L
01ec0cb0c2 mastercontainer - disable http3
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 21:22:21 +02:00
Simon L
b7c5e0b953 rp docs - switch order of nginx-proxy-manager and nginx-proxy
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 20:12:59 +02:00
Simon L
c6f78ed87c fix emptydir
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 17:49:08 +02:00
Simon L
4492f17809 remove r3 from coturn version
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 16:36:48 +02:00
Simon L
f520018ce3 add note to AIO interface that imaginary is incompatible with SSE
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 16:00:25 +02:00
Simon L
2d11b6298e Merge pull request #2814 from nextcloud/dependabot/github_actions/codespell-project/actions-codespell-2
Bump codespell-project/actions-codespell from 1 to 2
2023-06-19 15:43:04 +02:00
Simon L
97e29274e8 Merge pull request #2813 from nextcloud/enh/noid/clamav-read-only
make clamav read-only
2023-06-19 15:31:32 +02:00
Simon L
2e87b41672 make clamav read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 15:29:13 +02:00
Simon L
0a3db74971 Revert "do not use read-only config in kubernetes"
This reverts commit 24cfe38c8d.
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 15:21:36 +02:00
Simon L
24cfe38c8d do not use read-only config in kubernetes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 15:12:24 +02:00
dependabot[bot]
955d486ade Bump codespell-project/actions-codespell from 1 to 2
Bumps [codespell-project/actions-codespell](https://github.com/codespell-project/actions-codespell) from 1 to 2.
- [Release notes](https://github.com/codespell-project/actions-codespell/releases)
- [Commits](https://github.com/codespell-project/actions-codespell/compare/v1...v2)

---
updated-dependencies:
- dependency-name: codespell-project/actions-codespell
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 12:59:51 +00:00
Simon L
680dbc5432 also allow underslash in tmpfs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 14:30:47 +02:00
Simon L
7b7e3fdc04 another attempt to fix backup restore
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 14:28:51 +02:00
Simon L
66ce6cb03f try to fix backup restore
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 14:25:51 +02:00
Simon L
89b3495740 fix tmpfs creation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 14:10:02 +02:00
Simon L
251f0b89a0 increase to 6.2.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 13:39:56 +02:00
Simon L
3644e6f55e Merge pull request #2812 from nextcloud/enh/2506/make-borg-read-only
Make borgbackup read-only
2023-06-19 13:38:49 +02:00
Simon L
571b2feded fix pattern
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 13:30:36 +02:00
Simon L
417ebc5bae Merge pull request #2811 from nextcloud/enh/2506/allow-to-add-tmpfs
allow to add tmpfs
2023-06-19 13:29:35 +02:00
Simon L
7a85532755 Make borg read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 13:07:54 +02:00
Simon L
a1727d3f4f allow to add tmpfs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 13:04:39 +02:00
Simon L
a8ed5d3dc8 Merge pull request #2797 from nextcloud/enh/noid/adjust-location-of-entrypoints
talk and redis - adjust location of entrypoints
2023-06-19 11:16:04 +02:00
Simon L
799936e0be Merge pull request #2807 from nextcloud/enh/noid/pin-alpine-version
coturn container - pin alpine version manually
2023-06-19 11:15:42 +02:00
Simon L
5e3ef12afb coturn container - pin alpine version manually
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 01:06:25 +02:00
Simon L
bc0570440e adjust word
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-18 12:15:56 +02:00
Simon L
147564e6ff Merge pull request #2800 from nextcloud/enh/noid/add-trunas-scale-docs
add docs on how to run AIO on TrueNas Scale
2023-06-18 12:11:30 +02:00
Simon L
373f9e3c24 add further hints for other options
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-18 12:09:31 +02:00
Simon L
3dec47dc04 add docs on how to run AIO on TrueNas Scale
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-18 12:02:11 +02:00
Simon L
c3e71f2c19 update helm.sh script for tmpfs volumes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-18 02:46:42 +02:00
Simon L
776e350e52 talk and redis - adjust location of entrypoints
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-18 01:46:37 +02:00
Simon L
8151b4a212 Merge pull request #2796 from nextcloud/enh/noid/fix-ma-logging
fix and adjust mastercontainer apache logging
2023-06-18 01:05:57 +02:00
Simon L
cc66d0dc4b fix and adjust mastercontainer apache logging
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-18 01:04:42 +02:00
Simon L
d564202efb Merge pull request #2794 from nextcloud/enh/noid/adjust-apache-logformat
Adjust Apache LogFormat
2023-06-17 23:31:12 +02:00
Simon L
0a5c4d3d99 Adjust Apache LogFormat
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 23:04:08 +02:00
Simon L
ec2603b3f7 Merge pull request #2793 from nextcloud/enh/noid/compress-further-files
also compress css and svg files
2023-06-17 23:03:31 +02:00
Simon L
cbba4cc2e6 also compress css and svg files
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 20:55:10 +02:00
Simon L
0097abaed0 Apparently wget is required for lua since alpine 3.18
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 19:21:57 +02:00
Simon L
0a9ebc434a Merge pull request #2788 from nextcloud/szaimen-patch-1
Update spellcheck.yml
2023-06-17 19:17:12 +02:00
Simon L
2d22e4a391 Use codespell instead of reviewdog for spellcheck
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 19:16:04 +02:00
Simon L
9ffb158bd2 Merge pull request #2789 from nextcloud/aio-dependency-update
Dependency updates
2023-06-17 16:44:40 +02:00
szaimen
f99136f553 dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-17 12:02:08 +00:00
Simon L
066ecbfb11 add a hint that opening port 80 and 443 manually is needed in case of network_mode: host
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 08:48:45 +02:00
Simon L
a243a97bb6 Merge pull request #2786 from nextcloud/enh/noid/cloudflare-tunnel
Make clear that Cloudflare Tunnel is also a reverse proxy
2023-06-17 08:29:29 +02:00
Simon L
db1f3e7759 compose - add link to talk-port docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 00:03:44 +02:00
Simon L
1c595ab2ef add empty line before storage class in helm-chart
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 23:55:43 +02:00
Simon L
3b85c59a68 Make clear that Cloudflare Tunnel is also a reverse proxy
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 23:44:57 +02:00
Simon L
0ad2591f53 adjust wording around datadir failure
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 23:35:47 +02:00
Simon L
370f4199c0 add some more warnings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 23:31:05 +02:00
Simon L
86ac831bb2 adjust compose.yaml a bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 23:18:47 +02:00
Simon L
09d2dc3aba typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 16:05:50 +02:00
Simon L
3fa798f192 adjust some docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 16:05:05 +02:00
Simon L
3beba99734 Merge pull request #2784 from nextcloud/enh/noid/modify-postgresql.conf
only modify postgresql.conf if it exists
2023-06-16 15:16:25 +02:00
Simon L
75a32f6cf0 only modify postgresql.conf if it exists
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 15:15:16 +02:00
Simon L
e22afe6031 fix the deletion of files and folders during mastercontainer build
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 15:14:40 +02:00
Simon L
8e42220e4e Merge pull request #2781 from nextcloud/imaginary-container-update
Imaginary update
2023-06-16 14:55:51 +02:00
Simon L
3bdbe7d59e Merge pull request #2783 from nextcloud/enh/2506/imaginary-read-only
make imaginary read-only
2023-06-16 14:27:42 +02:00
Simon L
4ff9d1b136 make imaginary read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 14:24:44 +02:00
szaimen
193cc26a32 imaginary-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-16 12:02:24 +00:00
Simon L
997360da7f correctly delete not needed directories
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 13:44:44 +02:00
Simon L
3b52620c8d make more verbose what to do when using cloudflare tunnel and talk
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 12:50:35 +02:00
Simon L
52af926984 Merge pull request #2725 from nextcloud/enh/noid/run-upgrade-if-needed
add run_upgrade_if_needed_due_to_app_update
2023-06-16 12:35:04 +02:00
Simon L
d9e923de0b fix spacing after talk-recording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 12:28:39 +02:00
Simon L
65bb0cdf91 adjust detail in containers.twig
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 12:18:06 +02:00
Simon L
421d329e35 fix notify-push container startup
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 12:10:12 +02:00
Simon L
ad1d90d2d7 Merge pull request #2778 from nextcloud/nginx-http3-docs
Nginx reverse proxy docs again
2023-06-16 11:53:12 +02:00
Zoey
14b598adc4 Update reverse-proxy.md
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-16 11:52:02 +02:00
Zoey
81e0490e63 adjust wording
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 23:02:36 +02:00
Zoey
e28ef49663 Nginx reverse proxy docs again
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 23:01:12 +02:00
Simon L
daed2bdfb4 remove wget form talk container as not needed anymore
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 22:47:15 +02:00
Simon L
20167ab914 change starting order of notify-push to start after nextcloud container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 17:03:20 +02:00
Simon L
fde954be51 fix one last spacing
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 17:00:59 +02:00
Simon L
cf426fdabb fix janus not finding luajson
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 16:45:16 +02:00
Simon L
4f253b5d31 fix healthcheck of notify-push
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 16:13:53 +02:00
Simon L
dd053182f9 ffix nextcloud health check
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 16:12:36 +02:00
Simon L
276a85421a fix internal_port of notify-push
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 16:11:48 +02:00
Simon L
cfd8d7c041 Merge pull request #2772 from nextcloud/revert-2705-enh/noid/borgbackup-read-only
Revert "make borgbackup read-only"
2023-06-15 16:01:37 +02:00
Simon L
ec9e4d4dc3 Revert "make borgbackup read-only" 2023-06-15 16:01:07 +02:00
Simon L
051f202fdf fix postgres build
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:42:26 +02:00
Simon L
adba1d645f Merge pull request #2730 from nextcloud/enh/noid/allow-reset-borg-backup-host-location
Allow to reset the borg backup host location before initial backup was started
2023-06-15 15:36:47 +02:00
Simon L
c520db97c4 Merge pull request #2731 from nextcloud/enh/noid/general-improvements
some general improvements to buttons and AIO interface
2023-06-15 15:29:44 +02:00
Simon L
89e0be6f06 Merge pull request #2762 from nextcloud/enh/noid/adjust-jit
adjust opcache and jit values
2023-06-15 15:29:16 +02:00
Simon L
4bac9b29fc Merge pull request #2751 from nextcloud/talk-container-update
talk update
2023-06-15 15:28:49 +02:00
Simon L
a99ecaa4cc remove line
Signed-off-by: Simon L <szaimen@e.mail.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-06-15 15:28:06 +02:00
Simon L
b011c47abe Merge pull request #2705 from nextcloud/enh/noid/borgbackup-read-only
make borgbackup read-only
2023-06-15 15:26:22 +02:00
Simon L
541fad9bab Merge pull request #2703 from nextcloud/enh/2695/notify-push
put notify-push into its own container
2023-06-15 15:25:50 +02:00
Simon L
bf24c10e9a update to 3.18.2
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:22:57 +02:00
Simon L
3c105d5683 Merge pull request #2701 from nextcloud/enh/2689/run-clamav-non-root
adjust clamav dockerfile in order to run as non-root user
2023-06-15 15:21:48 +02:00
Simon L
44e7f6c76a Merge pull request #2698 from nextcloud/enh/noid/adjust-spacing
adjust spacing of elements
2023-06-15 15:21:41 +02:00
Simon L
2502d22960 Merge pull request #2697 from nextcloud/enh/noid/add-borg-progress
borg - add progress to initial Backup
2023-06-15 15:20:39 +02:00
Simon L
8c2b1316fd Merge pull request #2709 from nextcloud/enh/noid/adjust-postgres-conf
adjust postgres conf to not log checkpoints
2023-06-15 15:19:21 +02:00
Simon L
5dd2859ab1 Merge pull request #2708 from nextcloud/enh/noid/adjust-redis-loglevel
adjust redis loglevel to warning
2023-06-15 15:18:44 +02:00
Simon L
cab4d8b1c4 Merge pull request #2707 from nextcloud/enh/noid/adjust-janus-loglevel
adjust janus debug-level to 3 = warn
2023-06-15 15:18:25 +02:00
Simon L
83729f5ecb Merge pull request #2706 from nextcloud/enh/2506/watchtower
make watchtower read-only
2023-06-15 15:18:09 +02:00
Simon L
c2f34a33dc Merge pull request #2760 from nextcloud/dependabot/docker/Containers/talk/nats-2.9.18-scratch
Bump nats from 2.9.17-scratch to 2.9.18-scratch in /Containers/talk
2023-06-15 15:17:45 +02:00
dependabot[bot]
9c2ac69eac Bump nats from 2.9.17-scratch to 2.9.18-scratch in /Containers/talk
Bumps nats from 2.9.17-scratch to 2.9.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>
2023-06-15 13:17:10 +00:00
Simon L
607a07d2e2 Merge pull request #2768 from nextcloud/alpine-3.18
update all container to alpine v3.18.3
2023-06-15 15:11:45 +02:00
Simon L
00adb7df2c Merge pull request #2763 from nebula8830/patch-1
Update containers.twig
2023-06-15 15:11:09 +02:00
Simon L
f89d62abb2 adjust docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:10:04 +02:00
Simon L
bcf0f92d87 also adjust it in the doc
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:06:40 +02:00
Simon L
2be6e39ce3 Merge pull request #2765 from nextcloud/docs-nginx-v1.25.1
update nginx reverse proxy docs for nginx v1.25.1
2023-06-15 15:05:15 +02:00
Simon L
713d48eecd update OO
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:04:18 +02:00
Simon L
17caf685e6 Some adjustments
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:03:24 +02:00
Simon L
9bef36ca90 try to fix talk and imaginary-update workflows
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 14:57:37 +02:00
Zoey
fad2558690 update all container to alpine v3.18.3
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 12:43:26 +00:00
Simon L
a984d9e520 adjust opcache and jit values
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 13:11:18 +02:00
Zoey
3831c275d9 Update reverse-proxy.md
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 13:08:53 +02:00
Zoey
c6efd29faf Update reverse-proxy.md
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 13:08:39 +02:00
Simon L
c889d5a514 remove link to outdated config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 13:00:48 +02:00
Zoey
06eed79939 Update reverse-proxy.md
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 12:48:56 +02:00
Zoey
d7bb4d65df Update reverse-proxy.md
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-15 12:48:35 +02:00
Zoey
971afa4d80 update nginx reverse proxy docs for nginx v1.25.1
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-14 20:55:05 +02:00
Joseph
a0627fdeca Update containers.twig
tiny change to reflect exact button texts

Signed-off-by: Joseph <jturnism@gmail.com>
2023-06-14 11:58:14 -06:00
szaimen
1f98b4ffb2 talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-14 12:03:25 +00:00
Simon L
9af7be6d89 some general improvements to buttons and AIO interface
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-13 14:34:26 +02:00
Simon L
c613febbff Merge pull request #2752 from nextcloud/aio-helm-update
Helm Chart updates
2023-06-13 14:13:42 +02:00
szaimen
a7989059d5 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-13 12:08:02 +00:00
Simon L
c14be6cbd8 Merge pull request #2749 from nextcloud/enh/noid/fix-helm-chart
fix a detail with the helm chart
2023-06-13 10:21:57 +02:00
Simon L
632fb6b35d fix a detail with the helm chart
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-13 10:21:16 +02:00
Simon L
1750e29084 Merge pull request #2748 from nextcloud/aio-helm-update
Helm Chart updates
2023-06-13 10:11:24 +02:00
szaimen
46f2847679 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-13 10:07:56 +02:00
Simon L
53defc5579 adjust user to the upstream one
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-13 09:14:53 +02:00
Simon L
464b7be5f6 fix collabora by installing netcat-openbsd
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-13 09:10:14 +02:00
Simon L
986f9030ea increase to 6.1.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-13 09:07:13 +02:00
Simon L
ca9ae69247 Merge pull request #2702 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.20.5-alpine3.17
Bump golang from 1.20.4-alpine3.17 to 1.20.5-alpine3.17 in /Containers/imaginary
2023-06-13 09:05:51 +02:00
Simon L
968097b692 Merge pull request #2718 from nextcloud/dependabot/docker/Containers/talk-recording/python-3.11.4-alpine3.18
Bump python from 3.11.3-alpine3.18 to 3.11.4-alpine3.18 in /Containers/talk-recording
2023-06-13 09:05:33 +02:00
Simon L
7a78c4176b Merge pull request #2721 from nextcloud/aio-dependency-update
Dependency updates
2023-06-13 09:05:19 +02:00
Simon L
25716242d3 Merge pull request #2723 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.1.20-fpm-alpine3.17
Bump php from 8.1.19-fpm-alpine3.17 to 8.1.20-fpm-alpine3.17 in /Containers/nextcloud
2023-06-13 09:05:01 +02:00
Simon L
d0b5a03dd7 Merge pull request #2722 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.2.7-fpm-alpine3.17
Bump php from 8.2.6-fpm-alpine3.17 to 8.2.7-fpm-alpine3.17 in /Containers/mastercontainer
2023-06-13 09:04:46 +02:00
Simon L
06bb29362d Merge pull request #2746 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.0.5.1
Bump collabora/code from 22.05.14.3.1 to 23.05.0.5.1 in /Containers/collabora
2023-06-13 09:03:21 +02:00
dependabot[bot]
4ee68dfc2c Bump php in /Containers/nextcloud
Bumps php from 8.1.19-fpm-alpine3.17 to 8.1.20-fpm-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 07:00:49 +00:00
dependabot[bot]
fcaaa64555 Bump php in /Containers/mastercontainer
Bumps php from 8.2.6-fpm-alpine3.17 to 8.2.7-fpm-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 07:00:47 +00:00
Simon L
53f0b6127b Merge pull request #2680 from nextcloud/aio-yaml-update
Yaml updates
2023-06-13 08:59:36 +02:00
dependabot[bot]
98b3759e15 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 22.05.14.3.1 to 23.05.0.5.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 06:32:15 +00:00
szaimen
f579080d29 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-12 12:28:08 +00:00
szaimen
45b75f91e5 dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-12 12:02:19 +00:00
Simon L
b3264e7390 add note about multiple domains to the readme
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-11 22:05:10 +02:00
Simon L
48b852149a Remove not anymore needed workaround
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 16:48:09 +02:00
Simon L
82a53ab139 disable integrity check temporarily
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 16:48:08 +02:00
Simon L
694a3f6356 Allow to reset the borg backup host location before initial backup was started
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 15:18:45 +02:00
Simon L
9ccd6949ce add run_upgrade_if_needed_due_to_app_update
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-10 10:04:13 +02:00
Simon L
3396c83df4 add hint regarding btrfs drives for NEXTCLOUD_DATADIR
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-08 18:38:11 +02:00
Simon L
f0555b8b53 Merge pull request #2717 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.0.2
Bump peter-evans/create-or-update-comment from 3.0.1 to 3.0.2
2023-06-08 15:24:09 +02:00
dependabot[bot]
73526b92d4 Bump python in /Containers/talk-recording
Bumps python from 3.11.3-alpine3.18 to 3.11.4-alpine3.18.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 13:06:14 +00:00
dependabot[bot]
b2b1753101 Bump peter-evans/create-or-update-comment from 3.0.1 to 3.0.2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](ca08ebd5dc...c6c9a1a660)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 12:59:17 +00:00
Simon L
7e03bb4a7f adjust postgres conf to not log checkpoints
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 18:01:43 +02:00
Simon L
4f7f1cb0a6 adjust redis loglevel to warning
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 17:25:57 +02:00
Simon L
65e864479a adjust janus debug-level to 3 = warn
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 17:25:14 +02:00
Simon L
9b1421980f put notify-push into its own container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 16:57:04 +02:00
Simon L
45691e31df make watchtower read-only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 16:44:22 +02:00
Simon L
a9befa0359 make borgbackup container read_only
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 16:42:09 +02:00
dependabot[bot]
1d6ba6dcc2 Bump golang in /Containers/imaginary
Bumps golang from 1.20.4-alpine3.17 to 1.20.5-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 13:01:00 +00:00
Simon L
69e7de3cc0 adjust clamav dockerfile in order to run as non-root user
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 14:51:53 +02:00
Simon L
faa5947963 update to ES 8 and add necessary adjustements to its config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 14:43:09 +02:00
Simon L
13ddc5c524 adjust spacing of some elements
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 11:52:03 +02:00
Simon L
561220e880 adjust spacing of optional addons labels
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 11:48:02 +02:00
Simon L
9a207eab29 borg - add progress to initial Backup
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 10:27:32 +02:00
Simon L
56e3f27d6c Merge pull request #2624 from nextcloud/enh/2606/update-backup-archive
update aio-backup-archive test archive
2023-06-06 18:00:04 +02:00
Simon L
3bc0b30778 update aio-backup-archive test archive
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 17:49:58 +02:00
Simon L
5583f88d9c fix issue with recording-secret
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 17:19:29 +02:00
Simon L
12e8266f98 increase to 6.1.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 17:08:46 +02:00
Simon L
8521b84008 Merge pull request #2693 from nextcloud/revert-2652-enh/2332/update-es
Revert "update ES to 8.x"
2023-06-06 17:07:17 +02:00
Simon L
d8b036bd61 Revert "update ES to 8.x" 2023-06-06 17:06:19 +02:00
Simon L
623ce23264 try to fix fts build
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 16:41:26 +02:00
Simon L
f1c683a0db Merge pull request #2685 from nextcloud/enh/noid/27
allow to install 27 on new install
2023-06-06 16:37:34 +02:00
Simon L
6eea28682c Merge pull request #2652 from nextcloud/enh/2332/update-es
update ES to 8.x
2023-06-06 16:33:04 +02:00
Simon L
9c4116319d adjust update docs link
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 16:27:27 +02:00
Simon L
acd54544ca nextcloud and not apache depends on talk-recording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 14:22:02 +02:00
Simon L
5a842af004 allow to install 27 on new install
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 14:11:30 +02:00
Simon L
875de7dfce Merge pull request #2688 from nextcloud/talk-container-update
talk update
2023-06-06 14:03:16 +02:00
szaimen
fa67e0a719 talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-06 12:02:39 +00:00
Simon L
685ca196e0 Merge pull request #2687 from nextcloud/imaginary-container-update
Imaginary update
2023-06-06 14:02:34 +02:00
szaimen
a073033577 imaginary-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-06 12:01:58 +00:00
Simon L
9fb238ac4d try to fix update-yaml.sh
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 13:49:39 +02:00
Simon L
5ad7ee9cb3 Merge pull request #2682 from nextcloud/enh/noid/improve-workflows
Fix talk-update workflow and improve imaginary one
2023-06-06 13:46:36 +02:00
Simon L
0bbe867cad Fix talk-update workflow and improve imaginary one
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 13:43:06 +02:00
Simon L
f3358fbe0a stop_grace_period needs a unit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 13:32:57 +02:00
Simon L
d637827c59 Merge pull request #2681 from nextcloud/talk-container-update
talk update
2023-06-06 13:11:42 +02:00
szaimen
009f05f753 talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-06-06 11:10:23 +00:00
Simon L
9d1ca231f0 talk-recording - remove libpulse
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 12:54:10 +02:00
Simon L
a797f624ec adjust talk-recording dockerfile to only touch the recording.conf
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 12:48:43 +02:00
Simon L
ad570de0b1 fix user container permissions
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 12:10:54 +02:00
Simon L
b3470fe6a8 Merge pull request #2679 from nextcloud/enh/noid/fix-talk-recording
Move vars to lets and fix some things with recording.conf
2023-06-06 11:43:12 +02:00
Simon L
cbd86136cc Move vars to lets and fix some things with recording.conf
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 11:27:52 +02:00
Simon L
dc77a2732c fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 10:41:19 +02:00
Simon L
2556f38833 Merge pull request #2642 from nextcloud/enh/2506/redis
redis - enable readonlyrootfs
2023-06-06 10:37:22 +02:00
Simon L
aff48b3479 redis - enable readonlyrootfs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 10:36:02 +02:00
Simon L
68f64397ea Merge pull request #2641 from nextcloud/enh/2506/allow-to-specify-read-only
allow to specify read_only root FS in containers definition
2023-06-06 10:34:03 +02:00
Simon L
b1eb97dc4b Merge pull request #2664 from nextcloud/enh/noid/speed-up-initial-login
try to speed up initial login by not removing the bridge network from…
2023-06-06 10:32:25 +02:00
Simon L
ac5a59c5b9 Merge pull request #2631 from nextcloud/enh/1581/add-profiles-and-networks
add profiles and networks to container-schema.json
2023-06-06 10:31:38 +02:00
Simon L
71e77c2147 fix some workflows
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 10:30:32 +02:00
Simon L
3caec56d93 Fix workflow job ids
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 10:28:19 +02:00
Simon L
8ca525d333 Merge pull request #2633 from nextcloud/enh/noid/aio-adjustments
adjustments to AIO_URL and AIO_TOKEN
2023-06-06 10:09:50 +02:00
Simon L
f15f90f6df Merge pull request #2660 from nextcloud/enh/noid/disable-apps
Make sure to disable apps that could not get enabled after an update
2023-06-06 10:08:18 +02:00
Simon L
50779a329a add profiles and networks to container-schema.json
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 09:59:38 +02:00
Simon L
80e689dc1f Merge pull request #2638 from nextcloud/aio-dependency-update
Dependency updates
2023-06-06 09:51:42 +02:00
Simon L
f430660ba2 adjustments to AIO_URL and AIO_TOKEN
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 09:50:31 +02:00
Simon L
d7ed356548 Merge pull request #2639 from Anth0rx/main
Switch from mawk to built-in awk
2023-06-06 09:48:51 +02:00
Simon L
c1e3e65cdc Merge pull request #2653 from nextcloud/enh/2447/remove-collabora-font-volume
Remove collaboras font volume as it does not seem to be used
2023-06-06 09:48:20 +02:00
Simon L
5be23abaff Merge pull request #2658 from nextcloud/enh/noid/remove-updatenotification-app
remove the updatenotification app also if already updating to next ma…
2023-06-06 09:47:38 +02:00
Simon L
a05c2bffcd make it save
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 09:44:11 +02:00
Simon L
529abf79e3 Merge pull request #2663 from nextcloud/enh/noid/update-yaml-remove-unit-sgp
update-yml.sh - remove unit for stop_grace_period
2023-06-06 09:32:33 +02:00
Simon L
0ab721f1d6 Merge pull request #2661 from nextcloud/enh/noid/add-user
Dockerfiles - Add USER to all files
2023-06-06 09:32:18 +02:00
Simon L
c5ff752174 Merge pull request #2674 from nextcloud/enh/noid/trigger-talk-recording
allow to disable/enable talk-recording
2023-06-06 09:31:13 +02:00
Simon L
1446c31004 Merge pull request #2670 from nextcloud/enh/noid/add-note-about-selinux
add note about SELinux and Docker Desktop
2023-06-06 09:28:12 +02:00
Simon L
3ea04196b3 Merge pull request #2672 from nextcloud/enh/noid/enable-full-trickle-janus
janus - enable full-trickle support
2023-06-06 09:27:33 +02:00
Simon L
e9d8e1845a wait for talk-recording to become available
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-06 09:26:14 +02:00
Zoey
216f8a1272 add talk-recording container (#2645)
Signed-off-by: Zoey <zoey@z0ey.de>
Co-authored-by: Simon L. <szaimen@e.mail.de>
2023-06-06 09:22:33 +02:00
Simon L
d318c6e53a Merge pull request #2677 from nextcloud/aio-helm-update
Helm Chart updates
2023-06-06 09:17:48 +02:00
szaimen
625faf7cae Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-06 07:15:12 +00:00
Simon L
9add1c1148 Merge pull request #2628 from nextcloud/aio-yaml-update
Yaml updates
2023-06-06 09:11:07 +02:00
Simon L
4953ce95c6 dont expose it publicly
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-05 18:52:05 +02:00
Simon L
70f27ae304 allow to disable/enable talk-recording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-05 18:52:05 +02:00
szaimen
56bb0771da Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-05 12:02:28 +00:00
szaimen
3604730d0b dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-06-05 12:02:06 +00:00
Simon L
8190482718 janus - enable full-trickle support
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-05 12:40:06 +02:00
Simon L
852a80dc0c address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-05 11:56:27 +02:00
Simon L
aac2ad10ff add note about SELinux and Docker Desktop
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-05 11:10:28 +02:00
Simon L
07faad0ab2 Merge pull request #2668 from nextcloud/nginx-h3
add http/3 docs to nginx reverse proxy docs
2023-06-05 10:50:59 +02:00
Zoey
6bbbe68fdb add http/3 docs to nginx reverse proxy docs
Signed-off-by: Zoey <zoey@z0ey.de>
2023-06-04 20:34:38 +02:00
Simon L
e8b85917c0 try to speed up initial login by not removing the bridge network from mastercontainer but instead during cron.sh
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 20:50:04 +02:00
Simon L
87381bbfa3 fix workflows
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 20:48:08 +02:00
Simon L
e742549bf1 Merge pull request #2665 from nextcloud/enh/noid/update-workflows
add Docker Lint and update some workflows
2023-06-03 20:40:58 +02:00
Simon L
2e19b5ab58 only run workflows when they are actually needed
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 20:39:13 +02:00
Simon L
ba6195815e add Docker Lint and update some workflows
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 20:11:55 +02:00
Simon L
ccc953d183 update-yml.sh - remove unit for stop_grace_period
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 17:50:51 +02:00
Simon L
93f14608f3 clean up some files
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 15:04:17 +02:00
Simon L
3671cc9fe6 Dockerfiles - Add USER to all files
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 14:56:05 +02:00
Simon L
0368ce7ef9 Make sure to disable apps that could not get enabled after an update
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-03 14:00:40 +02:00
Simon L
0f9b230c9b remove the updatenotification app also if already updating to next major version
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-02 14:18:50 +02:00
Simon L
78e7af4ae0 add entry about running AIO offline or in airgapped system
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-02 10:26:48 +02:00
Simon L
bacd8218a0 Merge pull request #2655 from nextcloud/automated/update-workflows
chore: update workflows from templates
2023-06-01 16:45:13 +02:00
Simon L
df068a809b adjust workflow
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-01 16:19:51 +02:00
John Molakvoæ
af084c7c39 chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-01 16:07:18 +02:00
Simon L
18804f8a79 Remove collaboras font volume as it does not seem to be used
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-01 14:31:38 +02:00
Simon L
6733a7407c update ES to 8.x
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-01 14:26:13 +02:00
Anth0rx
a51d43c074 Switch from mawk to built-in awk
Signed-off-by: Anth0rx <pascal@dengconsult.systems>
2023-06-01 11:42:05 +02:00
Simon L
c14fa9d4b4 Merge pull request #2643 from nextcloud/composeyaml
reaname compose file to compose.yaml
2023-06-01 10:00:05 +02:00
Simon L
23d5267375 adjust details
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-01 09:58:22 +02:00
Zoey
8f54de363f reaname compose file to compose.yaml
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-31 17:32:48 +02:00
Simon L
cf1efa9bb0 allow to specify read_only root FS in containers definition
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-31 16:48:41 +02:00
Simon L
27d99efebf fix twig-lint
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-31 13:37:39 +02:00
Simon L
9a9d83825a Merge pull request #2626 from nextcloud/enh/noid/update-manual-conf
manual-install - reorder example.conf and list todo values last
2023-05-30 19:37:53 +02:00
Simon L
0ea456ace1 fix SC
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 19:36:19 +02:00
Simon L
e61b55ceab manual-install - reorder example.conf and list todo values last
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 19:34:07 +02:00
Simon L
0e9d9ac215 increase to 6.0.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 17:41:13 +02:00
Simon L
a4ad1bfe9a increase aio app version to 0.4.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 16:44:43 +02:00
Simon L
bd550313bd print out borg_prune_opts
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 16:25:24 +02:00
Simon L
28b1e249a8 Merge pull request #2621 from nextcloud/enh/noid/rework-getbackupvolumes
rework getbackupvolumes and getallbackupvolumes to be a bit more easy…
2023-05-30 15:02:59 +02:00
Simon L
0b50fbd7f1 Merge pull request #2497 from nextcloud/nextcloud-dockerfile
optimize nextcloud Dockerfile
2023-05-30 13:01:24 +02:00
Simon L
e2dd2f8fcf rework getbackupvolumes and getallbackupvolumes to be a bit more easy to read and understand
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 12:42:29 +02:00
Simon L
c854e68188 fix build
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 12:22:47 +02:00
Simon L
675de94bcf adjust review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 12:00:20 +02:00
Simon L
d18b58d2a1 re-order some things
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 11:50:42 +02:00
Zoey
c50132a27a optimize nextcloud Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-30 11:50:23 +02:00
Simon L
525a1be836 Merge pull request #2620 from nextcloud/aio-helm-update
Helm Chart updates
2023-05-30 11:46:50 +02:00
Simon L
d037ebba66 Merge pull request #2454 from nextcloud/enh/noid/nextcloud-exec-commands
allow to define nextcloud_exec_commands in containers definition
2023-05-30 11:42:46 +02:00
szaimen
e5a6449a34 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-30 09:42:19 +00:00
Simon L
a32b5c1bcf Merge pull request #2609 from nextcloud/enh/2173/add-notes
add notes app to default apps
2023-05-30 11:33:43 +02:00
Simon L
b85bdbbf1d Merge pull request #2608 from nextcloud/enh/noid/remove-imaginary-version-check
remove imaginary version check
2023-05-30 11:33:22 +02:00
Simon L
bbcdb5172c Merge pull request #2607 from nextcloud/enh/noid/enable-imaginary
enable imaginary by default
2023-05-30 11:32:56 +02:00
Simon L
8bd7e11ba8 Merge pull request #2605 from nextcloud/enh/noid/update-nextcloud-to-php8.1
update Nextcloud container to php 8.1 and alpine 3.17
2023-05-30 11:32:34 +02:00
Simon L
16db14f72f Merge pull request #2604 from nextcloud/enh/noid/reset-newMajorVersion
set newMajorVersion to empty string
2023-05-30 11:32:16 +02:00
Simon L
f507329e45 Merge pull request #2603 from nextcloud/enh/noid/increase-aio-app-version
increase supported aio app versions
2023-05-30 11:31:49 +02:00
Simon L
52e70ac6b8 Merge pull request #2602 from nextcloud/enh/noid/update-to-26
update to Nextcloud 26.0.2
2023-05-30 11:31:37 +02:00
Simon L
3696e08d27 Merge pull request #2577 from nextcloud/enh/noid/permission-overwrite-move
move permission overwrite to better place before innstallation
2023-05-30 11:31:05 +02:00
Simon L
aff5b08522 Merge pull request #2583 from nextcloud/dependabot/composer/php/guzzlehttp/guzzle-7.7.0
Bump guzzlehttp/guzzle from 7.6.1 to 7.7.0 in /php
2023-05-30 11:30:19 +02:00
Simon L
ef43d19a27 Merge pull request #2428 from nextcloud/enh/noid/borg-retention-policy
allow to adjust borgs retention policy
2023-05-30 11:28:36 +02:00
Simon L
8c85e1ef2e adjust wording
Signed-off-by: Simon L <szaimen@e.mail.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-30 11:28:29 +02:00
Simon L
a1680e9e3a Merge pull request #2573 from nextcloud/enh/noid/clear-apcu-cache
clear apcu cache upon starting containers
2023-05-30 11:28:10 +02:00
Simon L
16514bf07f Merge pull request #2576 from nextcloud/enh/2574/content-encoding
enable compression for js files in Nextcloud
2023-05-30 11:27:47 +02:00
Simon L
fc47aa468a improve wording
Signed-off-by: Simon L <szaimen@e.mail.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-30 11:27:39 +02:00
dependabot[bot]
41bf7bdd3c Bump guzzlehttp/guzzle from 7.6.1 to 7.7.0 in /php
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.6.1 to 7.7.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.7/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.6.1...7.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 08:57:22 +00:00
Simon L
f49634f0ea Merge pull request #2563 from nextcloud/dependabot/docker/Containers/talk/nats-2.9.17-scratch
Bump nats from 2.9.16-scratch to 2.9.17-scratch in /Containers/talk
2023-05-30 10:57:19 +02:00
Simon L
72856c4eeb Merge pull request #2611 from nextcloud/enh/noid/add-justinrainbow-json-schema
validate json against json schema
2023-05-30 10:56:26 +02:00
Simon L
6b0ee8566a Merge pull request #2619 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-24.0.2-cli
Bump docker from 23.0.6-cli to 24.0.2-cli in /Containers/mastercontainer
2023-05-30 10:55:28 +02:00
Simon L
2d41a606dd adjust wording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-29 19:24:58 +02:00
Simon L
cc606bce8d add note regarding cloudflare tunnel local access
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-29 19:18:59 +02:00
dependabot[bot]
c1bd5add9d Bump docker from 23.0.6-cli to 24.0.2-cli in /Containers/mastercontainer
Bumps docker from 23.0.6-cli to 24.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>
2023-05-29 13:00:52 +00:00
Simon L
3fbd54989a fix jwt_secret
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-27 17:58:22 +02:00
Simon L
4570a43560 Merge pull request #2613 from nextcloud/automated/update-workflows
chore: update workflows from templates
2023-05-27 14:09:39 +02:00
Simon L
dc0ae75833 fix workflow-update
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-27 10:05:57 +02:00
John Molakvoæ
61e9e4e7c0 chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-27 09:44:13 +02:00
Simon L
cdb245c9c6 fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 18:47:33 +02:00
Simon L
955a3c25a2 mention opcache and jit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 18:43:05 +02:00
Simon L
66dfd9df8e validate json against json schema
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 16:50:37 +02:00
Simon L
e4de4dcb67 allow to define nextcloud_exec_commands in containers definition
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 15:54:01 +02:00
Simon L
3e04dd5c2e Merge pull request #2580 from craigkh/patch-1
Update reverse-proxy.md
2023-05-26 13:26:27 +02:00
Simon L
5be582e327 improve wording and formatting
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 13:25:28 +02:00
Simon L
8fe4406e90 address review
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-26 12:48:48 +02:00
Simon L
4c8e6c07de add notes app to default apps
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:40:13 +02:00
Simon L
9d1e8faf5c remove imaginary version check
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:36:00 +02:00
Simon L
023ecce72f enable imaginary by default
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:34:35 +02:00
Simon L
8dbdc8bb77 update Nextcloud container to php 8.1 and alpine 3.17
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:31:19 +02:00
Simon L
205c7eb6d2 set newMajorVersion to empty string
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:27:46 +02:00
Simon L
9f2b61ee07 increase supported aio app versions
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:24:09 +02:00
Simon L
a8a80cbd72 update to Nextcloud 26.0.2
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 12:22:42 +02:00
Simon L
f4140e1102 increase to 5.2.2
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 11:45:39 +02:00
Simon L
59569597f7 Merge pull request #2599 from nextcloud/nextcloud-container-update
Nextcloud update
2023-05-26 11:39:37 +02:00
Simon L
65a9fe4c95 allow to adjust borgs retention policy
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 11:38:25 +02:00
szaimen
4627b9c685 nextcloud-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-05-26 09:17:53 +00:00
Simon L
a3767038c6 change callitkarma link to web archive one
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-24 11:41:52 +02:00
Simon L
74b3a0d0df Merge pull request #2586 from nextcloud/automated/noid/psalm-baseline-update-1684814969
[Automated] Update psalm-baseline.xml
2023-05-23 09:08:29 +02:00
nextcloud-command
6e2303481d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-23 04:09:28 +00:00
Simon L
5e581d89f1 add as feature to readme
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-22 13:02:36 +02:00
craigkh
5c058691bd Update reverse-proxy.md
I suggest adding the name and location of Caddyfile as there is no instructions for how to create a Caddyfile.
Failure to create a Caddyfile prior to starting the container results in a directory called Caddyfile being created.

Signed-off-by: craigkh <74493036+craigkh@users.noreply.github.com>
2023-05-22 23:00:30 +12:00
Simon L
ccad3bc98c enable brotli compression for js files in Nextcloud
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-22 12:25:13 +02:00
Simon L
32690ae48f move permission overwrite to better place before innstallation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-21 00:49:49 +02:00
Simon L
5e96aad3fd clear apcu cache upon starting containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-20 19:03:42 +02:00
Simon L
cf148b6381 fix caddy warning
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-20 18:58:36 +02:00
Simon L
a117c684dd increase to 5.2.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-20 18:42:27 +02:00
Simon L
d5937d3990 Merge pull request #2569 from nextcloud/enh/noid/caddy-fix-syntax
caddy - a bugfix and some improvements
2023-05-20 18:41:24 +02:00
Simon L
a620640fa7 fix detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-20 18:41:12 +02:00
Simon L
c84091cc0c adjust things as discussed
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-20 18:36:43 +02:00
Simon L
0c945c9516 caddy - use correct syntax for trusted_proxies
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 20:58:06 +02:00
Simon L
ac7bf05f54 create important dirs beforehand
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 16:29:45 +02:00
Simon L
1dedc5f282 fix caddy config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 16:06:22 +02:00
Simon L
08ff51c482 Merge pull request #2565 from nextcloud/enh/noid/fix-getallbackupvolumes
fix getAllBackupVolumes
2023-05-19 16:06:04 +02:00
Simon L
14a77ea88d fix getAllBackupVolumes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 15:45:23 +02:00
dependabot[bot]
e4c5b12982 Bump nats from 2.9.16-scratch to 2.9.17-scratch in /Containers/talk
Bumps nats from 2.9.16-scratch to 2.9.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>
2023-05-19 12:58:52 +00:00
Simon L
9388ec5798 increase to 5.2.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 14:18:02 +02:00
Simon L
1b878a4a8d adjust typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 14:15:49 +02:00
Simon L
1ceb963fae Merge pull request #2457 from nextcloud/enh/noid/add-caddy-imports
allow to add imports to the caddy file
2023-05-19 14:11:59 +02:00
Simon L
48e70e2b00 allow to add imports to the caddy file
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 14:07:22 +02:00
Simon L
4adb748970 Merge pull request #2490 from nextcloud/apache-dockerfile
optimze apache dockerfile
2023-05-19 13:39:01 +02:00
Simon L
10cfce7bdd Merge pull request #2455 from nextcloud/enh/noid/allow-to-include-in-backup-restore
allow to include volumes in backup and restore
2023-05-19 13:38:42 +02:00
Simon L
6cbab733be Merge pull request #2496 from nextcloud/mastercontainer-dockerfile
optimze mastercontainer Dockerfile
2023-05-19 13:33:04 +02:00
Simon L
9f19026885 allow to include volumes in backup and restore
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 13:28:17 +02:00
Simon L
1513d69a8d ipv6 - add note regarding problems with ipv6 and docker
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-16 17:49:39 +02:00
Simon L
364be594a2 fix missing character
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-16 16:28:01 +02:00
Simon L
4f30044d54 Merge pull request #2556 from nextcloud/aio-dependency-update
Dependency updates
2023-05-16 14:36:34 +02:00
szaimen
9f1b0e361d dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-16 12:25:19 +00:00
Simon L
fc352b84be Merge pull request #2550 from nextcloud/aio-dependency-update
Dependency updates
2023-05-15 10:15:23 +02:00
szaimen
c780f28c51 dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-14 12:02:13 +00:00
Zoey
f917f12932 move mastercontainer.conf to the end
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-12 18:00:33 +02:00
Zoey
3b4d741c8e put scripts into /
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-12 17:58:47 +02:00
Zoey
a0cf31ad1b put scripts into /
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-12 17:57:02 +02:00
Simon L
8c11f78940 Merge pull request #2548 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.2.6-fpm-alpine3.17
Bump php from 8.2.5-fpm-alpine3.17 to 8.2.6-fpm-alpine3.17 in /Containers/mastercontainer
2023-05-12 15:35:28 +02:00
Simon L
012d9a9392 Merge pull request #2547 from nextcloud/dependabot/docker/Containers/postgresql/postgres-15.3-alpine
Bump postgres from 15.2-alpine to 15.3-alpine in /Containers/postgresql
2023-05-12 15:34:56 +02:00
dependabot[bot]
9584ef5346 Bump php in /Containers/mastercontainer
Bumps php from 8.2.5-fpm-alpine3.17 to 8.2.6-fpm-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 12:58:53 +00:00
dependabot[bot]
502f32f207 Bump postgres from 15.2-alpine to 15.3-alpine in /Containers/postgresql
Bumps postgres from 15.2-alpine to 15.3-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 12:58:50 +00:00
Simon L
cf9220c6b7 Merge pull request #2541 from steffenmalisi/feature/imaginary-port
Makes imaginary port configurable
2023-05-12 13:49:58 +02:00
steffenmalisi
7df7ee738c Prevents globbing and word splitting
Signed-off-by: steffenmalisi <steffenmalisi@users.noreply.github.com>
2023-05-12 12:50:59 +02:00
steffenmalisi
d95058ae21 Makes imaginary port configurable
Signed-off-by: steffenmalisi <steffenmalisi@users.noreply.github.com>
2023-05-12 12:50:59 +02:00
Simon L
3973943acd fix imaginary update workflow
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-12 12:50:10 +02:00
Simon L
692fd7e487 Merge pull request #2545 from sotnikov-link/patch-1
sudo docker volume prune --filter all=1
2023-05-11 23:33:49 +02:00
Valeriy Sotnikov
6ad9e9eda6 sudo docker volume prune --filter all=1
Signed-off-by: Valeriy Sotnikov <sotnikov.link@mail.ru>
2023-05-11 23:51:21 +03:00
Simon L
f2e4d8284c Merge pull request #2498 from nextcloud/postgres-dockerfile
optimize postgres Dockerfile
2023-05-11 14:22:29 +02:00
Zoey
b9709aa400 change script paths
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-11 14:17:54 +02:00
Zoey
d100bf985e move VOLUME and delete shadow
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-11 14:13:56 +02:00
Simon L
fafc456065 Merge pull request #2542 from nextcloud/aio-helm-update
Helm Chart updates
2023-05-11 11:48:37 +02:00
szaimen
bbeb7e2db2 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-11 09:48:01 +00:00
Simon L
285407e176 fix detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-11 11:47:36 +02:00
Simon L
f15b890b28 Merge pull request #2539 from nextcloud/enh/noid/fix-helm-chart-update
try to fix the helm-chart-update workflow
2023-05-11 11:44:59 +02:00
Simon L
2f2398c704 try to fix the helm-chart-update workflow
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-11 11:38:40 +02:00
Simon L
189728f765 Merge pull request #2520 from nextcloud/enh/noid/borg-enhancements
backup script - a few enhancements and safeguards
2023-05-11 10:08:32 +02:00
Simon L
c25587bcc3 Merge pull request #2519 from nextcloud/mastercontainer-root-check
add root user check for mastercontainer
2023-05-11 10:06:12 +02:00
Simon L
fa93f207eb Merge pull request #2536 from nextcloud/enh/noid/update-mastercontainer
update mastercontainer to php 8.2
2023-05-11 10:04:48 +02:00
Simon L
d5b5a1eae6 Merge pull request #2518 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-22.05.14.3.1
Bump collabora/code from 22.05.13.1.1 to 22.05.14.3.1 in /Containers/collabora
2023-05-11 10:03:38 +02:00
Simon L
53f7fa70a0 Merge pull request #2528 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-23.0.6-cli
Bump docker from 23.0.5-cli to 23.0.6-cli in /Containers/mastercontainer
2023-05-11 10:03:05 +02:00
Simon L
fceeb4be10 Merge pull request #2535 from nextcloud/enh/1992/add-coturn-version
add r0 to coturn version
2023-05-11 10:02:41 +02:00
dependabot[bot]
c6f49ee45c Bump docker from 23.0.5-cli to 23.0.6-cli in /Containers/mastercontainer
Bumps docker from 23.0.5-cli to 23.0.6-cli.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 08:00:56 +00:00
Simon L
8aa4c8a13e Merge pull request #2484 from nextcloud/aio-yaml-update
Yaml updates
2023-05-11 09:59:38 +02:00
Simon L
cd0b4cf1cc add a video on traefik configuration
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 23:22:14 +02:00
Simon L
72909bde64 update mastercontainer to php 8.2
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 20:44:07 +02:00
Simon L
1f6ab346a3 add r0 to coturn version
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 20:30:26 +02:00
Simon L
1f7f675454 add a section on Synology what to do if the socket could not be found
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 14:33:03 +02:00
szaimen
bd4afa7cff Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-10 12:03:09 +00:00
Simon L
d1e781617c add detail to talk_port docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 16:21:42 +02:00
Zoey
40c3a24b8b Update Containers/mastercontainer/start.sh
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-09 11:17:39 +02:00
Simon L
9035f47611 backup script - a few enhancements and safeguards
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 00:54:15 +02:00
Zoey
a9960c8d6a add root user check for mastercontainer
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-08 22:59:47 +02:00
dependabot[bot]
616159c1b8 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 22.05.13.1.1 to 22.05.14.3.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 12:59:44 +00:00
Simon L
45ec758e54 Merge pull request #2514 from iraklis10/patch-1
Update local-instance.md
2023-05-08 11:17:56 +02:00
iraklis10
6a300d03a6 Update local-instance.md
minor typo

Signed-off-by: iraklis10 <1414477+iraklis10@users.noreply.github.com>
2023-05-07 19:35:02 +01:00
Simon L
ef93976ba5 Merge pull request #2512 from nextcloud/automated/noid/psalm-baseline-update-1683259719
[Automated] Update psalm-baseline.xml
2023-05-05 08:03:36 +02:00
nextcloud-command
49e9c74a77 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-05 04:08:39 +00:00
Simon L
9ba7962320 Merge pull request #2340 from JL102/main
Proxy instructions for NodeJS/express
2023-05-04 18:30:42 +02:00
Simon L
b08b59b39b fix initial options not showing up
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-04 15:38:11 +02:00
Simon L
8750bd343c mastercontainer needs to be connected before starting any other container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-04 14:52:09 +02:00
Simon L
93cec3ca5b available check of .1 is sometimes apparently not enough when ipv6 is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-04 12:43:55 +02:00
Simon L
1a54b583c5 increase to 5.1.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-04 12:05:04 +02:00
Simon L
e30b0f878b adjust the docs a bit
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-05-03 21:26:44 -04:00
JL102
dcf83fafcc Proxy instructions for NodeJS/express
Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-05-03 21:26:44 -04:00
Simon L
5667b989b9 improve detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-04 01:15:38 +02:00
Simon L
d87ae9d51b adjust wording a bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-04 00:44:37 +02:00
Zoey
a63ff97f43 improve ipv6 docs (#2504) 2023-05-04 00:38:28 +02:00
Simon L
944e09237c docker-compose - add an explanation why some settings are not to be changed
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 23:21:09 +02:00
Simon L
e0b0066f8a add a hint regarding docker run command
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 23:07:59 +02:00
Simon L
a69f6a3d39 add ipv6-advice as warning
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 18:45:06 +02:00
Simon L
a8bd3e8b97 Merge pull request #2483 from nextcloud/enh/noid/add-network-docker-compose
add internal network config to docker-compose file as well
2023-05-03 18:39:22 +02:00
Simon L
beffb879dc apply suggestions to manual-install network as well
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 18:38:42 +02:00
Simon L
a5d03e495e add suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 18:38:08 +02:00
Simon L
17701ce256 apply suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 18:34:17 +02:00
Simon L
dad3477a9f apply suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 18:34:05 +02:00
Simon L
0d942935d8 Merge pull request #2470 from nextcloud/enh/noid/revert-disabling-fts
revert disabling FTS if on Nc26
2023-05-03 18:31:47 +02:00
Simon L
cffcf86fc9 Merge pull request #2481 from nextcloud/enh/noid/document-internal-ipv6-support
document how to enable ipv6 for the internal network
2023-05-03 18:27:47 +02:00
Simon L
6b15a2838a Add suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 18:12:42 +02:00
Simon L
897f05ee0f add suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 18:12:32 +02:00
Simon L
0fdcba047d manual-install - add an entry to the readme regarding ipv6
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 18:07:19 +02:00
Simon L
355381df1d Merge pull request #2485 from nextcloud/enh/noid/talk-lt-cred-mech
talk - remove lt-cred-mech as that is not recommended anymore
2023-05-03 18:02:47 +02:00
Simon L
e3cacb7811 Merge pull request #2489 from nextcloud/enh/noid/improve-template
twig templates - check for was_start_button_clicked instead of empty …
2023-05-03 18:02:29 +02:00
Simon L
ee3bc7b609 Merge pull request #2488 from nextcloud/enh/noid/speed-up-initial-login
try to speed up the initial login
2023-05-03 17:56:49 +02:00
Simon L
396fb671fe Merge pull request #2495 from nextcloud/elastic-dockerfile
optimze elastic Dockerfile
2023-05-03 17:55:42 +02:00
Zoey
73286c558c do not use ARG (2/2)
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:50:33 +02:00
Zoey
669555289c do not use ARG (1/2)
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:50:23 +02:00
Simon L
ff624fbfad Merge pull request #2502 from nextcloud/enh/noid/add-second-init-step
add a second init step for postgres
2023-05-03 17:47:25 +02:00
Simon L
93748f9644 add a second init step for postgres
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 17:46:46 +02:00
Simon L
bddca890c5 Merge pull request #2491 from nextcloud/borg-dockerfile
optimize borg dockerfile
2023-05-03 17:43:08 +02:00
Simon L
06d802fd43 apply suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 17:42:04 +02:00
Simon L
9e92f2b5fd Merge pull request #2501 from nextcloud/watchtower-dockerfile
optimze watchtower Dockerfile
2023-05-03 17:35:40 +02:00
Simon L
bc7d2a1337 use suggestion
Co-authored-by: Zoey <zoey@z0ey.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 17:35:14 +02:00
Simon L
5f126583d3 Merge pull request #2500 from nextcloud/talk-dockerfile
optimize talk Dockerfile
2023-05-03 17:33:35 +02:00
Simon L
7c11a8a278 Update Containers/talk/Dockerfile
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 17:32:56 +02:00
Simon L
412da74702 Merge pull request #2499 from nextcloud/redis-dockerfile
optimize redis Dockerfile
2023-05-03 17:32:24 +02:00
Simon L
3e1ae33e95 Update Containers/redis/Dockerfile
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-05-03 17:31:43 +02:00
Simon L
9b8a547f71 Merge pull request #2494 from nextcloud/domaincheck-dockerfile
optimze domaincheck Dockerfile
2023-05-03 17:29:47 +02:00
Simon L
12d351aa19 apply suggestion
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 17:27:55 +02:00
Simon L
741d99d401 Merge pull request #2492 from nextcloud/clamav-dockerfile
optimize clamav Dockerfile
2023-05-03 17:26:32 +02:00
Zoey
fb45fa4073 add suggestion
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:11:18 +02:00
Zoey
55bc84d3f2 add set -ex
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:10:47 +02:00
Zoey
a4e894092c add suggestion
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:10:38 +02:00
Zoey
3fc1487cd9 update version in of source file
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:03:04 +02:00
Zoey
c9e406f76c add set -ex and remove tmp conf
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:02:43 +02:00
Zoey
234590f8ee add set -ex
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 17:02:07 +02:00
Zoey
85ac995907 undo version overwritte
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:57:57 +02:00
Zoey
079b86d840 optimze watchtower Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:38:40 +02:00
Zoey
132444cbb9 optimize talk Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:37:22 +02:00
Zoey
e4648ab03e optimize redis Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:36:29 +02:00
Zoey
1841733879 optimize postres Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:34:27 +02:00
Zoey
8bbdbd6fa7 optimze mastercontainer Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:31:32 +02:00
Zoey
f82818cbc6 optimze elastic Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:30:48 +02:00
Zoey
ca9b0cccf3 optimze domaincheck Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:29:25 +02:00
Zoey
fbc4b9cabb optimize clamav Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:27:52 +02:00
Zoey
c056879df4 optimize borg dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:26:55 +02:00
Zoey
4a50fcf5a6 optimze apache dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
2023-05-03 16:25:03 +02:00
Simon L
0e09bb0d12 try to speed up the initial login
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 15:48:16 +02:00
Simon L
09e299181a twig templates - check for was_start_button_clicked instead of empty domain
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 15:32:45 +02:00
Simon L
844382d220 Merge pull request #2487 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-7.17.10
Bump elasticsearch from 7.17.9 to 7.17.10 in /Containers/fulltextsearch
2023-05-03 15:01:33 +02:00
Simon L
3c3c8fd8d5 Merge pull request #2486 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.20.4-alpine3.17
Bump golang from 1.20.3-alpine3.17 to 1.20.4-alpine3.17 in /Containers/imaginary
2023-05-03 15:01:16 +02:00
dependabot[bot]
3b28885ee2 Bump elasticsearch from 7.17.9 to 7.17.10 in /Containers/fulltextsearch
Bumps elasticsearch from 7.17.9 to 7.17.10.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 13:00:36 +00:00
dependabot[bot]
b9ac7851b2 Bump golang in /Containers/imaginary
Bumps golang from 1.20.3-alpine3.17 to 1.20.4-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 13:00:30 +00:00
Simon L
b2fa058f33 talk - remove lt-cred-mech as that is not recommended anymore
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 14:55:52 +02:00
Simon L
04f84bb9b1 add inspired by
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 13:52:33 +02:00
Simon L
14fd25c837 Merge pull request #2482 from nextcloud/enh/noid/remove-non-default-network-options
nextcloud-aio network - remove non-default options
2023-05-03 13:41:19 +02:00
Simon L
3ff0b2e987 add internal network config to docker-compose file as well
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 13:35:27 +02:00
Simon L
418e7898b7 nextcloud-aio network - remove non-default options
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 13:07:22 +02:00
Simon L
490e9571d1 document how to enable ipv6 for the internal network
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 13:05:27 +02:00
Simon L
b194450875 Merge pull request #2476 from nextcloud/enh/noid/manual-install-ipv6
manual-install - enable ipv6 by default
2023-05-03 13:03:51 +02:00
Simon L
1982e069b7 Merge pull request #2477 from nextcloud/enh/noid/create-data-folder
helm-chart - create the data folder manually in order to apply the co…
2023-05-03 13:01:49 +02:00
Simon L
26e3b14854 helm-chart - create the data folder manually in order to apply the correct permissions
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 13:01:37 +02:00
Simon L
347618f6a8 manual-install - enable ipv6 by default
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-03 12:07:21 +02:00
Simon L
ad8d6ab659 Merge pull request #2473 from nextcloud/automated/noid/psalm-baseline-update-1683086912
[Automated] Update psalm-baseline.xml
2023-05-03 07:59:15 +02:00
nextcloud-command
681f4ac73e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-03 04:08:32 +00:00
Simon L
9f4b712f02 revert disabling FTS if on Nc26
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-02 20:35:28 +02:00
Simon L
9a27686ede Merge pull request #2459 from nextcloud/szaimen-patch-1
run composer during install as non-root user
2023-05-02 20:34:16 +02:00
Simon L
c5b26ffb4f Merge pull request #2467 from nextcloud/enh/noid/put-db-into-subpath
put the database into a subpath
2023-05-02 20:31:26 +02:00
Simon L
c6492ef05c put the database into a subpath
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-02 20:30:32 +02:00
Simon L
bf5b7f0f56 Merge pull request #2465 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.1.0-1
Bump clamav/clamav from 1.0.1-2 to 1.1.0-1 in /Containers/clamav
2023-05-02 15:06:40 +02:00
Simon L
c153253c7f Merge pull request #2464 from nextcloud/aio-yaml-update
Yaml updates
2023-05-02 15:05:10 +02:00
dependabot[bot]
126db40a72 Bump clamav/clamav from 1.0.1-2 to 1.1.0-1 in /Containers/clamav
Bumps clamav/clamav from 1.0.1-2 to 1.1.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>
2023-05-02 13:01:31 +00:00
Simon L
d58bb56dfa add another known issue regarding cloudflare
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-02 14:44:07 +02:00
szaimen
e362ea8665 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-02 12:04:41 +00:00
Simon L
0dc630b5a9 run composer during install as non-root user
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-02 11:28:56 +02:00
Simon L
bc03d030c9 Merge pull request #2453 from wky0211/main
Fix typo in HTML template: changed "duckduckdns.org" to "duckdns.org"
2023-05-01 19:23:26 +02:00
Simon L
1304734d3e Merge pull request #2456 from nextcloud/enh/noid/update-schema
updaate regex for some values in containers schema
2023-05-01 19:10:23 +02:00
Simon L
8356e1aba1 updaate regex for some values in containers schema
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 19:06:13 +02:00
wky0211
900d470174 fix(typo): "duckduckdns.org" -> "duckdns.org"
Signed-off-by: wky0211 <46506352+wky0211@users.noreply.github.com>
2023-05-02 00:19:23 +08:00
Simon L
3d780a5a4d try to fix json validator workflow
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 16:58:44 +02:00
Simon L
e6d9099114 Merge pull request #2329 from esmith443/patch-1
RP docs - add Citrix ADC VPX / Citrix Netscaler
2023-05-01 16:55:59 +02:00
Simon L
cad77f8287 reorder alphabetically
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 16:49:16 +02:00
esmith443
4ef65b24ae Update reverse-proxy.md
Updated Commit to link to guide

Signed-off-by: esmith443 <119460913+esmith443@users.noreply.github.com>
2023-05-01 10:47:14 -04:00
esmith443
348d6acde7 Update reverse-proxy.md
Added guide for Citrix ADC VPX / Citrix Netscaler reverse proxy.
This is my first pull so I am sorry if I made any mistakes.
Love AIO thanks :)

Signed-off-by: esmith443 <119460913+esmith443@users.noreply.github.com>
2023-05-01 16:32:16 +02:00
Simon L
68e346047d Merge pull request #2446 from nextcloud/enh/noid/collabora-cert
collabora - make startup faster by not generating ssl cert
2023-05-01 15:22:39 +02:00
Simon L
77dee8caec Merge pull request #2432 from nextcloud/enh/noid/apparmor-unconfined
add apparmor_unconinfed to containers definition
2023-05-01 14:46:55 +02:00
Simon L
f861c66ade Merge pull request #2431 from nextcloud/enh/noid/decrease-size-mastercontainer
mastercontainer - delete things except the needed php dir
2023-05-01 14:39:22 +02:00
Simon L
046496c5fc Merge pull request #2429 from nextcloud/enh/1581/schema-regex
add patterns to containers-schema
2023-05-01 14:38:00 +02:00
Simon L
72d55cdbbf Merge pull request #2416 from nextcloud/enh/noid/adjust-button-focus
adjust the button color on focus
2023-05-01 14:37:24 +02:00
Simon L
9728a84e75 fix typo in forms.sh
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 14:35:57 +02:00
Simon L
27faed79d2 Merge pull request #2427 from nextcloud/enh/noid/krita
Krita should be enabled by default
2023-05-01 14:19:25 +02:00
Simon L
78419fa0a1 Merge pull request #2419 from nextcloud/szaimen-patch-1
add a hint where to look at in rp doc
2023-05-01 14:19:11 +02:00
Simon L
f540d54e2a Merge pull request #2451 from nextcloud/aio-helm-update
Helm Chart updates
2023-05-01 14:16:05 +02:00
szaimen
e78ef7a31a Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-05-01 12:07:37 +00:00
Simon L
e44ef2d126 add a hint where to look at in rp doc
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 11:57:42 +02:00
Simon L
b2f5deebd2 Krita should be enabled by default
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 11:52:49 +02:00
Simon L
ccb97e9540 Merge pull request #2426 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-23.0.5-cli
Bump docker from 23.0.4-cli to 23.0.5-cli in /Containers/mastercontainer
2023-05-01 11:52:02 +02:00
Simon L
861d717480 collabora - make startup faster by not generating ssl cert
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 11:17:36 +02:00
Simon L
792f4daf6d update php lint name
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 10:25:11 +02:00
Simon L
b349135dfb Merge pull request #2442 from nextcloud/enh/noid/twig-lint
add twig-lint
2023-05-01 10:19:13 +02:00
Simon L
eaf26a2ec3 add twig-lint
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-01 04:44:54 +02:00
Simon L
eeeeb2f37b add apparmor_unconinfed to containers definition
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-27 19:24:14 +02:00
Simon L
cc2c8998ba mastercontainer - delete things except the needed php dir
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-27 18:57:35 +02:00
Simon L
18f6aff016 add patterns to containers-schema
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-27 18:47:25 +02:00
Simon L
1118ba6764 add a passage about waiting for container to be bult before testing
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-27 15:19:22 +02:00
dependabot[bot]
070242cda8 Bump docker from 23.0.4-cli to 23.0.5-cli in /Containers/mastercontainer
Bumps docker from 23.0.4-cli to 23.0.5-cli.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 13:17:33 +00:00
Simon L
608fea6460 adjust workflows to add to review label automatically
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-27 15:16:58 +02:00
Simon L
7cb12f7893 make it even more verbose that the default command is not to be used behind a reverse proxy
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-27 10:35:01 +02:00
Simon L
454870ad49 Merge pull request #2422 from thijsvanderwoude/main
Fix minor typo
2023-04-26 08:55:56 +02:00
Thijs van der Woude
617c882015 Fix minor typo
Signed-off-by: Thijs van der Woude <31108288+thijsvanderwoude@users.noreply.github.com>
2023-04-26 01:28:12 +02:00
Simon L
306f1f45ec put mode into quotes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 11:32:31 +02:00
Simon L
c590fb9592 change order of explanation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 11:22:46 +02:00
Simon L
af91a01c04 Merge pull request #2418 from nextcloud/enh/noid/backup-include
put duplicated path examples into a dedicated include
2023-04-25 11:18:24 +02:00
Simon L
92616b6f9b Merge pull request #2417 from nextcloud/enh/noid/fix-stale-lock-removal
set BORG_HOST_ID to a fixed value in order to improve stale lock removal
2023-04-25 11:18:01 +02:00
Simon L
860f194d81 fix links
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 11:17:30 +02:00
Simon L
d8719e810c refactor aio-config section with visibility of links again.
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 11:13:36 +02:00
Simon L
1c6f2b80b7 add a dot to the end of sentence
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 11:13:05 +02:00
Simon L
0a48feb124 adjust wording a bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 11:08:41 +02:00
Simon L
97be96cde5 put duplicated path examples into a dedicated include
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 10:59:45 +02:00
Simon L
0779609bed set BORG_HOST_ID to a fixed value in order to fix stale lock removal
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-25 09:11:10 +02:00
Simon L
3bff5f2851 adjust the button color on focus
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 23:24:20 +02:00
Simon L
1d1d462bc0 fix spacing of aio-config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 16:06:08 +02:00
Simon L
6debc29685 adjust a few breaks
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 16:01:04 +02:00
Simon L
8171d2c036 Merge pull request #2413 from nextcloud/enh/noid/details-tag-aio-password
put the aio password change into a details tag
2023-04-24 15:40:46 +02:00
Simon L
3cce13f2b8 put the aio password change into a details tag
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 15:40:28 +02:00
Simon L
c76e0aa1c1 fix some typos
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 15:36:41 +02:00
Simon L
14f5884e60 fix a link in the aio-config section
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 15:27:49 +02:00
Simon L
48746c24de adjust a few things in the aio-config section
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 15:24:50 +02:00
Simon L
c24709e2df fix details regarding backup description
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 15:15:53 +02:00
Simon L
359d43d3dd fix OO build
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 15:04:09 +02:00
Simon L
e95e2fdf9c increase to 5.0.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 14:49:19 +02:00
Simon L
628756da2b Merge pull request #2406 from nextcloud/enh/2402/aio-config
mention AIO config and docs in the AIO interface
2023-04-24 14:48:37 +02:00
Simon L
555ce650fd switch order of two elements
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 14:48:14 +02:00
Simon L
ea788daccc Merge pull request #2389 from nextcloud/enh/noid/domain-input
add additional notes to the first domain input
2023-04-24 14:46:12 +02:00
Simon L
a3cf552cf9 fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 13:31:03 +02:00
Simon L
5efcff80fe add a note on aio's operation mode
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 13:26:41 +02:00
Simon L
d908244ef0 fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 13:09:10 +02:00
Simon L
b77427b3cf improve dns record hint
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 13:08:36 +02:00
Simon L
acd0d82e29 substitute this documentation by correct names
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-24 13:04:32 +02:00
Simon L
378c884442 mention AIO config and docs in the AIO interface
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:59:58 +02:00
Simon L
de2503ad51 Merge pull request #2397 from nextcloud/enh/noid/add-print-red
add print_red in order to make the exact mistake more discoverable
2023-04-22 11:53:35 +02:00
Simon L
4e13dc5fca Merge pull request #2391 from nextcloud/enh/noid/helm-chart
add further docs on the helm-chart
2023-04-22 11:48:47 +02:00
Simon L
dae2da8494 Merge pull request #2408 from nextcloud/aio-helm-update
Helm Chart updates
2023-04-22 11:45:53 +02:00
szaimen
bdf45c7204 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-04-22 09:45:08 +00:00
Simon L
ff58ee08e7 add print_red in order to make the exact mistake more discoverable
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:44:06 +02:00
Simon L
07dc39c832 Merge pull request #2396 from nextcloud/enh/noid/improve-accepted-domains-feedback
add further domain validation feedback
2023-04-22 11:41:25 +02:00
Simon L
fe631e8a88 Merge pull request #2390 from nextcloud/enh/noid/manual-install-hint
add a hint to manual install when people did not grant access to the …
2023-04-22 11:40:31 +02:00
Simon L
ed92f9c138 Merge pull request #2385 from nextcloud/enh/noid/add-backup-retention-note
add a note on backup retention to the AIO interface
2023-04-22 11:39:43 +02:00
Simon L
7d288268bc Merge pull request #2388 from nextcloud/enh/noid/rename-spellling
rename `All In One` to `All-in-One`
2023-04-22 11:35:52 +02:00
Simon L
32d9cee2be Merge pull request #2383 from nextcloud/enh/noid/add-link-to-docs
add a note on what to do if Nexcloud does not open
2023-04-22 11:34:58 +02:00
Simon L
2ba096a1ab add daily backup hint also to AIO interface
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:34:34 +02:00
Simon L
08746f4aff Merge pull request #2384 from nextcloud/enh/noid/add-performance-docs
add a link to the performance documentation to the aio interface
2023-04-22 11:30:41 +02:00
Simon L
05db035919 add further line break after link
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:28:21 +02:00
Simon L
4ffed7e23c move the advice to the correct line
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:26:17 +02:00
Simon L
de9397ad54 Merge pull request #2376 from nextcloud/enh/noid/borg-advices
borg - add advices how to proceed if things get wrong
2023-04-22 11:25:00 +02:00
Simon L
74b4f1d395 Merge pull request #2357 from nextcloud/enh/noid/rename-docker-socket-path
rename `DOCKER_SOCKET_PATH` to `WATCHTOWER_DOCKER_SOCKET_PATH`
2023-04-22 11:24:00 +02:00
Simon L
37b5e12a6f rename DOCKER_SOCKET_PATH to WATCHTOWER_DOCKER_SOCKET_PATH
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:21:47 +02:00
Simon L
2260ccc876 Merge pull request #2358 from nextcloud/enh/noid/rename-disable-backup-section
rename `DISABLE_BACKUP_SECTION` to `AIO_DISABLE_BACKUP_SECTION`
2023-04-22 11:20:32 +02:00
Simon L
5a9e45ee6d rename DISABLE_BACKUP_SECTION to AIO_DISABLE_BACKUP_SECTION
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:15:51 +02:00
Simon L
f111363459 Merge pull request #2401 from nextcloud/nextcloud-container-update
Nextcloud update
2023-04-22 11:13:50 +02:00
Simon L
241041512f Merge pull request #2382 from nextcloud/dependabot/docker/Containers/redis/redis-7.0.11-alpine
Bump redis from 7.0.10-alpine to 7.0.11-alpine in /Containers/redis
2023-04-22 11:13:23 +02:00
Simon L
b20eec34e3 Merge pull request #2381 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-23.0.4-cli
Bump docker from 23.0.3-cli to 23.0.4-cli in /Containers/mastercontainer
2023-04-22 11:13:10 +02:00
Simon L
3e0aa8a52d Merge pull request #2380 from nextcloud/dependabot/docker/Containers/talk/nats-2.9.16-scratch
Bump nats from 2.9.15-scratch to 2.9.16-scratch in /Containers/talk
2023-04-22 11:12:54 +02:00
Simon L
9f207810b8 Merge pull request #2377 from nextcloud/aio-dependency-update
Dependency updates
2023-04-22 11:12:37 +02:00
dependabot[bot]
4e6288b934 Bump docker from 23.0.3-cli to 23.0.4-cli in /Containers/mastercontainer
Bumps docker from 23.0.3-cli to 23.0.4-cli.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 09:11:51 +00:00
Simon L
31627f9270 Merge pull request #2369 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.1.18-fpm-alpine3.17
Bump php from 8.1.17-fpm-alpine3.17 to 8.1.18-fpm-alpine3.17 in /Containers/mastercontainer
2023-04-22 11:11:34 +02:00
Simon L
2af2e3a3cd Merge pull request #2368 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-22.05.13.1.1
Bump collabora/code from 22.05.12.4.1 to 22.05.13.1.1 in /Containers/collabora
2023-04-22 11:11:10 +02:00
Simon L
6c4f7c22d3 Merge pull request #2355 from nextcloud/imaginary-container-update
Imaginary update
2023-04-22 11:09:27 +02:00
Simon L
05b5e41894 document where the chosen dir will be mounted
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 00:29:54 +02:00
Simon L
83c77d86e7 link to backup docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 00:26:13 +02:00
szaimen
f46c72b359 nextcloud-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-04-20 12:49:12 +00:00
szaimen
00f166675a imaginary-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-04-20 12:41:24 +00:00
szaimen
f12885b09b dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-04-20 12:06:37 +00:00
Simon L
1863078937 add missing peaces
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-20 00:11:50 +02:00
Simon L
e02be7234d Merge pull request #2400 from nextcloud/enh/noid/make-docu-verbose
make documentation more verbose how to apply environmental variabls t…
2023-04-19 23:44:33 +02:00
Simon L
cf10c495d1 make documentation more verbose how to apply environmental variabls to the container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 23:42:38 +02:00
Simon L
90082704f6 adjust warning about /dev/dri device failure
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 20:54:10 +02:00
Simon L
838084f073 add further domain validation feedback
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 18:46:30 +02:00
Simon L
7373bb5960 talk about open/forwarded ports
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 18:44:43 +02:00
Simon L
38c95d14d2 make descriptions more explicit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 18:44:04 +02:00
Simon L
4f7ee99782 add hint regarding RPs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 18:28:58 +02:00
Simon L
aee32ed357 fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 12:01:14 +02:00
Simon L
6a4281fc12 add a sidenote for when the 10GB upload limit are a problem
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 11:45:43 +02:00
Simon L
1b46c172f0 Mark you need to know what you are doing as bold
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 11:31:10 +02:00
Simon L
b9bd1ecdc3 mark you need to know what you are doing as bold
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 11:30:18 +02:00
Simon L
c8783f79d6 adjust two things
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 01:17:27 +02:00
Simon L
45a33d4b5b adjust word
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 01:11:21 +02:00
Simon L
b94bb6569e add further backup details
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 00:57:08 +02:00
Simon L
be5b5deb7a additional bonus - apply patches
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 00:45:22 +02:00
Simon L
5550d30065 add three more included features
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 00:33:51 +02:00
Simon L
6b487302a8 Merge pull request #2393 from nextcloud/enh/noid/ipv6-docker-desktop
add ipv6 docs for Docker Desktop
2023-04-19 00:28:46 +02:00
Simon L
939c50726f add ipv6 docs for Docker Desktop
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-19 00:17:11 +02:00
Simon L
e8ce8d9dbf add further docs on the helm-chart
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 23:53:02 +02:00
Simon L
d37d21e151 Merge pull request #2392 from nextcloud/enh/2366/helm-chart
adut apache_max_size for helm-chart to be a string
2023-04-18 23:46:41 +02:00
Simon L
25b04bccdf adut apache_max_size for helm-chart to be a string
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 23:44:07 +02:00
Simon L
b3cc1644bb improve readability of And more
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 23:10:59 +02:00
Simon L
76841af339 add a link to the manual install directly from the docker socket description
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 23:08:34 +02:00
Simon L
1af8112308 add a hint to manual install when people did not grant access to the docker socket by purpose
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 23:07:04 +02:00
Simon L
57d9534133 add LDAP notice to much more section
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 22:56:24 +02:00
Simon L
a98e8c02d0 add additional notes to the first domain input
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 22:47:52 +02:00
Simon L
cb5bee70b0 Merge pull request #2387 from nextcloud/enh/noid/add-further-details
add a details tag to note down more included features
2023-04-18 22:27:56 +02:00
Simon L
66430a945d adjust the wording of cloudflare tunnel
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 22:26:22 +02:00
Simon L
324ed4dc63 add some screenshots
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 20:14:49 +02:00
Simon L
e0857cc954 add a details tag to note down more included features
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 20:14:49 +02:00
Simon L
87cb3cd819 rename All In One to All-in-One
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 19:07:59 +02:00
Simon L
52f4d4b41e add a note on backup retention to the AIO interface
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 15:51:17 +02:00
Simon L
566619ecac add a link to the performance documentation to the aio interface
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 15:41:43 +02:00
Simon L
b8379c81d7 add a note on what to do if Nexcloud does not open
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 15:38:27 +02:00
dependabot[bot]
38392e0dcf Bump redis from 7.0.10-alpine to 7.0.11-alpine in /Containers/redis
Bumps redis from 7.0.10-alpine to 7.0.11-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 12:59:40 +00:00
dependabot[bot]
c5fc60d1fa Bump nats from 2.9.15-scratch to 2.9.16-scratch in /Containers/talk
Bumps nats from 2.9.15-scratch to 2.9.16-scratch.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 12:59:29 +00:00
Simon L
87f97a5270 adjust formatting again
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 13:47:45 +02:00
Simon L
68af3916cb adjust command
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 13:41:20 +02:00
Simon L
6331a94758 rp docs - highlight what to do if host networking is not possible
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 13:25:09 +02:00
Simon L
3e2a64e6d4 borg - add advices how to proceed if things get wrong
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 13:22:10 +02:00
dependabot[bot]
cd4131a82d Bump php in /Containers/mastercontainer
Bumps php from 8.1.17-fpm-alpine3.17 to 8.1.18-fpm-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 13:01:52 +00:00
dependabot[bot]
d1d66845a3 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 22.05.12.4.1 to 22.05.13.1.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 13:01:11 +00:00
Simon L
8de8274a31 add three additional notes on debuggin things
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 22:02:56 +02:00
Simon L
ef82f1aaf9 Merge pull request #2362 from nextcloud/enh/noid/change-e-to-env
change `-e` to long syntax `--env`
2023-04-16 21:48:02 +02:00
Simon L
4b1ed4e227 change -e to long syntax --env
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 21:32:50 +02:00
Simon L
30883d0d61 add link how to configure things from scratch
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 21:30:18 +02:00
Simon L
f22117545f RP docs - adjust some additional details
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 21:25:23 +02:00
Simon L
512c134e11 a reload is likely not enough
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 21:15:51 +02:00
Simon L
3a438ff329 Merge pull request #2360 from nextcloud/enh/noid/adjust-rp-docs
adjust RP docs
2023-04-16 19:51:23 +02:00
Simon L
5c3e719e87 Merge pull request #2361 from nextcloud/enh/2319/adjust-npm-docs
adjust NPM docs
2023-04-16 19:46:50 +02:00
Simon L
cc3dc75917 adjust NPM docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 19:21:39 +02:00
Simon L
2ebfebf24a adjust RP docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 19:14:46 +02:00
Simon L
b566cd179e Merge pull request #2359 from nextcloud/enh/noid/add-ipv6-docs
add custom ipv6 docs
2023-04-16 18:58:09 +02:00
Simon L
2a44208f56 add custom ipv6 docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-16 18:35:04 +02:00
Simon L
46f4136d30 update volume prune documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 18:03:50 +02:00
Simon L
fcf1a1e11b increase to 4.9.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 17:55:45 +02:00
Simon L
efd6f2a738 Merge pull request #2343 from nextcloud/enh/noid/update-run-twice
sometimes the built-in upgrader needs to run several times
2023-04-15 17:42:14 +02:00
Simon L
a145bf33a3 fix the formatting of the aio-app section
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 17:37:09 +02:00
Simon L
3873795c05 also add poppler for pdf support
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 17:00:21 +02:00
Simon L
edf723e4f4 fix typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 16:48:49 +02:00
Simon L
34239f3e15 also install other vips bindings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 16:47:16 +02:00
Simon L
cf28ad7d45 run imaginary as nobody user
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 16:35:05 +02:00
Simon L
cda66b1a11 add set -ex to imaginary
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 12:56:14 +02:00
Simon L
1aa861ba2a Merge pull request #2344 from nextcloud/imaginary-container-update
Imaginary update
2023-04-15 12:54:45 +02:00
szaimen
085d878223 imaginary-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-04-15 10:53:31 +00:00
Simon L
f0069816bc sometimes the built-in upgrader needs to run several times
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-15 12:52:25 +02:00
Simon L
8babb33540 Merge pull request #2288 from nextcloud/imaginary-alpine
migrate imaginary container to alpine
2023-04-14 17:02:02 +02:00
Zoey
7f918c37fc fix typo
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-14 16:06:37 +02:00
Zoey
ead696b683 Update .github/workflows/imaginary-update.yml
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-14 15:55:32 +02:00
Zoey
f122ee5a07 Update .github/workflows/imaginary-update.yml
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-14 15:55:12 +02:00
Zoey
1818eb10c3 Update .github/workflows/imaginary-update.yml
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-14 15:54:57 +02:00
Simon L
779ca8e03d Merge pull request #2296 from nextcloud/enh/noid/add-easy-login-docs
add a link to the easy-login docs to the app
2023-04-14 15:49:43 +02:00
Simon L
4e7ab122e9 Merge pull request #2331 from nextcloud/szaimen-patch-1
Borg - revert to default checkpoint-interval
2023-04-14 15:49:36 +02:00
Simon L
1c5d9f0eb7 add a tag to the chart-yaml
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 15:47:32 +02:00
Simon L
9ba70425f4 re-add charts_dir
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 15:46:43 +02:00
Simon L
7acdb2dc92 add a warning as well for FTS
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 15:34:01 +02:00
Simon L
157588d95f add a link to the easy-login docs to the app
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 15:15:09 +02:00
Simon L
cab39e59be Merge pull request #2334 from nextcloud/enh/noid/disable-fts-on-nc26
disabling FTS on NC26 as the migration to ES8 is still pending
2023-04-14 15:14:01 +02:00
Simon L
ac005eb5c9 Merge pull request #2338 from nextcloud/aio-helm-update
Helm Chart updates
2023-04-14 15:00:35 +02:00
Simon L
4df6d2c971 Borg - revert to default checkpoint-interval
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 14:59:02 +02:00
Simon L
b75e10e5f3 Merge pull request #2328 from nextcloud/talk
talk use official coturn image
2023-04-14 14:58:25 +02:00
szaimen
033f0166f4 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-04-14 12:57:58 +00:00
Simon L
e7e29a2731 Merge pull request #2327 from ItsQuadrus/patch-1
Missing brace in readme.md
2023-04-14 14:57:35 +02:00
Simon L
916a25a62e Merge pull request #2307 from nextcloud/enh/noid/add-curl-timeout
add timeout for curl
2023-04-14 14:57:18 +02:00
Simon L
5a8989bb9f Merge pull request #2302 from nextcloud/apache-healthcheck
apache healthcheck, check localhost apacheport with every apache port
2023-04-14 14:56:40 +02:00
Simon L
714815e9f0 Merge pull request #2301 from nextcloud/talk-healthcheck
Talk use netcat to check stun/turn port using domain
2023-04-14 14:55:44 +02:00
Simon L
3a9d5d52d5 Merge pull request #2289 from nextcloud/enh/noid/add-nodejs
add nodejs in order to make recognize easier to install on arm64
2023-04-14 14:53:56 +02:00
Simon L
854b4115e8 Merge pull request #2316 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.0.1-2
Bump clamav/clamav from 1.0.1-1 to 1.0.1-2 in /Containers/clamav
2023-04-14 14:49:39 +02:00
Simon L
23f2e96c71 Merge pull request #2299 from nextcloud/dependabot/docker/Containers/apache/httpd-2.4.57-alpine3.17
Bump httpd from 2.4.56-alpine3.17 to 2.4.57-alpine3.17 in /Containers/apache
2023-04-14 14:49:14 +02:00
Simon L
07adf95c35 Merge pull request #2282 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-23.0.3-cli
Bump docker from 23.0.2-cli to 23.0.3-cli in /Containers/mastercontainer
2023-04-14 14:47:44 +02:00
Simon L
9848ceec38 Merge pull request #2271 from nextcloud/aio-dependency-update
Dependency updates
2023-04-14 14:47:14 +02:00
Simon L
cbfc5d4d15 Merge pull request #2250 from nextcloud/aio-yaml-update
Yaml updates
2023-04-14 14:38:37 +02:00
Simon L
28b9755a50 disabling FTS on NC26 as the migration to ES8 is still pending
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 13:41:02 +02:00
Zoey
34a5e6badf fix typo, use always latest build of version
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-14 11:45:06 +02:00
Zoey
401150d427 add workflow
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-13 21:51:51 +02:00
Zoey
2d1ddccb28 talk use official coturn image
needs testing

Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-13 21:36:11 +02:00
ItsQuadrus
06733e8009 Missing brace
Signed-off-by: ItsQuadrus <quadrus.yt@gmail.com>
2023-04-13 20:44:59 +02:00
szaimen
0b2c7f09b6 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-04-13 12:02:39 +00:00
szaimen
73e734b011 dependency updates
Signed-off-by: GitHub <noreply@github.com>
2023-04-13 12:02:28 +00:00
Simon L
e1890c8f3b add ref docs on cloudflare tunnel and dns-challenge
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-13 13:29:53 +02:00
Zoey
904d23147c add suggestion
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-11 10:54:02 +02:00
Zoey
46ec1ea7f5 always check port 443
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-10 17:50:58 +02:00
Zoey
8cabad38a6 use commit sha and port 9000
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-10 17:20:04 +02:00
dependabot[bot]
1fa1c90e22 Bump clamav/clamav from 1.0.1-1 to 1.0.1-2 in /Containers/clamav
Bumps clamav/clamav from 1.0.1-1 to 1.0.1-2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 12:59:47 +00:00
Simon L
1ce496a323 add timeout for curl
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-09 01:03:06 +02:00
Zoey
d93c01f368 apache healthcheck, check localhost apacheport with every apache port
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-08 13:28:19 +02:00
Zoey
ee5d9493de Talk use netcat to check stun/turn port using domain
Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-08 13:25:40 +02:00
Simon L
c5a1a00e38 update wording for cleaning up things properlyd
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-07 17:00:52 +02:00
dependabot[bot]
99f29aaaed Bump httpd in /Containers/apache
Bumps httpd from 2.4.56-alpine3.17 to 2.4.57-alpine3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 12:59:09 +00:00
Simon L
0435609521 add nodejs in order to make recognize easier to install on arm64
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-06 15:49:25 +02:00
Zoey
6fe6d7e0b4 migrate imaginary container to alpine
I think this is much better, then the old workflow (https://github.com/nextcloud-releases/all-in-one/blob/main/.github/workflows/imaginary.yml)

Signed-off-by: Zoey <zoey@z0ey.de>
2023-04-06 15:05:59 +02:00
dependabot[bot]
d3b099e8e3 Bump docker from 23.0.2-cli to 23.0.3-cli in /Containers/mastercontainer
Bumps docker from 23.0.2-cli to 23.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>
2023-04-05 15:25:20 +00:00
Simon L
3cebbb6487 Merge pull request #2284 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-5
Bump peter-evans/create-pull-request from 4 to 5
2023-04-05 17:24:47 +02:00
Simon L
c6fc7baf2d Merge pull request #2283 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3
Bump peter-evans/create-or-update-comment from 2 to 3
2023-04-05 16:47:59 +02:00
dependabot[bot]
0c93ad6def Bump peter-evans/create-pull-request from 4 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
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>
2023-04-05 13:00:25 +00:00
dependabot[bot]
cd2208f295 Bump peter-evans/create-or-update-comment from 2 to 3
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 13:00:21 +00:00
Simon L
e55500640b Merge pull request #2273 from nextcloud/MariusQuabeck-patch-1
add default path for borg compact
2023-04-05 11:58:44 +02:00
Marius Quabeck
ab8b455b71 add default path for borg compact
all examples up until the compact section work under the assumption that you are using the default backup path "/mnt/backup/borg" so path for compact should be the same

Signed-off-by: Marius Quabeck <marius.quabeck@nextcloud.com>
2023-04-04 18:03:11 +02:00
Simon L
81a8352d64 update dependency-update workflow
ssh ncadmin@192.168.24.128
2023-04-04 14:34:21 +02:00
Simon L
93a0616f7e increase to 4.8.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-03 10:30:05 +02:00
Simon L
409dda00bd Merge pull request #2255 from nextcloud/enh/noid/remove-workarounds
remove temporarily added dependencies after avatar problem was fixed
2023-04-03 10:29:01 +02:00
Simon L
517ac319ba Merge pull request #2259 from nextcloud/enh/2258/fix-details
define updaterdirectory and add forgotten exit
2023-04-03 10:27:27 +02:00
Simon L
34d8ae8e5a Merge pull request #2256 from nextcloud/enh/noid/add-sysvsem
add sysvsem
2023-04-03 10:26:49 +02:00
Simon L
ed36ba6c8d define updaterdirectory and add forgotten exit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-02 11:26:42 +02:00
Simon L
15c90407bc add sysvsem
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 21:04:45 +02:00
Simon L
287a5a08cd remove temporarily added dependencies after avatar problem was fixed
after https://github.com/nextcloud/all-in-one/issues/1628 was fixed
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 21:01:28 +02:00
Simon L
187bf3f767 only show the note about nc26 when all containers are started
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 14:44:39 +02:00
Simon L
7a10602c63 increase width to 500px
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 14:37:42 +02:00
Simon L
aba666859b fix and sign in twig template
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 14:26:03 +02:00
Simon L
00a7e65a2d Merge pull request #2249 from nextcloud/enh/noid/add-remote-backup-section
add a section to the readme about remote borg backups
2023-04-01 14:21:45 +02:00
Simon L
fb3b040290 add a section to the readme about remote borg backups
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 14:20:25 +02:00
Simon L
baf7778ed3 increase to 4.8.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 14:15:14 +02:00
Simon L
565a84a7bf Merge pull request #2252 from nextcloud/enh/noid/domain-dot
domain must contain at least one dot
2023-04-01 14:14:32 +02:00
Simon L
6b0ce132f9 Merge pull request #2209 from nextcloud/enh/noid/note-about-26
Note on Nextcloud 26
2023-04-01 14:14:18 +02:00
Simon L
cc13161ec6 domain must contain at least one dot
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 14:05:40 +02:00
Simon L
7ccc699402 Merge pull request #2251 from nextcloud/enh/noid/fix-login-form
fix the login form
2023-04-01 13:36:18 +02:00
Simon L
9954641e02 fix the login form
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-01 13:33:11 +02:00
Simon L
c1595afe2d Merge pull request #2246 from nextcloud/automated/noid/psalm-baseline-update-1680236481
[Automated] Update psalm-baseline.xml
2023-03-31 12:33:18 +02:00
Simon L
974190fd86 move the options-form-submit to the containers layout
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-31 12:24:03 +02:00
Simon L
1bf1b2b284 options-form-submit is not needed for the login layout
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-31 12:05:41 +02:00
Simon L
291d543f37 Merge pull request #2248 from nextcloud/enh/noid/shm-size-int
shm-size must be an int
2023-03-31 11:45:22 +02:00
Simon L
8b6bb94539 shm-size must be an int
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-31 11:27:11 +02:00
Simon L
1cae0980cd Correct cifs mount example
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-03-31 09:25:14 +02:00
nextcloud-command
bd4d16ebb0 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 04:21:20 +00:00
Simon L
ba2b5a4638 Merge pull request #2243 from nextcloud/enh/noid/docker-dind
change docker:dind to docker:cli
2023-03-30 20:16:45 +02:00
Simon L
98eb90360b add a bit more logic
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 18:12:57 +02:00
Simon L
2a9c4e3198 wip on note about Nextcloud 26
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 18:11:59 +02:00
Simon L
94f7ca00b5 change docker:dind to docker:cli
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 18:05:02 +02:00
Simon L
b4a8d7d649 Merge pull request #2241 from nextcloud/dependabot/docker/Containers/borgbackup/alpine-3.17.3
Bump alpine from 3.17.2 to 3.17.3 in /Containers/borgbackup
2023-03-30 17:55:10 +02:00
dependabot[bot]
63e7be45fe Bump alpine from 3.17.2 to 3.17.3 in /Containers/borgbackup
Bumps alpine from 3.17.2 to 3.17.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 15:54:46 +00:00
Simon L
f6f5598e97 Merge pull request #2240 from nextcloud/dependabot/docker/Containers/watchtower/alpine-3.17.3
Bump alpine from 3.17.2 to 3.17.3 in /Containers/watchtower
2023-03-30 17:54:45 +02:00
dependabot[bot]
736e93b5eb Bump alpine from 3.17.2 to 3.17.3 in /Containers/watchtower
Bumps alpine from 3.17.2 to 3.17.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 15:54:26 +00:00
Simon L
db9657f125 Merge pull request #2239 from nextcloud/dependabot/docker/Containers/domaincheck/alpine-3.17.3
Bump alpine from 3.17.2 to 3.17.3 in /Containers/domaincheck
2023-03-30 17:54:09 +02:00
Simon L
2b1ae17e88 Merge pull request #2207 from nextcloud/enh/2203/add-dot
add dot to allowed characters in additional backup volumes
2023-03-30 17:53:48 +02:00
Simon L
e6510c21cf Merge pull request #2237 from nextcloud/dependabot/docker/Containers/talk/alpine-3.17.3
Bump alpine from 3.17.2 to 3.17.3 in /Containers/talk
2023-03-30 17:53:32 +02:00
Simon L
92dd734993 Merge pull request #2232 from nextcloud/enh/noid/fix-datdir-permissions
fix the datadir permission problems during install
2023-03-30 15:42:10 +02:00
Simon L
556afe5f51 Merge pull request #2230 from nextcloud/enh/noid/internal-ip-wording
improve wording of internal ip in case of reverse proxy situation
2023-03-30 15:39:05 +02:00
Simon L
23e495fc45 Merge pull request #2226 from nextcloud/enh/noid/increase-shm-size
increase shm_size for postgresql
2023-03-30 15:36:54 +02:00
Simon L
5002de61a2 Merge pull request #2224 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-22.05.12.4.1
Bump collabora/code from 22.05.12.2.1 to 22.05.12.4.1 in /Containers/collabora
2023-03-30 15:35:33 +02:00
Simon L
c56959b9d0 Merge pull request #2210 from nextcloud/enh/2195/allow-digits-in-startup-apps
allow digits in NEXTCLOUD_STARTUP_APPS
2023-03-30 15:35:03 +02:00
Simon L
5d9573602b also update the ui
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 15:32:25 +02:00
Simon L
aba40c4633 Merge pull request #2206 from nextcloud/enh/2195/adjust-datadir-wording
adjust wording of regex for NEXTCLOUD_DATADIR
2023-03-30 15:30:45 +02:00
dependabot[bot]
ec6b37178b Bump alpine from 3.17.2 to 3.17.3 in /Containers/domaincheck
Bumps alpine from 3.17.2 to 3.17.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 12:59:29 +00:00
dependabot[bot]
a0267c6efa Bump alpine from 3.17.2 to 3.17.3 in /Containers/talk
Bumps alpine from 3.17.2 to 3.17.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 12:59:17 +00:00
Simon L
f0222394a1 Merge pull request #2185 from nextcloud/enh/noid/enable-jit
enable JIT
2023-03-30 12:23:56 +02:00
Simon L
ba88aa1d35 Merge pull request #2234 from nextcloud/enh/noid/add-helm-docs
add some docs on how to use helm-chart
2023-03-30 12:17:46 +02:00
Simon L
f726e4a8c6 add steps how to adjust values
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 12:16:49 +02:00
Simon L
7da2c627c6 Merge pull request #2235 from nextcloud/enh/noid/update-helm-another-time
fix helm-chart update
2023-03-30 12:10:46 +02:00
Simon L
e75a426749 try to update helm-chart again
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 12:09:17 +02:00
Simon L
5058270c99 add some docs on how to use helm-chart
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 11:37:09 +02:00
Simon L
e0f4024ead update links of helm-chart
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 11:32:12 +02:00
Simon L
c63d44c1cf improve helm-releaser
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 11:30:33 +02:00
Simon L
cb3d8d6b30 Merge pull request #2229 from nextcloud/enh/nod/update-helm-chart-updates
update helm-chart updates
2023-03-30 11:27:47 +02:00
Simon L
fe336cf6d8 update helm-chart updates
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 11:24:16 +02:00
Simon L
386533b02f fix the datadir permission problems during install
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 10:54:56 +02:00
Simon L
cd6f5ccebd improve wording of internal ip in case of reverse proxy situation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 10:23:05 +02:00
Simon L
9c0ea8a23c Merge pull request #2228 from nextcloud/aio-helm-update
Helm Chart updates
2023-03-30 09:57:44 +02:00
szaimen
d5c857325b Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-03-30 07:56:26 +00:00
Simon L
ef42467cc2 add a link to traefik config
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-29 18:46:14 +02:00
Simon L
d0f11028d3 increase shm_size for postgresql
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-29 10:57:44 +02:00
dependabot[bot]
0e7e1eaf3d Bump collabora/code in /Containers/collabora
Bumps collabora/code from 22.05.12.2.1 to 22.05.12.4.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 13:51:30 +00:00
Simon L
20062b6095 allow digits in NEXTCLOUD_STARTUP_APPS
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-26 14:50:09 +02:00
Simon L
bf9482e560 Make sure that NEXTCLOUD_DATADIR is not misleading
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-26 14:46:22 +02:00
Simon L
b7e012f886 add dot to allowed characters in additional backup volumes
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-25 10:12:38 +01:00
Simon L
b4bd4d115d Add additional check to properly resetting things
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-25 10:09:57 +01:00
Simon L
961f894372 adjust wording of regex for NEXTCLOUD_DATADIR
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-25 09:56:34 +01:00
Simon L
a68b00b126 adjust labels
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-24 12:14:02 +01:00
Simon L
1c2b4f042d try to fix the helm-releaser
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-24 12:13:26 +01:00
Simon L
c9acb396ad add labels to chart.yaml
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-24 12:10:03 +01:00
Simon L
69cb6bee4d enable JIT
based on https://github.com/nextcloud/documentation/pull/9230
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-23 15:22:24 +01:00
165 changed files with 4125 additions and 1648 deletions

View File

@@ -108,6 +108,15 @@ updates:
labels:
- 3. to review
- dependencies
- package-ecosystem: "docker"
directory: "/Containers/talk-recording"
schedule:
interval: "daily"
time: "12:00"
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
- package-ecosystem: "docker"
directory: "/Containers/watchtower"
schedule:

20
.github/workflows/codespell.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: 'Codespell'
on:
pull_request:
push:
branches:
- main
jobs:
codespell:
name: Check spelling
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Check spelling
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
check_hidden: true

View File

@@ -23,7 +23,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,18 +31,18 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.8
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@v2
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}

View File

@@ -1,54 +0,0 @@
name: Create Psalm Container
on:
workflow_dispatch:
schedule:
- cron: '5 4 * * *'
jobs:
push_to_registry:
runs-on: ubuntu-latest
name: Create Psalm Container
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
run: |
git clone https://github.com/psalm/psalm-github-actions.git
- name: Modify the Dockerfile
run: |
set -x
sed -i 's|FROM php:7.4-alpine|FROM php:8.1-alpine|' "psalm-github-actions/Dockerfile"
cat << APCU >> "psalm-github-actions/Dockerfile"
RUN mkdir -p /usr/src/php/ext/apcu && \
curl -fsSL https://pecl.php.net/get/apcu | tar xvz -C "/usr/src/php/ext/apcu" --strip 1 && \
docker-php-ext-install apcu
APCU
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v2
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
uses: docker/build-push-action@v4
with:
push: true
context: 'psalm-github-actions'
file: 'psalm-github-actions/Dockerfile'
tags: |
ghcr.io/nextcloud/all-in-one-psalm:latest

View File

@@ -13,23 +13,24 @@ jobs:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: apcu
- name: Run dependency update script
run: |
set -x
cd ./php
composer update
set +e
ALL_LINES="$(composer outdated | grep -v "^$\|Direct dependencies\|Everything up to date\|Transitive dependencies")"
set -e
while [ -n "$ALL_LINES" ]; do
CURRENT_LINE="$(echo "$ALL_LINES" | head -1)"
composer require "$(echo "$CURRENT_LINE" | awk '{print $1}')" "^$(echo "$CURRENT_LINE" | awk '{print $4}')" --with-all-dependencies
ALL_LINES="$(echo "$ALL_LINES" | sed '1d')"
done
echo "outdated dependencies:
$(composer outdated)"
composer update --with-all-dependencies
# Disable dependency updates for now
# set +e
# ALL_LINES="$(composer outdated | grep -v "^$\|Direct dependencies\|Everything up to date\|Transitive dependencies")"
# set -e
# while [ -n "$ALL_LINES" ]; do
# CURRENT_LINE="$(echo "$ALL_LINES" | head -1)"
# composer require "$(echo "$CURRENT_LINE" | awk '{print $1}')" "^$(echo "$CURRENT_LINE" | awk '{print $4}')" --with-all-dependencies
# ALL_LINES="$(echo "$ALL_LINES" | sed '1d')"
# done
# echo "outdated dependencies:
# $(composer outdated)"
- name: Update apcu
run: |
# APCU
@@ -43,12 +44,12 @@ 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@v4
uses: peter-evans/create-pull-request@v5
with:
commit-message: dependency updates
signoff: true
title: Dependency updates
body: Automated dependency updates since dependabot does not support grouped updates
labels: dependencies, enhancement
labels: dependencies, 3. to review
milestone: next
branch: aio-dependency-update

54
.github/workflows/docker-lint.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
name: Docker Lint
on:
pull_request:
paths:
- 'Containers/**'
push:
branches:
- main
paths:
- 'Containers/**'
permissions:
contents: read
concurrency:
group: docker-lint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
docker-lint:
runs-on: ubuntu-latest
name: docker-lint
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install npm and dockerfilelint
run: |
sudo apt-get update
sudo apt-get install nodejs npm -y --no-install-recommends
npm install -g dockerfilelint
wget https://github.com/replicatedhq/dockerfilelint/pull/184.patch -O /usr/local/lib/node_modules/dockerfilelint/184.patch
CURRENT_DIR=$PWD
cd /usr/local/lib/node_modules/dockerfilelint/
git apply 184.patch
cd $CURRENT_DIR
cat << RULES > ./.dockerfilelintrc
rules:
sudo_usage: off
RULES
- name: run lint
run: |
DOCKERFILES="$(find ./Containers -name Dockerfile)"
mapfile -t DOCKERFILES <<< "$DOCKERFILES"
for file in "${DOCKERFILES[@]}"; do
dockerfilelint "$file" --config ./ | tee -a ./dockerfilelint.log
done
if grep "^Issues: [0-9]" ./dockerfilelint.log; then
exit 1
fi

View File

@@ -6,7 +6,7 @@ on:
branches:
- main
paths:
- 'helm-chart/**'
- 'nextcloud-aio-helm-chart/**'
jobs:
release:
@@ -40,9 +40,8 @@ jobs:
# TODO: switch back @main to a specific version like @v1.5.1 or higher
uses: helm/chart-releaser-action@main
with:
charts_repo_url: https://nextcloud.github.io/all-in-one
charts_dir: helm-chart
mark_as_latest: false
charts_dir: .
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_RELEASE_NAME_TEMPLATE: "helm-chart-{{ .Version }}"

33
.github/workflows/imaginary-update.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: imaginary-update
on:
workflow_dispatch:
schedule:
- cron: '00 12 * * *'
jobs:
run_update:
name: update to latest imaginary commit on master branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run imaginary-update
run: |
# Imaginary
imaginary_version="$(
git ls-remote https://github.com/h2non/imaginary master \
| cut -f1 \
| tail -1
)"
sed -i "s|^ENV IMAGINARY_HASH.*$|ENV IMAGINARY_HASH $imaginary_version|" ./Containers/imaginary/Dockerfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: imaginary-update automated change
signoff: true
title: Imaginary update
body: Automated Imaginary container update
labels: dependencies, 3. to review
milestone: next
branch: imaginary-container-update

View File

@@ -2,12 +2,16 @@ name: Json Validator
on:
pull_request:
paths:
- '**.json'
push:
branches:
- main
paths:
- '**.json'
jobs:
psalm:
json-validator:
name: Json Validator
runs-on: ubuntu-latest
steps:
@@ -15,6 +19,7 @@ jobs:
uses: actions/checkout@v3
- name: Validate Json
run: |
sudo apt install python3-pip --no-install-recommends
sudo apt-get update
sudo apt-get install python3-pip -y --no-install-recommends
sudo pip3 install json-spec
json validate --schema-file=php/containers-schema.json --document-file=php/containers.json

View File

@@ -3,18 +3,22 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Lint
name: Lint php
on:
pull_request:
paths:
- 'php/**'
push:
branches:
- main
paths:
- 'php/**'
permissions:
contents: read
concurrency:
concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -23,24 +27,27 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["8.1"]
php-versions: [ "8.2" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: cd php && composer run lint
summary:
php-lint-summary:
permissions:
contents: none
runs-on: ubuntu-latest

View File

@@ -66,12 +66,12 @@ jobs:
sed -i "s|^ENV NEXTCLOUD_VERSION.*|ENV NEXTCLOUD_VERSION $NCVERSION|" ./Containers/nextcloud/Dockerfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v5
with:
commit-message: nextcloud-update automated change
signoff: true
title: Nextcloud update
body: Automated Nextcloud container update
labels: dependencies, enhancement
labels: dependencies, 3. to review
milestone: next
branch: nextcloud-container-update

View File

@@ -3,20 +3,24 @@ name: PHP Deprecation Detector
on:
pull_request:
paths:
- 'php/**'
push:
branches:
- main
paths:
- 'php/**'
jobs:
psalm:
phpdd:
name: PHP Deprecation Detector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up php8.1
- name: Set up php8.2
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: apcu
coverage: none

View File

@@ -1,28 +0,0 @@
name: Psalm Analysis
on:
pull_request:
push:
branches:
- main
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up php8.1
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: apcu
coverage: none
- name: Run script
run: |
set -x
cd php
composer global require vimeo/psalm --prefer-dist --no-progress --dev
composer install
composer run psalm

View File

@@ -1,25 +0,0 @@
name: Psalm Security Analysis
on:
push:
branches:
- main
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Psalm
uses: docker://ghcr.io/nextcloud/all-in-one-psalm
with:
relative_dir: php
security_analysis: true
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: php/results.sarif

View File

@@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up php8.1
- name: Set up php8.2
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: apcu
coverage: none
@@ -31,7 +31,7 @@ jobs:
continue-on-error: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
@@ -42,7 +42,8 @@ jobs:
# Make sure we can open multiple PRs
branch-suffix: timestamp
title: '[Automated] Update psalm-baseline.xml'
milestone: next
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
3. to review
3. to review, dependencies

47
.github/workflows/psalm.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
# 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: Static analysis
on:
pull_request:
paths:
- 'php/**'
push:
branches:
- main
paths:
- 'php/**'
concurrency:
group: psalm-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
static-analysis:
runs-on: ubuntu-latest
name: Nextcloud
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up php
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
php-version: 8.2
extensions: apcu
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies and run psalm
run: |
set -x
cd php
composer global require vimeo/psalm --prefer-dist --no-progress --dev
composer install
composer run psalm

View File

@@ -2,9 +2,13 @@ name: Shellcheck
on:
pull_request:
paths:
- '**.sh'
push:
branches:
- main
paths:
- '**.sh'
jobs:
shellcheck:

View File

@@ -1,23 +0,0 @@
name: 'Spellcheck'
on:
pull_request:
push:
branches:
- main
jobs:
spellcheck:
name: Check spelling
runs-on: ubuntu-latest
steps:
- name: spelling or typos
uses: actions/checkout@v3
- name: fix permission for reviewdog
run: sudo chown -R root:root $GITHUB_WORKSPACE
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
locale: "US"
fail_on_error: true

56
.github/workflows/talk.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: talk-update
on:
workflow_dispatch:
schedule:
- cron: '00 12 * * *'
jobs:
talk-update:
name: update talk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run talk-update
run: |
# Spreed
spreed_version="$(
git ls-remote https://github.com/nextcloud/spreed v*.*.* \
| cut -d/ -f3 \
| sort -V \
| grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$" \
| tail -1
)"
sed -i "s|^ENV RECORDING_VERSION.*$|ENV RECORDING_VERSION $spreed_version|" ./Containers/talk-recording/Dockerfile
curl -L "https://raw.githubusercontent.com/nextcloud/spreed/$spreed_version/recording/server.conf.in" -o Containers/talk-recording/recording.conf
# Signaling
signaling_version="$(
git ls-remote https://github.com/strukturag/nextcloud-spreed-signaling v*.*.* \
| cut -d/ -f3 \
| sort -V \
| grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$" \
| tail -1
)"
curl -L "https://raw.githubusercontent.com/strukturag/nextcloud-spreed-signaling/$signaling_version/server.conf.in" -o Containers/talk/server.conf.in
# Janus
janus_version="$(
git ls-remote https://github.com/meetecho/janus-gateway v0.*.* \
| cut -d/ -f3 \
| sort -V \
| grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$" \
| tail -1
)"
sed -i "s|^ARG JANUS_VERSION=.*$|ARG JANUS_VERSION=$janus_version|" ./Containers/talk/Dockerfile
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: talk-update automated change
signoff: true
title: talk update
body: Automated talk container update
labels: dependencies, 3. to review
milestone: next
branch: talk-container-update

42
.github/workflows/twig-lint.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Twig Lint
on:
pull_request:
paths:
- '**.twig'
push:
branches:
- main
paths:
- '**.twig'
permissions:
contents: read
concurrency:
group: lint-twig-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
twig-lint:
runs-on: ubuntu-latest
name: twig-lint
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: apcu
coverage: none
- 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

View File

@@ -6,7 +6,7 @@ on:
- cron: '00 12 * * *'
jobs:
psalm:
update-helm:
name: update helm chart
runs-on: ubuntu-latest
steps:
@@ -17,17 +17,17 @@ jobs:
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*}"
export DOCKER_TAG
if [ -n "$DOCKER_TAG" ] && ! grep -q "$DOCKER_TAG" ./helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml; then
sudo bash helm-chart/update-helm.sh "$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@v4
uses: peter-evans/create-pull-request@v5
with:
commit-message: Helm Chart updates
signoff: true
title: Helm Chart updates
body: Automated Helm Chart updates for the yaml files. It can be merged if it looks good at any time which will automatically trigger a new release of the helm chart.
labels: dependencies
labels: dependencies, 3. to review
milestone: next
branch: aio-helm-update
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -6,7 +6,7 @@ on:
- cron: '00 12 * * *'
jobs:
psalm:
update-yaml:
name: update yaml files
runs-on: ubuntu-latest
steps:
@@ -16,13 +16,13 @@ jobs:
run: |
sudo bash manual-install/update-yaml.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v5
with:
commit-message: Yaml updates
signoff: true
title: Yaml updates
body: Automated yaml updates for the docker-compose files. Should only be merged shortly before the next latest release.
labels: dependencies
labels: dependencies, 3. to review
milestone: next
branch: aio-yaml-update
token: ${{ secrets.GITHUB_TOKEN }}

1
.gitignore vendored
View File

@@ -6,4 +6,5 @@
/manual-install/*.conf
!/manual-install/sample.conf
/manual-install/docker-compose.yml
/manual-install/compose.yaml
/manual-install/.env

View File

@@ -5,6 +5,10 @@
root /mnt/data/caddy
}
servers {
# trusted_proxies placeholder
}
log {
level ERROR
}
@@ -12,37 +16,21 @@
{$PROTOCOL}://{$NC_DOMAIN}:{$APACHE_PORT} {
# Collabora
route /browser/* {
reverse_proxy {$COLLABORA_HOST}:9980
}
route /hosting/* {
reverse_proxy {$COLLABORA_HOST}:9980
}
route /cool/* {
reverse_proxy {$COLLABORA_HOST}:9980
}
# Notify Push
route /push/* {
uri strip_prefix /push
reverse_proxy {$NEXTCLOUD_HOST}:7867 {
# trusted_proxies placeholder
}
}
# Talk
route /standalone-signaling/* {
uri strip_prefix /standalone-signaling
reverse_proxy {$TALK_HOST}:8081 {
# trusted_proxies placeholder
}
}
# Collabora
route /browser/* {
reverse_proxy {$COLLABORA_HOST}:9980 {
# trusted_proxies placeholder
}
}
route /hosting/* {
reverse_proxy {$COLLABORA_HOST}:9980 {
# trusted_proxies placeholder
}
}
route /cool/* {
reverse_proxy {$COLLABORA_HOST}:9980 {
# trusted_proxies placeholder
}
reverse_proxy {$NOTIFY_PUSH_HOST}:7867
}
# Onlyoffice
@@ -51,19 +39,24 @@
reverse_proxy {$ONLYOFFICE_HOST}:80 {
header_up X-Forwarded-Host {http.request.host}/onlyoffice
header_up X-Forwarded-Proto https
# trusted_proxies placeholder
}
}
# Talk
route /standalone-signaling/* {
uri strip_prefix /standalone-signaling
reverse_proxy {$TALK_HOST}:8081
}
# Others
import /mnt/data/caddy-imports/*
# Nextcloud
route {
rewrite /.well-known/carddav /remote.php/dav
rewrite /.well-known/caldav /remote.php/dav
header Strict-Transport-Security max-age=31536000;
reverse_proxy localhost:8000 {
# See https://github.com/nextcloud/all-in-one/issues/828
# trusted_proxies placeholder
}
reverse_proxy localhost:8000
}
# TLS options

View File

@@ -1,7 +1,16 @@
# Caddy is a requirement
FROM caddy:2.6.4-alpine as caddy
FROM httpd:2.4.56-alpine3.17
FROM httpd:2.4.57-alpine3.18
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
COPY --chown=33:33 Caddyfile /Caddyfile
COPY --chmod=664 nextcloud.conf /usr/local/apache2/conf/nextcloud.conf
COPY --chmod=664 supervisord.conf /supervisord.conf
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh
VOLUME /mnt/data
RUN set -ex; \
apk add --no-cache shadow; \
@@ -9,77 +18,65 @@ RUN set -ex; \
usermod -u 333 -g 333 xfs; \
groupmod -g 33 www-data; \
usermod -u 33 -g 33 www-data; \
apk del --no-cache shadow
RUN mkdir -p /mnt/data; \
chown www-data:www-data /mnt/data;
VOLUME /mnt/data
RUN set -ex; \
apk del --no-cache shadow; \
\
mkdir -p /mnt/data; \
chown -R www-data:www-data /mnt/data; \
chown -R 777 /tmp; \
\
apk add --no-cache \
bash \
supervisor \
wget \
tzdata \
ca-certificates \
openssl \
netcat-openbsd
COPY --from=caddy /usr/bin/caddy /usr/bin/
RUN chmod +x /usr/bin/caddy
RUN sed -i \
-e '/^Listen /d' \
-e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_headers.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_proxy.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_proxy_fcgi.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_setenvif.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_env.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_mime.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_dir.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_authz_core.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_alias.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_mpm_event.so\)/\1/' \
-e 's/\(LoadModule .*mod_mpm_worker.so\)/#\1/' \
-e 's/\(LoadModule .*mod_mpm_prefork.so\)/#\1/' \
conf/httpd.conf; \
echo "Include conf/nextcloud.conf" | tee -a conf/httpd.conf; \
echo "ServerName localhost" | tee -a conf/httpd.conf
COPY nextcloud.conf conf
RUN set -ex; \
rm -rf conf/original conf/original && \
rm -rf /var/www/html/* && \
mkdir /var/www && \
chown -R www-data:www-data /var/www;
RUN mkdir /var/log/supervisord; \
netcat-openbsd; \
\
sed -i \
-e '/^Listen /d' \
-e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_headers.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_proxy.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_proxy_fcgi.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_setenvif.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_env.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_mime.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_dir.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_authz_core.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_alias.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_mpm_event.so\)/\1/' \
-e 's/^#\(LoadModule .*mod_brotli.so\)/\1/' \
-e 's/\(LoadModule .*mod_mpm_worker.so\)/#\1/' \
-e 's/\(LoadModule .*mod_mpm_prefork.so\)/#\1/' \
-e 's/\(ScriptAlias \)/#\1/' \
/usr/local/apache2/conf/httpd.conf; \
echo "Include conf/nextcloud.conf" | tee -a /usr/local/apache2/conf/httpd.conf; \
echo "ServerName localhost" | tee -a /usr/local/apache2/conf/httpd.conf; \
\
rm -rf /usr/local/apache2/conf/original /var/www; \
mkdir -p /var/www; \
chown -R www-data:www-data /var/www; \
\
mkdir /var/log/supervisord; \
mkdir /var/run/supervisord; \
chown www-data:www-data /var/run/supervisord; \
chown www-data:www-data /var/log/supervisord;
COPY Caddyfile /
COPY start.sh /usr/bin/
COPY healthcheck.sh /usr/bin/
COPY supervisord.conf /
RUN chmod +x /usr/bin/start.sh; \
chmod +x /usr/bin/healthcheck.sh; \
chmod +r /supervisord.conf; \
chown www-data:www-data /Caddyfile; \
chown www-data:www-data /var/log/supervisord; \
chmod 777 /var/run/supervisord; \
chmod 777 /var/log/supervisord; \
\
chown -R www-data:www-data /usr/local/apache2; \
chmod +r -R /usr/local/apache2
# Give root a random password
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
chmod +r -R /usr/local/apache2; \
mkdir -p /usr/local/apache2/logs; \
chmod 777 -R /home/www-data; \
chmod 777 -R /usr/local/apache2/logs; \
rm -rf /usr/local/apache2/cgi-bin/; \
\
echo "root:$(openssl rand -base64 12)" | chpasswd
USER www-data
ENTRYPOINT ["start.sh"]
ENTRYPOINT ["/start.sh"]
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
HEALTHCHECK CMD healthcheck.sh
LABEL com.centurylinklabs.watchtower.monitor-only="true"
HEALTHCHECK CMD /healthcheck.sh
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -2,8 +2,5 @@
nc -z "$NEXTCLOUD_HOST" 9000 || exit 0
nc -z localhost 8000 || exit 1
if [ "$APACHE_PORT" != '443' ]; then
nc -z localhost "$APACHE_PORT" || exit 1
else
nc -z "$NC_DOMAIN" "$APACHE_PORT" || exit 1
fi
nc -z localhost "$APACHE_PORT" || exit 1
nc -z "$NC_DOMAIN" 443 || exit 1

View File

@@ -3,13 +3,23 @@ Listen 8000
ServerName localhost
# Add error log
CustomLog /proc/self/fd/1 combined
CustomLog /proc/self/fd/1 proxy
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
ErrorLog /proc/self/fd/2
ErrorLogFormat "[%t] [%l] [%E] [client: %{X-Forwarded-For}i] [%M] [%{User-Agent}i]"
LogLevel warn
# PHP match
<FilesMatch "\.php$">
SetHandler "proxy:fcgi://${NEXTCLOUD_HOST}:9000"
</FilesMatch>
# Enable Brotli compression for js, css and svg files - other plain files are compressed by Nextcloud by default
<IfModule mod_brotli.c>
AddOutputFilterByType BROTLI_COMPRESS text/javascript application/javascript application/x-javascript text/css image/svg+xml
BrotliCompressionQuality 0
</IfModule>
# Nextcloud dir
DocumentRoot /var/www/html/
<Directory /var/www/html/>

View File

@@ -35,22 +35,31 @@ if [ "$APACHE_PORT" != '443' ]; then
else
CADDYFILE="$(sed 's|auto_https.*|auto_https disable_redirects|' /Caddyfile)"
fi
echo "$CADDYFILE" > /Caddyfile
echo "$CADDYFILE" > /tmp/Caddyfile
# Change the trusted_proxies in case of reverse proxies
if [ "$APACHE_PORT" != '443' ]; then
CADDYFILE="$(sed 's|# trusted_proxies placeholder|trusted_proxies private_ranges|' /Caddyfile)"
CADDYFILE="$(sed 's|# trusted_proxies placeholder|trusted_proxies static private_ranges|' /tmp/Caddyfile)"
else
CADDYFILE="$(sed 's|trusted_proxies private_ranges|# trusted_proxies placeholder|' /Caddyfile)"
CADDYFILE="$(sed 's|trusted_proxies.*private_ranges|# trusted_proxies placeholder|' /tmp/Caddyfile)"
fi
echo "$CADDYFILE" > /Caddyfile
echo "$CADDYFILE" > /tmp/Caddyfile
# Fix the Caddyfile format
caddy fmt --overwrite /Caddyfile
caddy fmt --overwrite /tmp/Caddyfile
# Add caddy path
mkdir -p /mnt/data/caddy/
# Add caddy import path
mkdir -p /mnt/data/caddy-imports
# Remove falsely added Nextcloud conf
rm -f /mnt/data/caddy-imports/nextcloud
# Makre sure that the caddy-imports dir is not empty
echo "# empty file so that caddy does not print a warning" > /mnt/data/caddy-imports/empty
# Fix apache startup
rm -f /usr/local/apache2/logs/httpd.pid

View File

@@ -20,4 +20,4 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/usr/bin/caddy run --config /Caddyfile
command=/usr/bin/caddy run --config /tmp/Caddyfile

View File

@@ -1,4 +1,4 @@
FROM alpine:3.17.2
FROM alpine:3.18.2
RUN set -ex; \
\
@@ -13,11 +13,10 @@ RUN set -ex; \
VOLUME /root
COPY start.sh /usr/bin/
COPY backupscript.sh /
RUN chmod +x /usr/bin/start.sh; \
chmod +x /backupscript.sh
COPY --chmod=770 *.sh /
ENTRYPOINT ["/start.sh"]
USER root
ENTRYPOINT ["start.sh"]
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"
ENV BORG_RETENTION_POLICY="--keep-within=7d --keep-weekly=4 --keep-monthly=6"

View File

@@ -24,6 +24,14 @@ for directory in "${VOLUME_DIRS[@]}"; do
exit 1
fi
done
# Test if default volumes are there
DEFAULT_VOLUMES=(nextcloud_aio_apache nextcloud_aio_nextcloud nextcloud_aio_database nextcloud_aio_database_dump nextcloud_aio_elasticsearch nextcloud_aio_nextcloud_data nextcloud_aio_mastercontainer)
for volume in "${DEFAULT_VOLUMES[@]}"; do
if ! mountpoint -q "/nextcloud_aio_volumes/$volume"; then
echo "$volume is missing which is not intended."
exit 1
fi
done
# Check if target is mountpoint
if ! mountpoint -q /mnt/borgbackup; then
@@ -86,8 +94,9 @@ if [ "$BORG_MODE" = backup ]; then
if ! [ -f "$BORG_BACKUP_DIRECTORY/config" ]; then
# Don't initialize if already initialized
if [ -f "/nextcloud_aio_volumes/nextcloud_aio_mastercontainer/data/borg.config" ]; then
echo "Cannot initialize a new repository as that was already done at least one time."
echo "If you still want to do so, you may delete the 'borg.config' file that is stored in the mastercontainer volume manually, which will allow you to initialize a new borg repository in the chosen directory:"
echo "No borg config file was found in the targeted directory."
echo "This might happen if the targeted directory is located on an external drive and the drive not connected anymore. You should check this."
echo "If you instead want to initialize a new backup repository, you may delete the 'borg.config' file that is stored in the mastercontainer volume manually, which will allow you to initialize a new borg repository in the chosen directory:"
echo "sudo docker exec nextcloud-aio-mastercontainer rm /mnt/docker-aio-config/data/borg.config"
exit 1
fi
@@ -127,11 +136,21 @@ if [ "$BORG_MODE" = backup ]; then
# Borg options
# auto,zstd compression seems to has the best ratio based on:
# https://forum.level1techs.com/t/optimal-compression-for-borg-backups/145870/6
BORG_OPTS=(-v --stats --compression "auto,zstd" --exclude-caches --checkpoint-interval 86400)
BORG_OPTS=(-v --stats --compression "auto,zstd" --exclude-caches)
if [ "$NEW_REPOSITORY" = 1 ]; then
BORG_OPTS+=(--progress)
fi
# Exclude the nextcloud log and audit log for GDPR reasons
BORG_EXCLUDE=(--exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud/data/nextcloud.log*" --exclude "/nextcloud_aio_volumes/nextcloud_aio_nextcloud/data/audit.log")
# Make sure that there is always a borg.config file before creating a new backup
if ! [ -f "/nextcloud_aio_volumes/nextcloud_aio_mastercontainer/data/borg.config" ]; then
echo "Did not find borg.config file in the mastercontainer volume."
echo "Cannot create a backup as this is wrong."
exit 1
fi
# Create the backup
echo "Starting the backup..."
get_start_time
@@ -139,6 +158,7 @@ if [ "$BORG_MODE" = backup ]; then
echo "Deleting the failed backup archive..."
borg delete --stats "$BORG_BACKUP_DIRECTORY::$CURRENT_DATE-nextcloud-aio"
echo "Backup failed!"
echo "You might want to check the backup integrity via the AIO interface."
if [ "$NEW_REPOSITORY" = 1 ]; then
echo "Deleting borg.config file so that you can choose a different location for the backup."
rm "/nextcloud_aio_volumes/nextcloud_aio_mastercontainer/data/borg.config"
@@ -150,11 +170,12 @@ if [ "$BORG_MODE" = backup ]; then
rm -f "/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/skip.update"
# Prune options
BORG_PRUNE_OPTS=(--stats --keep-within=7d --keep-weekly=4 --keep-monthly=6 "$BORG_BACKUP_DIRECTORY")
read -ra BORG_PRUNE_OPTS <<< "$BORG_RETENTION_POLICY"
echo "BORG_PRUNE_OPTS are ${BORG_PRUNE_OPTS[*]}"
# Prune archives
echo "Pruning the archives..."
if ! borg prune --glob-archives '*_*-nextcloud-aio' "${BORG_PRUNE_OPTS[@]}"; then
if ! borg prune --stats --glob-archives '*_*-nextcloud-aio' "${BORG_PRUNE_OPTS[@]}" "$BORG_BACKUP_DIRECTORY"; then
echo "Failed to prune archives!"
exit 1
fi
@@ -185,7 +206,7 @@ if [ "$BORG_MODE" = backup ]; then
exit 1
fi
echo "Pruning additional volumes..."
if ! borg prune --glob-archives '*_*-additional-docker-volumes' "${BORG_PRUNE_OPTS[@]}"; then
if ! borg prune --stats --glob-archives '*_*-additional-docker-volumes' "${BORG_PRUNE_OPTS[@]}" "$BORG_BACKUP_DIRECTORY"; then
echo "Failed to prune additional docker-volumes archives!"
exit 1
fi
@@ -215,7 +236,7 @@ if [ "$BORG_MODE" = backup ]; then
exit 1
fi
echo "Pruning additional host mounts..."
if ! borg prune --glob-archives '*_*-additional-host-mounts' "${BORG_PRUNE_OPTS[@]}"; then
if ! borg prune --stats --glob-archives '*_*-additional-host-mounts' "${BORG_PRUNE_OPTS[@]}" "$BORG_BACKUP_DIRECTORY"; then
echo "Failed to prune additional host-mount archives!"
exit 1
fi
@@ -276,7 +297,7 @@ if [ "$BORG_MODE" = restore ]; then
--exclude "nextcloud_aio_mastercontainer/data/daily_backup_running" \
--exclude "nextcloud_aio_mastercontainer/data/session_date_file" \
--exclude "nextcloud_aio_mastercontainer/session/**" \
/tmp/borg/nextcloud_aio_volumes/ /nextcloud_aio_volumes; then
/tmp/borg/nextcloud_aio_volumes/ /nextcloud_aio_volumes/; then
RESTORE_FAILED=1
echo "Something failed while restoring from backup."
fi
@@ -362,6 +383,7 @@ if [ "$BORG_MODE" = check ]; then
# Perform the check
if ! borg check -v --verify-data "$BORG_BACKUP_DIRECTORY"; then
echo "Some errors were found while checking the backup integrity!"
echo "Check the AIO interface for advices on how to proceed now!"
exit 1
fi

View File

@@ -1,7 +1,18 @@
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/0.105/alpine/Dockerfile
FROM clamav/clamav:1.0.1-1
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.1/alpine/Dockerfile
FROM clamav/clamav:1.1.0-1
RUN apk add --no-cache tzdata
COPY clamav.conf /tmp/
RUN cat /tmp/clamav.conf >> /etc/clamav/clamd.conf
LABEL com.centurylinklabs.watchtower.monitor-only="true"
COPY clamav.conf /tmp/clamav.conf
RUN set -ex; \
apk add --no-cache tzdata; \
cat /tmp/clamav.conf | tee -a /etc/clamav/clamd.conf; \
rm /tmp/clamav.conf; \
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
VOLUME /var/lib/clamav
USER clamav
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -1,5 +1,5 @@
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker
FROM collabora/code:22.05.12.2.1
FROM collabora/code:23.05.1.3.1
USER root
@@ -9,11 +9,11 @@ RUN set -ex; \
export DEBIAN_FRONTEND=noninteractive; \
apt-get install -y --no-install-recommends \
tzdata \
netcat \
netcat-openbsd \
; \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*;
USER 104
USER 100
HEALTHCHECK CMD nc -z localhost 9980 || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -1,19 +1,18 @@
FROM alpine:3.17.2
RUN apk add --no-cache lighttpd bash netcat-openbsd
FROM alpine:3.18.2
RUN set -ex; \
apk add --no-cache bash lighttpd netcat-openbsd; \
adduser -S www-data -G www-data; \
rm -rf /etc/lighttpd/lighttpd.conf; \
chmod 777 -R /etc/lighttpd; \
mkdir -p /var/www/domaincheck; \
chown www-data:www-data -R /var/www; \
chmod 777 -R /var/www/domaincheck
COPY --chown=www-data:www-data lighttpd.conf /lighttpd.conf
RUN adduser -S www-data -G www-data
RUN rm -rf /etc/lighttpd/lighttpd.conf
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
RUN chmod +r -R /etc/lighttpd && \
chown www-data:www-data -R /var/www && \
chown www-data:www-data /etc/lighttpd/lighttpd.conf
COPY start.sh /
RUN chmod +x /start.sh
COPY --chmod=775 start.sh /start.sh
USER www-data
RUN mkdir -p /var/www/domaincheck/
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD nc -z localhost $APACHE_PORT || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -11,7 +11,7 @@ if [ -z "$APACHE_PORT" ]; then
export APACHE_PORT="443"
fi
CONF_FILE="$(sed "s|ipv6-placeholder|\[::\]:$APACHE_PORT|" /etc/lighttpd/lighttpd.conf)"
CONF_FILE="$(sed "s|ipv6-placeholder|\[::\]:$APACHE_PORT|" /lighttpd.conf)"
echo "$CONF_FILE" > /etc/lighttpd/lighttpd.conf
# Check config file

View File

@@ -1,15 +1,19 @@
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
FROM elasticsearch:7.17.9
FROM elasticsearch:8.8.0
RUN elasticsearch-plugin install --batch ingest-attachment
USER root
RUN set -ex; \
\
export DEBIAN_FRONTEND=noninteractive; \
apt-get update; \
apt-get install -y --no-install-recommends \
tzdata \
; \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*; \
elasticsearch-plugin install --batch ingest-attachment
USER 1000:0
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -1,29 +1,38 @@
# From https://github.com/h2non/imaginary/blob/master/Dockerfile
FROM nextcloud/imaginary:20230301
FROM golang:1.20.6-alpine3.18 as go
ENV IMAGINARY_HASH b632dae8cc321452c3f85bcae79c580b1ae1ed84
USER root
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
netcat \
; \
echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list; \
apt-get update; \
apt-get install -t bookworm -y --no-install-recommends \
libheif1 \
libde265-0 \
libx265-199 \
libvips \
; \
rm /etc/apt/sources.list.d/bookworm.list; \
rm -rf /var/lib/apt/lists/*
apk add --no-cache \
vips-dev \
vips-magick \
vips-heif \
vips-jxl \
vips-poppler \
build-base; \
go install github.com/h2non/imaginary@"$IMAGINARY_HASH";
FROM alpine:3.18.2
RUN set -ex; \
apk add --no-cache \
tzdata \
ca-certificates \
netcat-openbsd \
vips \
vips-magick \
vips-heif \
vips-jxl \
vips-poppler
COPY --from=go /go/bin/imaginary /usr/local/bin/imaginary
ENV PORT 9000
USER nobody
ENTRYPOINT ["/usr/local/bin/imaginary", "-return-size", "-max-allowed-resolution", "222.2"]
HEALTHCHECK CMD nc -z localhost 9000 || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
# https://github.com/h2non/imaginary#memory-issues
ENV MALLOC_ARENA_MAX=2
ENTRYPOINT ["imaginary", "-return-size", "-max-allowed-resolution", "222.2"]
HEALTHCHECK CMD nc -z localhost "$PORT" || exit 1
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -10,6 +10,10 @@
log {
level ERROR
}
servers {
protocols h1 h2 h2c
}
}
http://:80 {

View File

@@ -1,28 +1,28 @@
# Docker CLI is a requirement
FROM docker:23.0.1-dind as dind
FROM docker:24.0.4-cli as docker
# Caddy is a requirement
FROM caddy:2.6.4-alpine as caddy
# From https://github.com/docker-library/php/blob/master/8.1/alpine3.17/fpm/Dockerfile
FROM php:8.1.17-fpm-alpine3.17
# From https://github.com/docker-library/php/blob/master/8.2/alpine3.18/fpm/Dockerfile
FROM php:8.2.8-fpm-alpine3.18
EXPOSE 80
EXPOSE 8080
EXPOSE 8443
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
COPY --from=docker /usr/local/bin/docker /usr/local/bin/docker
WORKDIR /var/www/docker-aio
RUN set -ex; \
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
EXPOSE 80
EXPOSE 8080
EXPOSE 8443
RUN mkdir -p /var/www/docker-aio;
WORKDIR /var/www/docker-aio
RUN set -ex; \
usermod -u 33 -g 33 www-data; \
\
apk add --no-cache \
util-linux-misc \
ca-certificates \
@@ -36,16 +36,14 @@ RUN set -ex; \
sudo \
netcat-openbsd \
curl \
grep
RUN set -ex; \
grep; \
\
apk add --no-cache --virtual .build-deps \
autoconf \
build-base; \
pecl install APCu-5.1.22; \
docker-php-ext-enable apcu; \
rm -r /tmp/pear; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| tr ',' '\n' \
@@ -57,39 +55,33 @@ RUN set -ex; \
grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf
COPY --from=caddy /usr/bin/caddy /usr/bin/
RUN chmod +x /usr/bin/caddy
COPY --from=dind /usr/local/bin/docker /usr/local/bin/
RUN chmod +x /usr/local/bin/docker
RUN set -e && \
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf; \
\
apk add --no-cache git; \
wget https://getcomposer.org/installer -O - | php -- --install-dir=/usr/local/bin --filename=composer; \
chmod +x /usr/local/bin/composer; \
cd /var/www/docker-aio; \
git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \
find ./ -maxdepth 1 -mindepth 1 -not -path ./php -exec rm -r {} \; ; \
chown www-data:www-data -R /var/www/docker-aio; \
cd php; \
composer install --no-dev; \
composer clearcache; \
sudo -u www-data composer install --no-dev; \
sudo -u www-data composer clear-cache; \
cd ..; \
rm -f /usr/local/bin/composer; \
chmod 770 -R ./; \
chown www-data:www-data -R /var/www; \
rm -r ./php/data; \
rm -r ./php/session; \
apk del --no-cache git
RUN mkdir -p /etc/apache2/certs && \
cd /etc/apache2/certs && \
openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=DE/ST=BE/L=Local/O=Dev/CN=nextcloud.local" -keyout ./ssl.key -out ./ssl.crt;
COPY mastercontainer.conf /etc/apache2/sites-available/
RUN sed -i \
chmod -R 770 /var/www/docker-aio; \
chown -R www-data:www-data /var/www; \
rm -r php/data; \
rm -r php/session; \
\
mkdir -p /etc/apache2/certs; \
cd /etc/apache2/certs; \
openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=DE/ST=BE/L=Local/O=Dev/CN=nextcloud.local" -keyout /etc/apache2/certs/ssl.key -out /etc/apache2/certs/ssl.crt; \
\
sed -i \
-e '/^Listen /d' \
-e 's/^LogLevel .*/LogLevel error/' \
-e 's|^ErrorLog .*|ErrorLog /proc/self/fd/2|' \
-e 's/User apache/User www-data/g' \
-e 's/Group apache/Group www-data/g' \
-e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' \
@@ -101,41 +93,34 @@ RUN sed -i \
-e 's/^#\(LoadModule .*mod_mpm_event.so\)/\1/' \
-e 's/\(LoadModule .*mod_mpm_worker.so\)/#\1/' \
-e 's/\(LoadModule .*mod_mpm_prefork.so\)/#\1/' \
-e 's/\(ScriptAlias \)/#\1/' \
/etc/apache2/httpd.conf; \
mkdir -p /etc/apache2/logs; \
rm /etc/apache2/conf.d/ssl.conf; \
echo "ServerName localhost" | tee -a /etc/apache2/httpd.conf; \
grep -q '^LoadModule lbmethod_heartbeat_module' /etc/apache2/conf.d/proxy.conf; \
sed -i 's|^LoadModule lbmethod_heartbeat_module.*|#LoadModule lbmethod_heartbeat_module|' /etc/apache2/conf.d/proxy.conf; \
echo "SSLSessionCache nonenotnull" | tee -a /etc/apache2/httpd.conf; \
echo "LoadModule ssl_module modules/mod_ssl.so" | tee -a /etc/apache2/httpd.conf; \
echo "LoadModule socache_shmcb_module modules/mod_socache_shmcb.so" | tee -a /etc/apache2/httpd.conf; \
echo "Include /etc/apache2/sites-available/mastercontainer.conf" | tee -a /etc/apache2/httpd.conf
RUN set -ex; \
echo "Include /etc/apache2/sites-available/mastercontainer.conf" | tee -a /etc/apache2/httpd.conf; \
\
rm -f /etc/apache2/conf.d/default.conf \
/etc/apache2/conf.d/userdir.conf \
/etc/apache2/conf.d/info.conf
RUN mkdir /var/log/supervisord; \
/etc/apache2/conf.d/info.conf; \
\
rm -rf /var/www/localhost/cgi-bin/; \
mkdir /var/log/supervisord; \
mkdir /var/run/supervisord;
COPY Caddyfile /
COPY start.sh /usr/bin/
COPY backup-time-file-watcher.sh /
COPY session-deduplicator.sh /
COPY cron.sh /
COPY daily-backup.sh /
COPY supervisord.conf /
COPY healthcheck.sh /
RUN chmod +x /usr/bin/start.sh; \
chmod +x /cron.sh; \
chmod +x /session-deduplicator.sh; \
chmod +x /backup-time-file-watcher.sh; \
chmod +x /daily-backup.sh; \
chmod a+r /Caddyfile; \
chmod +x /healthcheck.sh
COPY --chmod=775 *.sh /
COPY --chmod=664 Caddyfile /Caddyfile
COPY --chmod=664 supervisord.conf /supervisord.conf
COPY mastercontainer.conf /etc/apache2/sites-available/mastercontainer.conf
USER root
ENTRYPOINT ["start.sh"]
ENTRYPOINT ["/start.sh"]
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
HEALTHCHECK CMD /healthcheck.sh

View File

@@ -57,6 +57,14 @@ while true; do
# Remove dangling images
sudo -u www-data docker image prune --force
# Check for available free space
sudo -u www-data php /var/www/docker-aio/php/src/Cron/CheckFreeDiskSpace.php
# Remove mastercontainer from default bridge network
if sudo -u www-data docker inspect nextcloud-aio-mastercontainer --format "{{.NetworkSettings.Networks}}" | grep -q "bridge"; then
sudo -u www-data docker network disconnect bridge nextcloud-aio-mastercontainer
fi
# Wait 60s so that the whole loop will not be executed again
sleep 60
done

View File

@@ -11,8 +11,11 @@ Listen 8080
ServerName localhost
# Add error log
CustomLog /proc/self/fd/1 combined
CustomLog /proc/self/fd/1 proxy
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
ErrorLog /proc/self/fd/2
ErrorLogFormat "[%t] [%l] [%E] [client: %{X-Forwarded-For}i] [%M] [%{User-Agent}i]"
LogLevel warn
# PHP match
<FilesMatch "\.php$">

View File

@@ -6,6 +6,12 @@ print_green() {
printf "%b%s%b\n" "\e[0;92m" "$TEXT" "\e[0m"
}
# Function to show text in red
print_red() {
local TEXT="$1"
printf "%b%s%b\n" "\e[0;31m" "$TEXT" "\e[0m"
}
# Function to check if number was provided
check_if_number() {
case "${1}" in
@@ -14,12 +20,22 @@ case "${1}" in
esac
}
# Check if running as root user
if [ "$EUID" != "0" ]; then
print_red "Container does not run as root user. This is not supported."
exit 1
fi
# Check if socket is available and readable
if ! [ -a "/var/run/docker.sock" ]; then
echo "Docker socket is not available. Cannot continue."
print_red "Docker socket is not available. Cannot continue."
echo "Please make sure to mount the docker socket into /var/run/docker.sock inside the container!"
echo "If you did this by purpose because you don't want the container to have access to the docker socket, see https://github.com/nextcloud/all-in-one/tree/main/manual-install."
exit 1
elif ! mountpoint -q "/mnt/docker-aio-config"; then
echo "/mnt/docker-aio-config is not a mountpoint. Cannot proceed!"
print_red "/mnt/docker-aio-config is not a mountpoint. Cannot proceed!"
echo "Please make sure to mount the nextcloud_aio_mastercontainer docker volume into /mnt/docker-aio-config inside the container!"
echo "If you are on TrueNas SCALE, see https://github.com/nextcloud/all-in-one#can-i-run-aio-on-truenas-scale"
exit 1
elif ! sudo -u www-data test -r /var/run/docker.sock; then
echo "Trying to fix docker.sock permissions internally..."
@@ -40,14 +56,16 @@ elif ! sudo -u www-data test -r /var/run/docker.sock; then
usermod -aG docker www-data
fi
if ! sudo -u www-data test -r /var/run/docker.sock; then
echo "Docker socket is not readable by the www-data user. Cannot continue."
print_red "Docker socket is not readable by the www-data user. Cannot continue."
exit 1
fi
fi
# Check if api version is supported
if ! sudo -u www-data docker info &>/dev/null; then
echo "Cannot connect to the docker socket. Cannot proceed."
print_red "Cannot connect to the docker socket. Cannot proceed."
echo "If SELinux is enabled on your host, see https://github.com/nextcloud/all-in-one#are-there-known-problems-when-selinux-is-enabled"
echo "If you are on TrueNas SCALE, see https://github.com/nextcloud/all-in-one#can-i-run-aio-on-truenas-scale"
exit 1
fi
API_VERSION_FILE="$(find ./ -name DockerActionManager.php | head -1)"
@@ -57,7 +75,7 @@ API_VERSION_NUMB="$(echo "$API_VERSION" | sed 's/\.//')"
LOCAL_API_VERSION_NUMB="$(sudo -u www-data docker version | grep -i "api version" | grep -oP '[0-9]+.[0-9]+' | head -1 | sed 's/\.//')"
if [ -n "$LOCAL_API_VERSION_NUMB" ] && [ -n "$API_VERSION_NUMB" ]; then
if ! [ "$LOCAL_API_VERSION_NUMB" -ge "$API_VERSION_NUMB" ]; then
echo "Docker API v$API_VERSION is not supported by your docker engine. Cannot proceed. Please upgrade your docker engine if you want to run Nextcloud AIO!"
print_red "Docker API v$API_VERSION is not supported by your docker engine. Cannot proceed. Please upgrade your docker engine if you want to run Nextcloud AIO!"
exit 1
fi
else
@@ -78,16 +96,16 @@ fi
# Check if startup command was executed correctly
if ! sudo -u www-data docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-mastercontainer$"; then
echo "It seems like you did not give the mastercontainer the correct name? (The 'nextcloud-aio-mastercontainer' container was not found.)
print_red "It seems like you did not give the mastercontainer the correct name? (The 'nextcloud-aio-mastercontainer' container was not found.)
Using a different name is not supported since mastercontainer updates will not work in that case!
If you are on docker swarm and try to run AIO, see https://github.com/nextcloud/all-in-one#can-i-run-this-with-docker-swarm"
exit 1
elif ! sudo -u www-data docker volume ls --format "{{.Name}}" | grep -q "^nextcloud_aio_mastercontainer$"; then
echo "It seems like you did not give the mastercontainer volume the correct name? (The 'nextcloud_aio_mastercontainer' volume was not found.)
print_red "It seems like you did not give the mastercontainer volume the correct name? (The 'nextcloud_aio_mastercontainer' volume was not found.)
Using a different name is not supported since the built-in backup solution will not work in that case!"
exit 1
elif ! sudo -u www-data docker inspect nextcloud-aio-mastercontainer | grep -q "nextcloud_aio_mastercontainer"; then
echo "It seems like you did not attach the 'nextcloud_aio_mastercontainer' volume to the mastercontainer?
print_red "It seems like you did not attach the 'nextcloud_aio_mastercontainer' volume to the mastercontainer?
This is not supported since the built-in backup solution will not work in that case!"
exit 1
fi
@@ -95,34 +113,34 @@ fi
# Check for other options
if [ -n "$NEXTCLOUD_DATADIR" ]; then
if [ "$NEXTCLOUD_DATADIR" = "nextcloud_aio_nextcloud_datadir" ]; then
echo "NEXTCLOUD_DATADIR is set to $NEXTCLOUD_DATADIR"
sleep 1
elif ! echo "$NEXTCLOUD_DATADIR" | grep -q "^/" || [ "$NEXTCLOUD_DATADIR" = "/" ]; then
echo "You've set NEXTCLOUD_DATADIR but not to an allowed value.
The string must start with '/' and must not be equal to '/'.
print_red "You've set NEXTCLOUD_DATADIR but not to an allowed value.
The string must start with '/' and must not be equal to '/'. Also allowed is 'nextcloud_aio_nextcloud_datadir'.
It is set to '$NEXTCLOUD_DATADIR'."
exit 1
fi
fi
if [ -n "$NEXTCLOUD_MOUNT" ]; then
if ! echo "$NEXTCLOUD_MOUNT" | grep -q "^/" || [ "$NEXTCLOUD_MOUNT" = "/" ]; then
echo "You've set NEXCLOUD_MOUNT but not to an allowed value.
print_red "You've set NEXCLOUD_MOUNT but not to an allowed value.
The string must start with '/' and must not be equal to '/'.
It is set to '$NEXTCLOUD_MOUNT'."
exit 1
elif [ "$NEXTCLOUD_MOUNT" = "/mnt/ncdata" ] || echo "$NEXTCLOUD_MOUNT" | grep -q "^/mnt/ncdata/"; then
echo "'/mnt/ncdata' and '/mnt/ncdata/' are not allowed as values for NEXTCLOUD_MOUNT."
print_red "'/mnt/ncdata' and '/mnt/ncdata/' are not allowed as values for NEXTCLOUD_MOUNT."
exit 1
fi
fi
if [ -n "$NEXTCLOUD_DATADIR" ] && [ -n "$NEXTCLOUD_MOUNT" ]; then
if [ "$NEXTCLOUD_DATADIR" = "$NEXTCLOUD_MOUNT" ]; then
echo "NEXTCLOUD_DATADIR and NEXTCLOUD_MOUNT are not allowed to be equal."
print_red "NEXTCLOUD_DATADIR and NEXTCLOUD_MOUNT are not allowed to be equal."
exit 1
fi
fi
if [ -n "$NEXTCLOUD_UPLOAD_LIMIT" ]; then
if ! echo "$NEXTCLOUD_UPLOAD_LIMIT" | grep -q '^[0-9]\+G$'; then
echo "You've set NEXTCLOUD_UPLOAD_LIMIT but not to an allowed value.
print_red "You've set NEXTCLOUD_UPLOAD_LIMIT but not to an allowed value.
The string must start with a number and end with 'G'.
It is set to '$NEXTCLOUD_UPLOAD_LIMIT'."
exit 1
@@ -130,7 +148,7 @@ It is set to '$NEXTCLOUD_UPLOAD_LIMIT'."
fi
if [ -n "$NEXTCLOUD_MAX_TIME" ]; then
if ! echo "$NEXTCLOUD_MAX_TIME" | grep -q '^[0-9]\+$'; then
echo "You've set NEXTCLOUD_MAX_TIME but not to an allowed value.
print_red "You've set NEXTCLOUD_MAX_TIME but not to an allowed value.
The string must be a number. E.g. '3600'.
It is set to '$NEXTCLOUD_MAX_TIME'."
exit 1
@@ -138,7 +156,7 @@ It is set to '$NEXTCLOUD_MAX_TIME'."
fi
if [ -n "$NEXTCLOUD_MEMORY_LIMIT" ]; then
if ! echo "$NEXTCLOUD_MEMORY_LIMIT" | grep -q '^[0-9]\+M$'; then
echo "You've set NEXTCLOUD_MEMORY_LIMIT but not to an allowed value.
print_red "You've set NEXTCLOUD_MEMORY_LIMIT but not to an allowed value.
The string must start with a number and end with 'M'.
It is set to '$NEXTCLOUD_MEMORY_LIMIT'."
exit 1
@@ -146,64 +164,64 @@ It is set to '$NEXTCLOUD_MEMORY_LIMIT'."
fi
if [ -n "$APACHE_PORT" ]; then
if ! check_if_number "$APACHE_PORT"; then
echo "You provided an Apache port but did not only use numbers.
print_red "You provided an Apache port but did not only use numbers.
It is set to '$APACHE_PORT'."
exit 1
elif ! [ "$APACHE_PORT" -le 65535 ] || ! [ "$APACHE_PORT" -ge 1 ]; then
echo "The provided Apache port is invalid. It must be between 1 and 65535"
print_red "The provided Apache port is invalid. It must be between 1 and 65535"
exit 1
fi
fi
if [ -n "$APACHE_IP_BINDING" ]; then
if ! echo "$APACHE_IP_BINDING" | grep -q '^[0-9.]\+$'; then
echo "You provided an ip-address for the apache container's ip-binding but it was not a valid ip-address.
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
fi
fi
if [ -n "$TALK_PORT" ]; then
if ! check_if_number "$TALK_PORT"; then
echo "You provided an Talk port but did not only use numbers.
print_red "You provided an Talk port but did not only use numbers.
It is set to '$TALK_PORT'."
exit 1
elif ! [ "$TALK_PORT" -le 65535 ] || ! [ "$TALK_PORT" -ge 1 ]; then
echo "The provided Talk port is invalid. It must be between 1 and 65535"
print_red "The provided Talk port is invalid. It must be between 1 and 65535"
exit 1
fi
fi
if [ -n "$APACHE_PORT" ] && [ -n "$TALK_PORT" ]; then
if [ "$APACHE_PORT" = "$TALK_PORT" ]; then
echo "APACHE_PORT and TALK_PORT are not allowed to be equal."
print_red "APACHE_PORT and TALK_PORT are not allowed to be equal."
exit 1
fi
fi
if [ -n "$DOCKER_SOCKET_PATH" ]; then
if ! echo "$DOCKER_SOCKET_PATH" | grep -q "^/" || echo "$DOCKER_SOCKET_PATH" | grep -q "/$"; then
echo "You've set DOCKER_SOCKET_PATH but not to an allowed value.
if [ -n "$WATCHTOWER_DOCKER_SOCKET_PATH" ]; then
if ! echo "$WATCHTOWER_DOCKER_SOCKET_PATH" | grep -q "^/" || echo "$WATCHTOWER_DOCKER_SOCKET_PATH" | grep -q "/$"; then
print_red "You've set WATCHTOWER_DOCKER_SOCKET_PATH but not to an allowed value.
The string must start with '/' and must not end with '/'.
It is set to '$DOCKER_SOCKET_PATH'."
It is set to '$WATCHTOWER_DOCKER_SOCKET_PATH'."
exit 1
fi
fi
if [ -n "$NEXTCLOUD_TRUSTED_CACERTS_DIR" ]; then
if ! echo "$NEXTCLOUD_TRUSTED_CACERTS_DIR" | grep -q "^/" || echo "$NEXTCLOUD_TRUSTED_CACERTS_DIR" | grep -q "/$"; then
echo "You've set NEXTCLOUD_TRUSTED_CACERTS_DIR but not to an allowed value.
print_red "You've set NEXTCLOUD_TRUSTED_CACERTS_DIR but not to an allowed value.
It should be an absolute path to a directory that starts with '/' but not end with '/'.
It is set to '$NEXTCLOUD_TRUSTED_CACERTS_DIR '."
exit 1
fi
fi
if [ -n "$NEXTCLOUD_STARTUP_APPS" ]; then
if ! echo "$NEXTCLOUD_STARTUP_APPS" | grep -q "^[a-z _-]\+$"; then
echo "You've set NEXTCLOUD_STARTUP_APPS but not to an allowed value.
It needs to be a string. Allowed are small letters a-z, spaces, hyphens and '_'.
if ! echo "$NEXTCLOUD_STARTUP_APPS" | grep -q "^[a-z0-9 _-]\+$"; then
print_red "You've set NEXTCLOUD_STARTUP_APPS but not to an allowed value.
It needs to be a string. Allowed are small letters a-z, 0-9, spaces, hyphens and '_'.
It is set to '$NEXTCLOUD_STARTUP_APPS'."
exit 1
fi
fi
if [ -n "$NEXTCLOUD_ADDITIONAL_APKS" ]; then
if ! echo "$NEXTCLOUD_ADDITIONAL_APKS" | grep -q "^[a-z0-9 ._-]\+$"; then
echo "You've set NEXTCLOUD_ADDITIONAL_APKS but not to an allowed value.
print_red "You've set NEXTCLOUD_ADDITIONAL_APKS but not to an allowed value.
It needs to be a string. Allowed are small letters a-z, digits 0-9, spaces, hyphens, dots and '_'.
It is set to '$NEXTCLOUD_ADDITIONAL_APKS'."
exit 1
@@ -211,7 +229,7 @@ It is set to '$NEXTCLOUD_ADDITIONAL_APKS'."
fi
if [ -n "$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS" ]; then
if ! echo "$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS" | grep -q "^[a-z0-9 ._-]\+$"; then
echo "You've set NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS but not to an allowed value.
print_red "You've set NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS but not to an allowed value.
It needs to be a string. Allowed are small letters a-z, digits 0-9, spaces, hyphens, dots and '_'.
It is set to '$NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS'."
exit 1
@@ -222,7 +240,7 @@ fi
# Prevents issues like https://github.com/nextcloud/all-in-one/discussions/565
curl https://nextcloud.com &>/dev/null
if [ "$?" = 6 ]; then
echo "Could not resolve the host nextcloud.com."
print_red "Could not resolve the host nextcloud.com."
echo "Most likely the DNS resolving does not work."
echo "You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html"
echo "Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065"
@@ -273,7 +291,7 @@ if [ -f ./ssl.crt ] && [ -f ./ssl.key ]; then
cp "$GENERATED_CERTS/ssl.key" ./
fi
print_green "Initial startup of Nextcloud All In One complete!
print_green "Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

View File

@@ -38,6 +38,7 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh
user=root
[program:backup-time-file-watcher]
stdout_logfile=/dev/stdout

View File

@@ -1,5 +1,19 @@
# From https://github.com/nextcloud/docker/blob/master/23/fpm-alpine/Dockerfile
FROM php:8.0.28-fpm-alpine3.16
FROM php:8.1.21-fpm-alpine3.18
ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600
ENV NEXTCLOUD_VERSION 26.0.4
ENV AIO_TOKEN 123456
ENV AIO_URL localhost
COPY --chmod=775 *.sh /
COPY --chmod=774 upgrade.exclude /upgrade.exclude
COPY config/*.php /
COPY supervisord.conf /supervisord.conf
VOLUME /mnt/ncdata
VOLUME /var/www/html
# Custom: change id of www-data user as it needs to be the same like on old installations
RUN set -ex; \
@@ -8,51 +22,32 @@ RUN set -ex; \
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
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
adduser -u 33 -D -S -G www-data www-data; \
\
# entrypoint.sh and cron.sh dependencies
apk add --no-cache \
rsync \
;
; \
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html
ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600
RUN set -ex; \
\
apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
autoconf \
libtool \
freetype-dev \
gmp-dev \
icu-dev \
imagemagick-dev \
libevent-dev \
libjpeg-turbo-dev \
libmcrypt-dev \
libpng-dev \
libmemcached-dev \
libpng-dev \
libwebp-dev \
libxml2-dev \
libzip-dev \
openldap-dev \
pcre-dev \
postgresql-dev \
libwebp-dev \
gmp-dev \
lcms2-dev \
fontconfig-dev \
freetype-dev \
ghostscript-dev \
tiff-dev \
zlib-dev \
imagemagick-dev \
libheif-dev \
librsvg-dev \
libxext-dev \
ghostscript-fonts \
; \
\
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
@@ -61,13 +56,14 @@ RUN set -ex; \
bcmath \
exif \
gd \
gmp \
intl \
ldap \
opcache \
pcntl \
pdo_pgsql \
sysvsem \
zip \
gmp \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
@@ -90,14 +86,17 @@ RUN set -ex; \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
apk del .build-deps
apk del .build-deps; \
\
# set recommended PHP.ini settings
# see https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/server_tuning.html#enable-php-opcache
RUN { \
echo 'opcache.interned_strings_buffer=32'; \
{ \
echo 'opcache.memory_consumption=256'; \
echo 'opcache.interned_strings_buffer=64'; \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=8M'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
@@ -110,15 +109,10 @@ RUN { \
echo 'max_input_time=${PHP_MAX_TIME}'; \
} > /usr/local/etc/php/conf.d/nextcloud.ini; \
\
mkdir /var/www/data; \
mkdir -p /var/www/data; \
chown -R www-data:root /var/www; \
chmod -R g=u /var/www
VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 25.0.5
RUN set -ex; \
chmod -R g=u /var/www; \
\
apk add --no-cache --virtual .fetch-deps \
bzip2 \
gnupg \
@@ -138,27 +132,18 @@ RUN set -ex; \
mkdir -p /usr/src/nextcloud/data; \
mkdir -p /usr/src/nextcloud/custom_apps; \
chmod +x /usr/src/nextcloud/occ; \
apk del .fetch-deps
COPY *.sh upgrade.exclude /
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]
# Template from https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/fpm-alpine/Dockerfile
RUN set -ex; \
mkdir -p /usr/src/nextcloud/config; \
mv /*.php /usr/src/nextcloud/config/; \
apk del .fetch-deps; \
\
# Template from https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/fpm-alpine/Dockerfile
apk add --no-cache \
ffmpeg \
procps \
samba-client \
supervisor \
# libreoffice \
;
RUN set -ex; \
; \
\
apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS \
@@ -186,21 +171,12 @@ RUN set -ex; \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --virtual .nextcloud-phpext-rundeps $runDeps; \
apk del .build-deps
RUN mkdir -p \
apk del .build-deps; \
\
mkdir -p \
/var/log/supervisord \
/var/run/supervisord \
;
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
# Custom:
RUN set -ex; \
; \
\
apk add --no-cache \
bash \
@@ -210,63 +186,42 @@ RUN set -ex; \
git \
postgresql-client \
tzdata \
mawk \
sudo \
grep \
coreutils \
libjpeg \
librsvg \
libheif \
libpng \
ghostscript-fonts;
RUN set -ex; \
nodejs \
coreutils; \
\
grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm.start_servers =.*/pm.start_servers = 2/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm.min_spare_servers =.*/pm.min_spare_servers = 1/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm.max_spare_servers =.*/pm.max_spare_servers = 3/' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf
RUN set -ex; \
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf; \
\
rm -rf /tmp/nextcloud-aio && \
mkdir -p /tmp/nextcloud-aio && \
cd /tmp/nextcloud-aio && \
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/
RUN set -ex; \
cp -r ./app/* /usr/src/nextcloud/apps/nextcloud-aio/; \
\
chown www-data:root -R /usr/src && \
chown www-data:root -R /usr/local/etc/php/conf.d && \
chown www-data:root -R /usr/local/etc/php-fpm.d && \
rm -r /usr/src/nextcloud/apps/updatenotification
COPY start.sh /
COPY notify.sh /
COPY notify-all.sh /
RUN set -ex; \
chmod +x /start.sh && \
chmod +x /entrypoint.sh && \
chmod +r /upgrade.exclude && \
chmod +x /cron.sh && \
chmod +x /notify.sh && \
chmod +x /notify-all.sh && \
chmod +x /activate-collabora.sh && \
chmod +x /healthcheck.sh
RUN set -ex; \
mkdir /mnt/ncdata; \
chown www-data:www-data /mnt/ncdata;
VOLUME /mnt/ncdata
chmod -R 777 /tmp; \
rm -r /usr/src/nextcloud/apps/updatenotification; \
\
mkdir -p /nc-updater; \
chown -R www-data:www-data /nc-updater; \
chmod -R 770 /nc-updater; \
\
# Give root a random password
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
echo "root:$(openssl rand -base64 12)" | chpasswd
USER root
ENTRYPOINT ["/start.sh"]
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
HEALTHCHECK CMD sudo -E -u www-data bash /healthcheck.sh
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -1,13 +0,0 @@
#!/bin/bash
if [ "$COLLABORA_ENABLED" != yes ]; then
# Basically sleep for forever if collabora is not enabled
sleep inf
fi
while ! nc -z "$NC_DOMAIN" 443; do
sleep 5
done
sleep 10
echo "Activating collabora config..."
php /var/www/html/occ richdocuments:activate-config
sleep inf

View File

@@ -0,0 +1,5 @@
<?php
$CONFIG = array (
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
);

View File

@@ -10,6 +10,15 @@ directory_empty() {
[ -z "$(ls -A "$1/")" ]
}
run_upgrade_if_needed_due_to_app_update() {
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
}
echo "Configuring Redis as session handler..."
cat << REDIS_CONF > /usr/local/etc/php/conf.d/redis-session.ini
session.save_handler = redis
@@ -22,7 +31,7 @@ redis.session.lock_wait_time = 10000
REDIS_CONF
echo "Setting php max children..."
MEMORY=$(mawk '/MemTotal/ {printf "%d", $2/1024}' /proc/meminfo)
MEMORY=$(awk '/MemTotal/ {printf "%d", $2/1024}' /proc/meminfo)
PHP_MAX_CHILDREN=$((MEMORY/50))
if [ -n "$PHP_MAX_CHILDREN" ]; then
sed -i "s/^pm.max_children =.*/pm.max_children = $PHP_MAX_CHILDREN/" /usr/local/etc/php-fpm.d/www.conf
@@ -147,6 +156,8 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
fi
done
run_upgrade_if_needed_due_to_app_update
php /var/www/html/occ maintenance:mode --off
echo "Getting and backing up the status of apps for later, this might take a while..."
@@ -170,6 +181,8 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
php /var/www/html/occ app:update --all
run_upgrade_if_needed_due_to_app_update
# Fix removing the updatenotification for old instances
UPDATENOTIFICATION_STATUS="$(php /var/www/html/occ config:app:get updatenotification enabled)"
if [ -d "/var/www/html/apps/updatenotification" ]; then
@@ -205,6 +218,14 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
INSTALL_OPTIONS+=(--data-dir "$NEXTCLOUD_DATA_DIR")
fi
# We do our own permission check so the permission check is not needed
cat << DATADIR_PERMISSION_CONF > /var/www/html/config/datadir.permission.config.php
<?php
\$CONFIG = array (
'check_data_directory_permissions' => false
);
DATADIR_PERMISSION_CONF
echo "Installing with PostgreSQL database"
INSTALL_OPTIONS+=(--database pgsql --database-name "$POSTGRES_DB" --database-user "$POSTGRES_USER" --database-pass "$POSTGRES_PASSWORD" --database-host "$POSTGRES_HOST")
@@ -215,9 +236,6 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
exit 1
fi
# We do our own permission check so the permission check is not needed
php /var/www/html/occ config:system:set check_data_directory_permissions --value=false --type=bool
# Try to force generation of appdata dir:
php /var/www/html/occ maintenance:repair
@@ -238,9 +256,43 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
fi
fi
# This autoconfig is not needed anymore and should be able to be overwritten by the user
rm /var/www/html/config/datadir.permission.config.php
# unset admin password
unset ADMIN_PASSWORD
if [ "$INSTALL_LATEST_MAJOR" = yes ]; then
php /var/www/html/occ config:system:set updater.release.channel --value=beta
php /var/www/html/occ config:system:set updatedirectory --value="/nc-updater"
php /var/www/html/updater/updater.phar --no-interaction
if ! php /var/www/html/occ -V || php /var/www/html/occ status | grep maintenance | grep -q 'true'; then
echo "Installation of Nextcloud failed!"
touch "$NEXTCLOUD_DATA_DIR/install.failed"
exit 1
fi
# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"
INSTALLED_MAJOR="${installed_version%%.*}"
IMAGE_MAJOR="${image_version%%.*}"
if ! [ "$INSTALLED_MAJOR" -gt "$IMAGE_MAJOR" ]; then
php /var/www/html/updater/updater.phar --no-interaction
if ! php /var/www/html/occ -V || php /var/www/html/occ status | grep maintenance | grep -q 'true'; then
echo "Installation of Nextcloud failed!"
touch "$NEXTCLOUD_DATA_DIR/install.failed"
exit 1
fi
fi
php /var/www/html/occ app:disable updatenotification
rm -rf /var/www/html/apps/updatenotification
php /var/www/html/occ config:system:set updater.release.channel --value=stable
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
fi
# Apply log settings
echo "Applying default settings..."
mkdir -p /var/www/html/data
@@ -265,6 +317,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
php /var/www/html/occ config:system:set enabledPreviewProviders 4 --value="OC\\Preview\\TXT"
php /var/www/html/occ config:system:set enabledPreviewProviders 5 --value="OC\\Preview\\OpenDocument"
php /var/www/html/occ config:system:set enabledPreviewProviders 6 --value="OC\\Preview\\Movie"
php /var/www/html/occ config:system:set enabledPreviewProviders 7 --value="OC\\Preview\\Krita"
php /var/www/html/occ config:system:set enable_previews --value=true --type=boolean
# Apply other settings
@@ -299,15 +352,11 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
done
fi
# Set the permission check to its default value again if not set
if [ "$SKIP_DATA_DIRECTORY_PERMISSION_CHECK" != yes ]; then
php /var/www/html/occ config:system:set check_data_directory_permissions --value=true --type=bool
fi
#upgrade
else
touch "$NEXTCLOUD_DATA_DIR/update.failed"
echo "Upgrading nextcloud from $installed_version to $image_version..."
php /var/www/html/occ config:system:delete integrity.check.disabled
if ! php /var/www/html/occ upgrade || ! php /var/www/html/occ -V; then
echo "Upgrade failed. Please restore from backup."
bash /notify.sh "Nextcloud update to $image_version failed!" "Please restore from backup!"
@@ -319,6 +368,8 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
php /var/www/html/occ app:update --all
run_upgrade_if_needed_due_to_app_update
# Restore app status
if [ "${APPSTORAGE[0]}" != "no-export-done" ]; then
echo "Restoring the status of apps. This can take a while..."
@@ -327,6 +378,12 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
if [ "${APPSTORAGE[$app]}" != "no" ]; then
echo "Enabling $app..."
if ! php /var/www/html/occ app:enable "$app" >/dev/null; then
php /var/www/html/occ app:disable "$app" >/dev/null
if ! php /var/www/html/occ -V &>/dev/null; then
rm -r "/var/www/html/custom_apps/$app"
php /var/www/html/occ maintenance:mode --off
fi
run_upgrade_if_needed_due_to_app_update
echo "The $app app could not get enabled. Probably because it is not compatible with the new Nextcloud version."
if [ "$app" = apporder ]; then
CUSTOM_HINT="The apporder app was deprecated. A possible replacement is the side_menu app, aka 'Custom menu'."
@@ -347,6 +404,8 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
php /var/www/html/occ app:update --all
run_upgrade_if_needed_due_to_app_update
# Apply optimization
echo "Doing some optimizations..."
php /var/www/html/occ maintenance:repair
@@ -362,8 +421,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
# Performing update of all apps if daily backups are enabled, running and successful and if it is saturday
if [ "$UPDATE_NEXTCLOUD_APPS" = 'yes' ] && [ "$(date +%u)" = 6 ]; then
UPDATED_APPS="$(php /var/www/html/occ app:update --all)"
# Update all apps again and try to prevent something like https://github.com/nextcloud/polls/issues/2793 from happening
php /var/www/html/occ app:update --all
run_upgrade_if_needed_due_to_app_update
if [ -n "$UPDATED_APPS" ]; then
bash /notify.sh "Your apps just got updated!" "$UPDATED_APPS"
fi
@@ -372,23 +430,28 @@ else
SKIP_UPDATE=1
fi
run_upgrade_if_needed_due_to_app_update
if [ -z "$OBJECTSTORE_S3_BUCKET" ] && [ -z "$OBJECTSTORE_SWIFT_URL" ]; then
# Check if appdata is present
# If not, something broke (e.g. changing ncdatadir after aio was first started)
if [ -z "$(find "$NEXTCLOUD_DATA_DIR/" -maxdepth 1 -mindepth 1 -type d -name "appdata_*")" ]; then
echo "Appdata is not present. Did you maybe change the datadir after aio was first started?"
echo "Appdata is not present. Did you maybe change the datadir after the initial Nextcloud installation? This is not supported!"
echo "See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir"
echo "If you adjusted the datadir to be located on an external drive, make sure that the drive is still mounted!"
echo "In the datadir was found:"
ls -la "$NEXTCLOUD_DATA_DIR/"
exit 1
fi
# Configure tempdirectory
mkdir -p "$NEXTCLOUD_DATA_DIR/tmp/"
if ! grep -q upload_tmp_dir /usr/local/etc/php/conf.d/nextcloud.ini; then
echo "upload_tmp_dir = $NEXTCLOUD_DATA_DIR/tmp/" >> /usr/local/etc/php/conf.d/nextcloud.ini
# Delete formerly configured tempdirectory as the default is usually faster (if the datadir is on a HDD or network FS)
if [ "$(php /var/www/html/occ config:system:get tempdirectory)" = "$NEXTCLOUD_DATA_DIR/tmp/" ]; then
php /var/www/html/occ config:system:delete tempdirectory
if [ -d "$NEXTCLOUD_DATA_DIR/tmp/" ]; then
rm -r "$NEXTCLOUD_DATA_DIR/tmp/"
fi
fi
php /var/www/html/occ config:system:set tempdirectory --value="$NEXTCLOUD_DATA_DIR/tmp/"
fi
# Perform fingerprint update if instance was restored
@@ -406,8 +469,10 @@ php /var/www/html/occ app:enable support
# Adjusting log files to be stored on a volume
echo "Adjusting log files..."
php /var/www/html/occ config:system:set upgrade.cli-upgrade-link --value="https://github.com/nextcloud/all-in-one/discussions/2726"
php /var/www/html/occ config:system:set logfile --value="/var/www/html/data/nextcloud.log"
php /var/www/html/occ config:app:set admin_audit logfile --value="/var/www/html/data/audit.log"
php /var/www/html/occ config:system:set updatedirectory --value="/nc-updater"
# Apply network settings
echo "Applying network settings..."
@@ -510,6 +575,7 @@ if [ "$ONLYOFFICE_ENABLED" = 'yes' ]; then
php /var/www/html/occ app:update onlyoffice
fi
php /var/www/html/occ config:system:set onlyoffice jwt_secret --value="$ONLYOFFICE_SECRET"
php /var/www/html/occ config:app:set onlyoffice jwt_secret --value="$ONLYOFFICE_SECRET"
php /var/www/html/occ config:system:set onlyoffice jwt_header --value="AuthorizationJwt"
php /var/www/html/occ config:app:set onlyoffice DocumentServerUrl --value="https://$NC_DOMAIN/onlyoffice"
php /var/www/html/occ config:system:set allow_local_remote_servers --type=bool --value=true
@@ -546,6 +612,21 @@ else
fi
fi
# Talk recording
if [ -d "/var/www/html/custom_apps/spreed" ]; then
if [ "$TALK_RECORDING_ENABLED" = 'yes' ]; then
while ! nc -z "$TALK_RECORDING_HOST" 1234; do
echo "waiting for Talk Recording to become available..."
sleep 5
done
# TODO: migrate to occ command if that becomes available
RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TALK_RECORDING_HOST:1234/\",\"verify\":true}],\"secret\":\"$RECORDING_SECRET\"}"
php /var/www/html/occ config:app:set spreed recording_servers --value="$RECORDING_SERVERS_STRING"
else
php /var/www/html/occ config:app:delete spreed recording_servers
fi
fi
# Clamav
if [ "$CLAMAV_ENABLED" = 'yes' ]; then
count=0
@@ -569,7 +650,7 @@ if [ "$CLAMAV_ENABLED" = 'yes' ]; then
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="-1"
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_infected_action --value="only_log"
fi
else
@@ -579,18 +660,16 @@ else
fi
# Imaginary
if version_greater "$installed_version" "24.0.0.0"; then
if [ "$IMAGINARY_ENABLED" = 'yes' ]; then
php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary"
php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000"
else
if [ -n "$(php /var/www/html/occ config:system:get preview_imaginary_url)" ]; then
php /var/www/html/occ config:system:delete enabledPreviewProviders 0
php /var/www/html/occ config:system:delete preview_imaginary_url
php /var/www/html/occ config:system:delete enabledPreviewProviders 20
php /var/www/html/occ config:system:delete enabledPreviewProviders 21
php /var/www/html/occ config:system:delete enabledPreviewProviders 22
fi
if [ "$IMAGINARY_ENABLED" = 'yes' ]; then
php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary"
php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000"
else
if [ -n "$(php /var/www/html/occ config:system:get preview_imaginary_url)" ]; then
php /var/www/html/occ config:system:delete enabledPreviewProviders 0
php /var/www/html/occ config:system:delete preview_imaginary_url
php /var/www/html/occ config:system:delete enabledPreviewProviders 20
php /var/www/html/occ config:system:delete enabledPreviewProviders 21
php /var/www/html/occ config:system:delete enabledPreviewProviders 22
fi
fi

View File

@@ -2,6 +2,6 @@
nc -z "$POSTGRES_HOST" 5432 || exit 0
if ! nc -z localhost 9000 || ! nc -z localhost 7867; then
if ! nc -z localhost 9000; then
exit 1
fi

View File

@@ -0,0 +1,23 @@
#!/bin/bash
while ! nc -z "$NC_DOMAIN" 443; do
sleep 5
done
sleep 10
if [ -n "$NEXTCLOUD_EXEC_COMMANDS" ]; then
echo "#!/bin/bash" > /tmp/nextcloud-exec-commands
echo "$NEXTCLOUD_EXEC_COMMANDS" >> /tmp/nextcloud-exec-commands
if ! grep "one-click-instance" /tmp/nextcloud-exec-commands; then
bash /tmp/nextcloud-exec-commands
rm /tmp/nextcloud-exec-commands
fi
else
# Collabora must work also if using manual-install
if [ "$COLLABORA_ENABLED" = yes ]; then
echo "Activating collabora config..."
php /var/www/html/occ richdocuments:activate-config
fi
fi
sleep inf

View File

@@ -131,14 +131,4 @@ if ! sudo -E -u www-data bash /entrypoint.sh; then
exit 1
fi
# Correctly set CPU_ARCH for notify_push
CPU_ARCH="$(uname -m)"
export CPU_ARCH
if [ -z "$CPU_ARCH" ]; then
echo "Could not get processor architecture. Exiting."
exit 1
elif [ "$CPU_ARCH" != "x86_64" ]; then
export CPU_ARCH="aarch64"
fi
exec "$@"

View File

@@ -25,18 +25,10 @@ stderr_logfile_maxbytes=0
command=/cron.sh
user=www-data
[program:notify-push]
[program:run-exec-commands]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/var/www/html/custom_apps/notify_push/bin/%(ENV_CPU_ARCH)s/notify_push /var/www/html/config/config.php --port 7867 --redis-url redis://:%(ENV_REDIS_HOST_PASSWORD)s@%(ENV_REDIS_HOST)s
user=www-data
[program:activate-collabora]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/activate-collabora.sh
command=/run-exec-commands.sh
user=www-data

View File

@@ -0,0 +1,21 @@
FROM alpine:3.18.2
COPY --chmod=775 start.sh /start.sh
RUN set -ex; \
apk add --no-cache \
ca-certificates \
netcat-openbsd \
tzdata \
bash \
openssl; \
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \
apk del --no-cache \
openssl;
USER 33
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD nc -z localhost 7867 || exit 1
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -0,0 +1,40 @@
#!/bin/bash
if [ -z "$NEXTCLOUD_HOST" ]; then
echo "NEXTCLOUD_HOST need to be provided. Exiting!"
exit 1
elif [ -z "$POSTGRES_HOST" ]; then
echo "POSTGRES_HOST need to be provided. Exiting!"
exit 1
elif [ -z "$REDIS_HOST" ]; then
echo "REDIS_HOST need to be provided. Exiting!"
exit 1
fi
# Only start container if nextcloud is accessible
while ! nc -z "$NEXTCLOUD_HOST" 9000; do
echo "Waiting for Nextcloud to start..."
sleep 5
done
# Correctly set CPU_ARCH for notify_push
CPU_ARCH="$(uname -m)"
export CPU_ARCH
if [ -z "$CPU_ARCH" ]; then
echo "Could not get processor architecture. Exiting."
exit 1
elif [ "$CPU_ARCH" != "x86_64" ]; then
export CPU_ARCH="aarch64"
fi
# Set sensitive values as env
export DATABASE_URL="postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST"
# Run it
/nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \
--database-prefix="oc_" \
--nextcloud-url "https://$NC_DOMAIN" \
--port 7867
exec "$@"

View File

@@ -1,5 +1,7 @@
# From https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/Dockerfile
FROM onlyoffice/documentserver:7.3.3.49
FROM onlyoffice/documentserver:7.4.0.1
# USER root is probably used
HEALTHCHECK CMD nc -z localhost 80 || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -1,39 +1,41 @@
# From https://github.com/docker-library/postgres/blob/master/15/alpine/Dockerfile
FROM postgres:15.2-alpine
FROM postgres:15.3-alpine
RUN apk add --no-cache bash openssl shadow grep mawk
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh
COPY --chmod=775 init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh
# We need to use the same gid and uid as on old installations
RUN set -ex; \
apk add --no-cache \
bash \
openssl \
shadow \
grep; \
\
# We need to use the same gid and uid as on old installations
deluser postgres; \
groupmod -g 9999 ping; \
addgroup -g 999 -S postgres; \
adduser -u 999 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres
adduser -u 999 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \
apk del --no-cache shadow; \
\
# Fix default permissions
RUN set -ex; \
chown -R postgres:postgres /var/lib/postgresql; \
chown -R postgres:postgres /var/run/postgresql; \
chown -R postgres:postgres "$PGDATA"
COPY start.sh /usr/bin/
COPY healthcheck.sh /usr/bin/
COPY init-user-db.sh /docker-entrypoint-initdb.d/
RUN set -ex; \
chmod +x /usr/bin/start.sh; \
chmod +xr /docker-entrypoint-initdb.d/init-user-db.sh; \
chmod +x /usr/bin/healthcheck.sh
RUN mkdir /mnt/data; \
chown postgres:postgres /mnt/data;
chmod -R 777 /var/run/postgresql; \
chown -R postgres:postgres "$PGDATA"; \
\
mkdir /mnt/data; \
chown postgres:postgres /mnt/data; \
\
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \
apk --no-cache del openssl;
VOLUME /mnt/data
# Give root a random password
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
USER postgres
ENTRYPOINT ["start.sh"]
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD healthcheck.sh
LABEL com.centurylinklabs.watchtower.monitor-only="true"
HEALTHCHECK CMD /healthcheck.sh
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -146,11 +146,19 @@ if ! [ -f "$DATADIR/PG_VERSION" ] && ! [ -f "$DUMP_FILE" ]; then
rm -rf "${DATADIR:?}/"*
fi
echo "Setting max connections..."
MEMORY=$(mawk '/MemTotal/ {printf "%d", $2/1024}' /proc/meminfo)
MAX_CONNECTIONS=$((MEMORY/50+3))
if [ -n "$MAX_CONNECTIONS" ]; then
sed -i "s|^max_connections =.*|max_connections = $MAX_CONNECTIONS|" "/var/lib/postgresql/data/postgresql.conf"
# Modify postgresql.conf
if [ -f "/var/lib/postgresql/data/postgresql.conf" ]; then
echo "Setting max connections..."
MEMORY=$(awk '/MemTotal/ {printf "%d", $2/1024}' /proc/meminfo)
MAX_CONNECTIONS=$((MEMORY/50+3))
if [ -n "$MAX_CONNECTIONS" ]; then
sed -i "s|^max_connections =.*|max_connections = $MAX_CONNECTIONS|" "/var/lib/postgresql/data/postgresql.conf"
fi
# Modify conf
if grep -q "#log_checkpoints" /var/lib/postgresql/data/postgresql.conf; then
sed -i 's|#log_checkpoints.*|log_checkpoints = off|' /var/lib/postgresql/data/postgresql.conf
fi
fi
# Catch docker stop attempts

View File

@@ -1,16 +1,16 @@
# From https://github.com/docker-library/redis/blob/master/7.0/alpine/Dockerfile
FROM redis:7.0.10-alpine
FROM redis:7.0.12-alpine
RUN apk add --no-cache openssl bash
COPY start.sh /usr/bin/
RUN chmod +x /usr/bin/start.sh
COPY --chmod=775 start.sh /start.sh
RUN set -ex; \
apk add --no-cache openssl bash; \
\
# Give root a random password
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
echo "root:$(openssl rand -base64 12)" | chpasswd
USER redis
ENTRYPOINT ["start.sh"]
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD redis-cli -a $REDIS_HOST_PASSWORD PING || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -8,9 +8,9 @@ fi
# Run redis with a password if provided
if [ -n "$REDIS_HOST_PASSWORD" ]; then
exec redis-server --requirepass "$REDIS_HOST_PASSWORD"
exec redis-server --requirepass "$REDIS_HOST_PASSWORD" --loglevel warning
else
exec redis-server
exec redis-server --loglevel warning
fi
exec "$@"

View File

@@ -0,0 +1,53 @@
FROM python:3.11.4-alpine3.18
COPY --chmod=775 start.sh /start.sh
ENV RECORDING_VERSION v17.0.2
ENV ALLOW_ALL false
ENV HPB_PROTOCOL https
ENV SKIP_VERIFY false
ENV HPB_PATH /standalone-signaling/
RUN set -ex; \
apk add --no-cache \
ca-certificates \
tzdata \
bash \
xvfb \
ffmpeg \
firefox \
bind-tools \
netcat-openbsd \
git \
wget \
shadow \
pulseaudio \
openssl; \
# chromium chromium-chromedriver?
apk add --no-cache geckodriver --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing; \
useradd -d /tmp --system recording; \
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \
git clone --recursive https://github.com/nextcloud/spreed --depth=1 --single-branch --branch "$RECORDING_VERSION" /src; \
mv -v /src/recording/pyproject.toml /src/recording/src/pyproject.toml; \
python3 -m pip install /src/recording/src; \
rm -rf /src; \
touch /etc/recording.conf; \
chown recording:recording -R \
/tmp /etc/recording.conf; \
mkdir -p /conf; \
chmod 777 /conf; \
chmod 777 /tmp; \
apk del --no-cache \
git \
wget \
shadow \
openssl;
WORKDIR /tmp
USER recording
ENTRYPOINT ["/start.sh"]
CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/conf/recording.conf"]
HEALTHCHECK CMD nc -z localhost 1234 || exit 1
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -0,0 +1,111 @@
[logs]
# Log level based on numeric values of Python logging levels:
# - Critical: 50
# - Error: 40
# - Warning: 30
# - Info: 20
# - Debug: 10
# - Not set: 0
#level = 20
[http]
# IP and port to listen on for HTTP requests.
#listen = 127.0.0.1:8000
[backend]
# Allow any hostname as backend endpoint. This is extremely insecure and should
# only be used during development.
#allowall = false
# Common shared secret for requests from and to the backend servers if
# "allowall" is enabled. This must be the same value as configured in the
# Nextcloud admin ui.
#secret = the-shared-secret
# Comma-separated list of backend ids allowed to connect.
#backends = backend-id, another-backend
# If set to "true", certificate validation of backend endpoints will be skipped.
# This should only be enabled during development, e.g. to work with self-signed
# certificates.
# Overridable by backend.
#skipverify = false
# Maximum allowed size in bytes for messages sent by the backend.
# Overridable by backend.
#maxmessagesize = 1024
# Width for recorded videos.
# Overridable by backend.
#videowidth = 1920
# Height for recorded videos.
# Overridable by backend.
#videoheight = 1080
# Temporary directory used to store recordings until uploaded. It must be
# writable by the user running the recording server.
# Overridable by backend.
#directory = /tmp
# Backend configurations as defined in the "[backend]" section above. The
# section names must match the ids used in "backends" above.
#[backend-id]
# URL of the Nextcloud instance
#url = https://cloud.domain.invalid
# Shared secret for requests from and to the backend servers. This must be the
# same value as configured in the Nextcloud admin ui.
#secret = the-shared-secret
#[another-backend]
# URL of the Nextcloud instance
#url = https://cloud.otherdomain.invalid
# Shared secret for requests from and to the backend servers. This must be the
# same value as configured in the Nextcloud admin ui.
#secret = the-shared-secret
[signaling]
# Common shared secret for authenticating as an internal client of signaling
# servers if a specific secret is not set for a signaling server. This must be
# the same value as configured in the signaling server configuration file.
#internalsecret = the-shared-secret-for-internal-clients
# Comma-separated list of signaling servers with specific internal secrets.
#signalings = signaling-id, another-signaling
# Signaling server configurations as defined in the "[signaling]" section above.
# The section names must match the ids used in "signalings" above.
#[signaling-id]
# URL of the signaling server
#url = https://signaling.domain.invalid
# Shared secret for authenticating as an internal client of signaling servers.
# This must be the same value as configured in the signaling server
# configuration file.
#internalsecret = the-shared-secret-for-internal-clients
#[another-signaling]
# URL of the signaling server
#url = https://signaling.otherdomain.invalid
# Shared secret for authenticating as an internal client of signaling servers.
# This must be the same value as configured in the signaling server
# configuration file.
#internalsecret = the-shared-secret-for-internal-clients
[ffmpeg]
# The options given to FFmpeg to encode the audio output. The options given here
# fully override the default options for the audio output.
#outputaudio = -c:a libopus
# The options given to FFmpeg to encode the video output. The options given here
# fully override the default options for the video output.
#outputvideo = -c:v libvpx -deadline:v realtime -crf 10 -b:v 1M
# The extension of the file for audio only recordings.
#extensionaudio = .ogg
# The extension of the file for audio and video recordings.
#extensionvideo = .webm

View File

@@ -0,0 +1,53 @@
#!/bin/bash
# Variables
if [ -z "$NC_DOMAIN" ]; then
echo "You need to provide the NC_DOMAIN."
exit 1
elif [ -z "$RECORDING_SECRET" ]; then
echo "You need to provide the RECORDING_SECRET."
exit 1
elif [ -z "$INTERNAL_SECRET" ]; then
echo "You need to provide the INTERNAL_SECRET."
exit 1
fi
cat << RECORDING_CONF > "/conf/recording.conf"
[logs]
# 30 means Warning
level = 30
[http]
listen = 0.0.0.0:1234
[backend]
allowall = ${ALLOW_ALL}
# TODO: remove secret below when https://github.com/nextcloud/spreed/issues/9580 is fixed
secret = ${RECORDING_SECRET}
backends = backend-1
skipverify = ${SKIP_VERIFY}
maxmessagesize = 1024
videowidth = 1920
videoheight = 1080
directory = /tmp
[backend-1]
url = ${HPB_PROTOCOL}://${NC_DOMAIN}
secret = ${RECORDING_SECRET}
skipverify = ${SKIP_VERIFY}
[signaling]
signalings = signaling-1
[signaling-1]
url = ${HPB_PROTOCOL}://${NC_DOMAIN}${HPB_PATH}
internalsecret = ${INTERNAL_SECRET}
[ffmpeg]
# outputaudio = -c:a libopus
# outputvideo = -c:v libvpx -deadline:v realtime -crf 10 -b:v 1M
extensionaudio = .ogg
extensionvideo = .webm
RECORDING_CONF
exec "$@"

View File

@@ -1,71 +1,105 @@
FROM nats:2.9.15-scratch as nats
FROM strukturag/nextcloud-spreed-signaling:1.1.2 as signaling
FROM alpine:3.17.2
USER root
FROM nats:2.9.20-scratch as nats
FROM strukturag/nextcloud-spreed-signaling:1.1.3 as signaling
FROM alpine:3.18.2 as janus
COPY --from=nats /nats-server /usr/local/bin/nats-server
COPY --from=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
ARG JANUS_VERSION=v0.13.4
WORKDIR /src
RUN set -ex; \
apk add --no-cache \
ca-certificates \
git \
autoconf \
automake \
build-base \
pkgconfig \
libtool \
util-linux \
glib-dev \
zlib-dev \
openssl-dev \
jansson-dev \
libnice-dev \
libconfig-dev \
libsrtp-dev \
libusrsctp-dev \
gengetopt-dev \
libwebsockets-dev; \
git clone --recursive https://github.com/meetecho/janus-gateway --depth=1 --single-branch --branch "$JANUS_VERSION" /src; \
/src/autogen.sh; \
/src/configure --disable-rabbitmq --disable-mqtt --disable-boringssl; \
make; \
make install; \
make configs; \
rename -v ".jcfg.sample" ".jcfg" /usr/local/etc/janus/*.jcfg.sample
FROM coturn/coturn:4.6.2-alpine3.18
USER root
RUN set -ex; \
apk add --no-cache \
ca-certificates \
tzdata \
bash \
coturn \
openssl \
supervisor \
bind-tools \
netcat-openbsd \
shadow \
util-linux \
build-base \
lua5.3-dev \
luarocks5.3; \
apk add --no-cache janus-gateway --repository http://dl-cdn.alpinelinux.org/alpine/edge/community; \
\
glib \
zlib \
libssl3 \
libcrypto3 \
jansson \
libnice \
libconfig \
libsrtp \
libusrsctp \
libwebsockets \
\
shadow; \
useradd --system talk; \
luarocks-5.3 install luajson; \
luarocks-5.3 install ansicolors; \
rename -v ".jcfg.sample" ".jcfg" /etc/janus/*.sample; \
apk del --no-cache \
shadow \
util-linux \
build-base \
lua5.3-dev \
luarocks5.3;
shadow; \
\
# Give root a random password
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
COPY --chmod=775 start.sh /usr/bin/start.sh
COPY --chmod=664 supervisord.conf /supervisord.conf
RUN set -ex; \
echo "root:$(openssl rand -base64 12)" | chpasswd; \
\
touch \
/etc/nats.conf \
/etc/signaling.conf \
/etc/turnserver.conf; \
/etc/nats.conf; \
echo "listen: 127.0.0.1:4222" | tee /etc/nats.conf; \
mkdir -p \
/var/tmp \
/conf \
/var/lib/turn \
/var/log/supervisord \
/var/run/supervisord \
/usr/local/lib/janus/loggers; \
chown talk:talk -R \
/usr \
/etc/nats.conf \
/var/lib/turn \
/var/log/supervisord \
/var/run/supervisord; \
chown talk:talk -R \
/usr \
/etc/janus \
/etc/nats.conf \
/etc/signaling.conf \
/etc/turnserver.conf \
chmod 777 -R \
/tmp \
/conf \
/var/run/supervisord \
/var/lib/turn \
/var/log/supervisord \
/var/run/supervisord;
/var/log/supervisord;
COPY --from=janus /usr/local /usr/local
COPY --from=nats /nats-server /usr/local/bin/nats-server
COPY --from=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
COPY --chmod=775 start.sh /start.sh
COPY --chmod=664 supervisord.conf /supervisord.conf
# Set default talk port https://github.com/nextcloud/all-in-one/issues/1011
ENV TALK_PORT=3478
USER talk
ENTRYPOINT ["start.sh"]
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
ENTRYPOINT ["/start.sh"]
CMD ["supervisord", "-c", "/supervisord.conf"]
HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost $TALK_PORT) || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"
HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost "$TALK_PORT" && nc -z "$NC_DOMAIN" "$TALK_PORT") || exit 1
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -0,0 +1,314 @@
[http]
# IP and port to listen on for HTTP requests.
# Comment line to disable the listener.
#listen = 127.0.0.1:8080
# HTTP socket read timeout in seconds.
#readtimeout = 15
# HTTP socket write timeout in seconds.
#writetimeout = 15
[https]
# IP and port to listen on for HTTPS requests.
# Comment line to disable the listener.
#listen = 127.0.0.1:8443
# HTTPS socket read timeout in seconds.
#readtimeout = 15
# HTTPS socket write timeout in seconds.
#writetimeout = 15
# Certificate / private key to use for the HTTPS server.
certificate = /etc/nginx/ssl/server.crt
key = /etc/nginx/ssl/server.key
[app]
# Set to "true" to install pprof debug handlers.
# See "https://golang.org/pkg/net/http/pprof/" for further information.
debug = false
# Set to "true" to allow subscribing any streams. This is insecure and should
# only be enabled for testing. By default only streams of users in the same
# room and call can be subscribed.
#allowsubscribeany = false
[sessions]
# Secret value used to generate checksums of sessions. This should be a random
# string of 32 or 64 bytes.
hashkey = the-secret-for-session-checksums
# Optional key for encrypting data in the sessions. Must be either 16, 24 or
# 32 bytes.
# If no key is specified, data will not be encrypted (not recommended).
blockkey = -encryption-key-
[clients]
# Shared secret for connections from internal clients. This must be the same
# value as configured in the respective internal services.
internalsecret = the-shared-secret-for-internal-clients
[backend]
# Type of backend configuration.
# Defaults to "static".
#
# Possible values:
# - static: A comma-separated list of backends is given in the "backends" option.
# - etcd: Backends are retrieved from an etcd cluster.
#backendtype = static
# For backend type "static":
# Comma-separated list of backend ids from which clients are allowed to connect
# from. Each backend will have isolated rooms, i.e. clients connecting to room
# "abc12345" on backend 1 will be in a different room than clients connected to
# a room with the same name on backend 2. Also sessions connected from different
# backends will not be able to communicate with each other.
#backends = backend-id, another-backend
# For backend type "etcd":
# Key prefix of backend entries. All keys below will be watched and assumed to
# contain a JSON document with the following entries:
# - "url": Url of the Nextcloud instance.
# - "secret": Shared secret for requests from and to the backend servers.
#
# Additional optional entries:
# - "maxstreambitrate": Maximum bitrate per publishing stream (in bits per second).
# - "maxscreenbitrate": Maximum bitrate per screensharing stream (in bits per second).
# - "sessionlimit": Number of sessions that are allowed to connect.
#
# Example:
# "/signaling/backend/one" -> {"url": "https://nextcloud.domain1.invalid", ...}
# "/signaling/backend/two" -> {"url": "https://domain2.invalid/nextcloud", ...}
#backendprefix = /signaling/backend
# Allow any hostname as backend endpoint. This is extremely insecure and should
# only be used while running the benchmark client against the server.
allowall = false
# Common shared secret for requests from and to the backend servers if
# "allowall" is enabled. This must be the same value as configured in the
# Nextcloud admin ui.
#secret = the-shared-secret-for-allowall
# Timeout in seconds for requests to the backend.
timeout = 10
# Maximum number of concurrent backend connections per host.
connectionsperhost = 8
# If set to "true", certificate validation of backend endpoints will be skipped.
# This should only be enabled during development, e.g. to work with self-signed
# certificates.
#skipverify = false
# For backendtype "static":
# Backend configurations as defined in the "[backend]" section above. The
# section names must match the ids used in "backends" above.
#[backend-id]
# URL of the Nextcloud instance
#url = https://cloud.domain.invalid
# Shared secret for requests from and to the backend servers. This must be the
# same value as configured in the Nextcloud admin ui.
#secret = the-shared-secret
# Limit the number of sessions that are allowed to connect to this backend.
# Omit or set to 0 to not limit the number of sessions.
#sessionlimit = 10
# The maximum bitrate per publishing stream (in bits per second).
# Defaults to the maximum bitrate configured for the proxy / MCU.
#maxstreambitrate = 1048576
# The maximum bitrate per screensharing stream (in bits per second).
# Defaults to the maximum bitrate configured for the proxy / MCU.
#maxscreenbitrate = 2097152
#[another-backend]
# URL of the Nextcloud instance
#url = https://cloud.otherdomain.invalid
# Shared secret for requests from and to the backend servers. This must be the
# same value as configured in the Nextcloud admin ui.
#secret = the-shared-secret
[nats]
# Url of NATS backend to use. This can also be a list of URLs to connect to
# multiple backends. For local development, this can be set to "nats://loopback"
# to process NATS messages internally instead of sending them through an
# external NATS backend.
#url = nats://localhost:4222
[mcu]
# The type of the MCU to use. Currently only "janus" and "proxy" are supported.
# Leave empty to disable MCU functionality.
#type =
# For type "janus": the URL to the websocket endpoint of the MCU server.
# For type "proxy": a space-separated list of proxy URLs to connect to.
#url =
# The maximum bitrate per publishing stream (in bits per second).
# Defaults to 1 mbit/sec.
# For type "proxy": will be capped to the maximum bitrate configured at the
# proxy server that is used.
#maxstreambitrate = 1048576
# The maximum bitrate per screensharing stream (in bits per second).
# Default is 2 mbit/sec.
# For type "proxy": will be capped to the maximum bitrate configured at the
# proxy server that is used.
#maxscreenbitrate = 2097152
# For type "proxy": timeout in seconds for requests to the proxy server.
#proxytimeout = 2
# For type "proxy": type of URL configuration for proxy servers.
# Defaults to "static".
#
# Possible values:
# - static: A space-separated list of proxy URLs is given in the "url" option.
# - etcd: Proxy URLs are retrieved from an etcd cluster (see below).
#urltype = static
# If set to "true", certificate validation of proxy servers will be skipped.
# This should only be enabled during development, e.g. to work with self-signed
# certificates.
#skipverify = false
# For type "proxy": the id of the token to use when connecting to proxy servers.
#token_id = server1
# For type "proxy": the private key for the configured token id to use when
# connecting to proxy servers.
#token_key = privkey.pem
# For url type "static": Enable DNS discovery on hostname of configured URL.
# If the hostname resolves to multiple IP addresses, a connection is established
# to each of them.
# Changes to the DNS are monitored regularly and proxy connections are created
# or deleted as necessary.
#dnsdiscovery = true
# For url type "etcd": Key prefix of MCU proxy entries. All keys below will be
# watched and assumed to contain a JSON document. The entry "address" from this
# document will be used as proxy URL, other contents in the document will be
# ignored.
#
# Example:
# "/signaling/proxy/server/one" -> {"address": "https://proxy1.domain.invalid"}
# "/signaling/proxy/server/two" -> {"address": "https://proxy2.domain.invalid"}
#keyprefix = /signaling/proxy/server
[turn]
# API key that the MCU will need to send when requesting TURN credentials.
#apikey = the-api-key-for-the-rest-service
# The shared secret to use for generating TURN credentials. This must be the
# same as on the TURN server.
#secret = 6d1c17a7-c736-4e22-b02c-e2955b7ecc64
# A comma-separated list of TURN servers to use. Leave empty to disable the
# TURN REST API.
#servers = turn:1.2.3.4:9991?transport=udp,turn:1.2.3.4:9991?transport=tcp
[geoip]
# License key to use when downloading the MaxMind GeoIP database. You can
# register an account at "https://www.maxmind.com/en/geolite2/signup" for
# free. See "https://dev.maxmind.com/geoip/geoip2/geolite2/" for further
# information.
# Leave empty to disable GeoIP lookups.
#license =
# Optional URL to download a MaxMind GeoIP database from. Will be generated if
# "license" is provided above. Can be a "file://" url if a local file should
# be used. Please note that the database must provide a country field when
# looking up IP addresses.
#url =
[geoip-overrides]
# Optional overrides for GeoIP lookups. The key is an IP address / range, the
# value the associated country code.
#127.0.0.1 = DE
#192.168.0.0/24 = DE
[continent-overrides]
# Optional overrides for continent mappings. The key is a continent code, the
# value a comma-separated list of continent codes to map the continent to.
# Use European servers for clients in Africa.
#AF = EU
# Use servers in North Africa for clients in South America.
#SA = NA
[stats]
# Comma-separated list of IP addresses that are allowed to access the stats
# endpoint. Leave empty (or commented) to only allow access from "127.0.0.1".
#allowed_ips =
[etcd]
# Comma-separated list of static etcd endpoints to connect to.
#endpoints = 127.0.0.1:2379,127.0.0.1:22379,127.0.0.1:32379
# Options to perform endpoint discovery through DNS SRV.
# Only used if no endpoints are configured manually.
#discoverysrv = example.com
#discoveryservice = foo
# Path to private key, client certificate and CA certificate if TLS
# authentication should be used.
#clientkey = /path/to/etcd-client.key
#clientcert = /path/to/etcd-client.crt
#cacert = /path/to/etcd-ca.crt
[grpc]
# IP and port to listen on for GRPC requests.
# Comment line to disable the listener.
#listen = 0.0.0.0:9090
# Certificate / private key to use for the GRPC server.
# Omit to use unencrypted connections.
#servercertificate = /path/to/grpc-server.crt
#serverkey = /path/to/grpc-server.key
# CA certificate that is allowed to issue certificates of GRPC servers.
# Omit to expect unencrypted connections.
#serverca = /path/to/grpc-ca.crt
# Certificate / private key to use for the GRPC client.
# Omit if clients don't need to authenticate on the server.
#clientcertificate = /path/to/grpc-client.crt
#clientkey = /path/to/grpc-client.key
# CA certificate that is allowed to issue certificates of GRPC clients.
# Omit to allow any clients to connect.
#clientca = /path/to/grpc-ca.crt
# Type of GRPC target configuration.
# Defaults to "static".
#
# Possible values:
# - static: A comma-separated list of targets is given in the "targets" option.
# - etcd: Target URLs are retrieved from an etcd cluster.
#targettype = static
# For target type "static": Comma-separated list of GRPC targets to connect to
# for clustering mode.
#targets = 192.168.0.1:9090, 192.168.0.2:9090
# For target type "static": Enable DNS discovery on hostnames of GRPC target.
# If a hostname resolves to multiple IP addresses, a connection is established
# to each of them.
# Changes to the DNS are monitored regularly and GRPC clients are created or
# deleted as necessary.
#dnsdiscovery = true
# For target type "etcd": Key prefix of GRPC target entries. All keys below will
# be watched and assumed to contain a JSON document. The entry "address" from
# this document will be used as target URL, other contents in the document will
# be ignored.
#
# Example:
# "/signaling/cluster/grpc/one" -> {"address": "192.168.0.1:9090"}
# "/signaling/cluster/grpc/two" -> {"address": "192.168.0.2:9090"}
#targetprefix = /signaling/cluster/grpc

View File

@@ -10,6 +10,9 @@ elif [ -z "$TURN_SECRET" ]; then
elif [ -z "$SIGNALING_SECRET" ]; then
echo "You need to provide the SIGNALING_SECRET."
exit 1
elif [ -z "$INTERNAL_SECRET" ]; then
echo "You need to provide the INTERNAL_SECRET."
exit 1
fi
set -x
@@ -17,10 +20,9 @@ IPv4_ADDRESS_TALK="$(dig nextcloud-aio-talk A +short)"
set +x
# Turn
cat << TURN_CONF > "/etc/turnserver.conf"
cat << TURN_CONF > "/conf/turnserver.conf"
listening-port=$TALK_PORT
fingerprint
lt-cred-mech
use-auth-secret
static-auth-secret=$TURN_SECRET
realm=$NC_DOMAIN
@@ -52,7 +54,7 @@ denied-peer-ip=240.0.0.0-255.255.255.255
TURN_CONF
# Signling
cat << SIGNALING_CONF > "/etc/signaling.conf"
cat << SIGNALING_CONF > "/conf/signaling.conf"
[http]
listen = 0.0.0.0:8081
@@ -64,7 +66,7 @@ hashkey = $(openssl rand -hex 16)
blockkey = $(openssl rand -hex 16)
[clients]
internalsecret = $(openssl rand -hex 16)
internalsecret = ${INTERNAL_SECRET}
[backend]
backends = backend-1

View File

@@ -1,6 +1,5 @@
[supervisord]
nodaemon=true
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
@@ -13,7 +12,7 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=turnserver -c /etc/turnserver.conf
command=turnserver -c /conf/turnserver.conf
[program:nats-server]
stdout_logfile=/dev/stdout
@@ -27,11 +26,12 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=janus --config=/etc/janus/janus.jcfg --disable-colors --log-stdout
# debug-level 3 means warning
command=janus --config=/usr/local/etc/janus/janus.jcfg --disable-colors --log-stdout --full-trickle --debug-level 3
[program:signaling]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=nextcloud-spreed-signaling -config /etc/signaling.conf
command=nextcloud-spreed-signaling -config /conf/signaling.conf

View File

@@ -1,14 +1,14 @@
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:1.5.3 as watchtower
FROM alpine:3.17.2
FROM alpine:3.18.2
RUN apk add --no-cache bash
COPY --from=watchtower /watchtower /
COPY --from=watchtower /watchtower /watchtower
COPY start.sh /
RUN chmod +x /start.sh
COPY --chmod=775 start.sh /start.sh
USER root
ENTRYPOINT ["/start.sh"]
LABEL com.centurylinklabs.watchtower.monitor-only="true"
LABEL com.centurylinklabs.watchtower.enable="false"

View File

@@ -2,10 +2,10 @@
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>nextcloud-aio</id>
<name>Nextcloud All In One</name>
<name>Nextcloud All-in-One</name>
<summary>Provides a login link for admins.</summary>
<description>Add a link to the admin settings that gives access to the Nextcloud All In One admin interface</description>
<version>0.3.0</version>
<description>Add a link to the admin settings that gives access to the Nextcloud All-in-One admin interface</description>
<version>0.4.0</version>
<licence>agpl</licence>
<author>Azul</author>
<namespace>AllInOne</namespace>
@@ -13,7 +13,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/all-in-one/issues</bugs>
<dependencies>
<nextcloud min-version="24" max-version="25"/>
<nextcloud min-version="25" max-version="26"/>
</dependencies>
<settings>

View File

@@ -10,6 +10,7 @@ declare(strict_types=1);
*/
/** @var array $_ */ ?>
<div id="allinone" class="section">
<h2><?php p($l->t('Nextcloud All In One'));?></h2>
<a href="<?php p($_['AIOLoginUrl']);?>" class="button" target="_blank" rel="noopener">Open Nextcloud AIO Interface ↗</a>
<h2><?php p($l->t('Nextcloud All-in-One'));?></h2>
<a href="<?php p($_['AIOLoginUrl']);?>" class="button" target="_blank" rel="noopener">Open Nextcloud AIO Interface ↗</a><br><br>
<p><a href="https://github.com/nextcloud/all-in-one#how-to-easily-log-in-to-the-aio-interface">Click here for more infos on this feature (e.g. also on how to change the link in the button)</a></p>
</div>

62
compose.yaml Normal file
View File

@@ -0,0 +1,62 @@
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
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'!
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
- 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
# 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
# - 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
# - NEXTCLOUD_MOUNT=/mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
# - NEXTCLOUD_UPLOAD_LIMIT=10G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
# - NEXTCLOUD_MAX_TIME=3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
# - NEXTCLOUD_MEMORY_LIMIT=512M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
# - NEXTCLOUD_TRUSTED_CACERTS_DIR=/path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nexcloud container (Useful e.g. for LDAPS) See See https://github.com/nextcloud/all-in-one#how-to-trust-user-defined-certification-authorities-ca
# - NEXTCLOUD_STARTUP_APPS=deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup
# - NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container
# - NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container
# - NEXTCLOUD_ENABLE_DRI_DEVICE=true # This allows to enable the /dev/dri device in the Nextcloud container. ⚠️⚠️⚠️ Warning: this only works if the '/dev/dri' device is present on the host! If it should not exist on your host, don't set this to true as otherwise the Nextcloud container will fail to start! See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud
# - 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
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
# caddy:
# image: caddy:alpine
# restart: always
# container_name: caddy
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile
# - ./certs:/certs
# - ./config:/config
# - ./data:/data
# - ./sites:/srv
# network_mode: "host"
volumes:
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

@@ -22,6 +22,8 @@ Simply use https://github.com/nextcloud/all-in-one/issues/180 as template.
Go to https://github.com/nextcloud-releases/all-in-one/actions/workflows/repo-sync.yml and run the workflow that will first sync the repo and then build new container that automatically get published to `develop` and `develop-arm64`.
## How to test things correctly?
Before testing, make sure that at least the amd64 containers are built successfully by checking the last workflow here: https://github.com/nextcloud-releases/all-in-one/actions/workflows/build_images.yml.
There is a testing-VM available for the maintainer of AIO that allows for some final testing before releasing new version. See [this](https://cloud.nextcloud.com/apps/collectives/Nextcloud%20Handbook/Technical/AIO%20testing%20VM?fileId=6350152) for details.
## How to promote builds from develop to beta

View File

@@ -1,49 +0,0 @@
version: "3.8"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed
- /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 'DOCKER_SOCKET_PATH'!
ports:
- 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx 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 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
# - APACHE_PORT=11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx 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 and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# - 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
# - 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'
# - DISABLE_BACKUP_SECTION=false # Setting this to true allows to hide the backup section in the AIO interface.
# - NEXTCLOUD_DATADIR=/mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
# - NEXTCLOUD_MOUNT=/mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
# - NEXTCLOUD_UPLOAD_LIMIT=10G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
# - NEXTCLOUD_MAX_TIME=3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
# - NEXTCLOUD_MEMORY_LIMIT=512M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
# - NEXTCLOUD_TRUSTED_CACERTS_DIR=/path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nexcloud container (Useful e.g. for LDAPS) See See https://github.com/nextcloud/all-in-one#how-to-trust-user-defiend-certification-authorities-ca
# - NEXTCLOUD_STARTUP_APPS=deck twofactor_totp tasks calendar contacts # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup
# - NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container
# - NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container
# - NEXTCLOUD_ENABLE_DRI_DEVICE=true # This allows to enable the /dev/dri device in the Nextcloud container which is needed for hardware-transcoding. See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud
# - TALK_PORT=3478 # This allows to adjust the port that the talk container is using.
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
# caddy:
# image: caddy:alpine
# restart: always
# container_name: caddy
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile
# - ./certs:/certs
# - ./config:/config
# - ./data:/data
# - ./sites:/srv
# network_mode: "host"

45
docker-ipv6-support.md Normal file
View File

@@ -0,0 +1,45 @@
# 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.
```json
{
"ipv6": true,
"fixed-cidr-v6": "fd12:3456:789a:1::/64",
"experimental": true,
"ip6tables": true
}
```
Save the file.
2. Reload the Docker configuration file.
```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.
## 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.
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.
```
"ipv6": true,
"fixed-cidr-v6": "fd12:3456:789a:1::/64",
"experimental": true,
"ip6tables": 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.
---
**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.

View File

@@ -4,12 +4,12 @@ You can run AIO with docker rootless by following the steps below.
0. If docker is already installed, you should consider disabling it first: (`sudo systemctl disable --now docker.service docker.socket`)
1. Install docker rootless by following the official documentation: https://docs.docker.com/engine/security/rootless/#install. The easiest way is installing it **Without packages** (`curl -fsSL https://get.docker.com/rootless | sh`). Further limitations, distribution specific hints, etc. are discussed on the same site. Also do not forget to enable the systemd service, which may not be enabled always by default. See https://docs.docker.com/engine/security/rootless/#usage. (`systemctl --user enable docker`)
1. If you need ipv6 support, you should enable it by following https://docs.docker.com/config/daemon/ipv6/. The daemon.json file is most likely stored in `~/.config/docker/daemon.json`.
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 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. 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 `-e DOCKER_SOCKET_PATH=$XDG_RUNTIME_DIR/docker.sock` to the initial container startup (which is needed for mastercontainer updates to work correctly).
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 docker-compose file (after installing docker rootles) are things that are mentioned in point 3.
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).
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.
**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).

View File

@@ -1,9 +0,0 @@
name: Nextcloud AIO Helm Chart
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 4.6.2
apiVersion: v2
keywords:
- latest
sources:
- https://github.com/nextcloud/all-in-one/tree/main/helm-chart
home: https://github.com/nextcloud/all-in-one/tree/main/helm-chart

View File

@@ -1,3 +0,0 @@
# You can also install the AIO containers on Kubernetes using this Helm Chart
This is currently beta and not ready yet.

View File

@@ -1,73 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.service: nextcloud-aio-apache
name: nextcloud-aio-apache
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-apache
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-apache
spec:
initContainers:
- name: init-volumes
image: alpine
command:
- chmod
- "777"
- /nextcloud-aio-nextcloud
- /nextcloud-aio-apache
volumeMounts:
- name: nextcloud-aio-apache
mountPath: /nextcloud-aio-apache
- name: nextcloud-aio-nextcloud
mountPath: /nextcloud-aio-nextcloud
containers:
- env:
- name: APACHE_MAX_SIZE
value: "{{ .Values.APACHE_MAX_SIZE }}"
- name: APACHE_MAX_TIME
value: "{{ .Values.NEXTCLOUD_MAX_TIME }}"
- name: APACHE_PORT
value: "{{ .Values.APACHE_PORT }}"
- name: COLLABORA_HOST
value: nextcloud-aio-collabora
- name: NC_DOMAIN
value: "{{ .Values.NC_DOMAIN }}"
- name: NEXTCLOUD_HOST
value: nextcloud-aio-nextcloud
- name: ONLYOFFICE_HOST
value: nextcloud-aio-onlyoffice
- name: TALK_HOST
value: nextcloud-aio-talk
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-apache:20230315_112022-latest
name: nextcloud-aio-apache
ports:
- containerPort: {{ .Values.APACHE_PORT }}
volumeMounts:
- mountPath: /var/www/html
name: nextcloud-aio-nextcloud
readOnly: true
- mountPath: /mnt/data
name: nextcloud-aio-apache
volumes:
- name: nextcloud-aio-nextcloud
persistentVolumeClaim:
claimName: nextcloud-aio-nextcloud
- name: nextcloud-aio-apache
persistentVolumeClaim:
claimName: nextcloud-aio-apache

View File

@@ -1,52 +0,0 @@
{{- if eq .Values.CLAMAV_ENABLED "yes" }}
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-clamav
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-clamav
spec:
initContainers:
- name: init-volumes
image: alpine
command:
- chmod
- "777"
- /nextcloud-aio-clamav
volumeMounts:
- name: nextcloud-aio-clamav
mountPath: /nextcloud-aio-clamav
containers:
- env:
- name: CLAMD_STARTUP_TIMEOUT
value: "90"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-clamav:20230315_112022-latest
name: nextcloud-aio-clamav
ports:
- containerPort: 3310
volumeMounts:
- mountPath: /var/lib/clamav
name: nextcloud-aio-clamav
volumes:
- name: nextcloud-aio-clamav
persistentVolumeClaim:
claimName: nextcloud-aio-clamav
{{- end }}

View File

@@ -1,15 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
io.kompose.service: nextcloud-aio-collabora-fonts
name: nextcloud-aio-collabora-fonts
spec:
{{- if .Values.STORAGE_CLASS }}
storageClassName: {{ .Values.STORAGE_CLASS }}
{{- end }}
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.COLLABORA_FONTS_STORAGE_SIZE }}

View File

@@ -1,37 +0,0 @@
{{- if eq .Values.IMAGINARY_ENABLED "yes" }}
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.service: nextcloud-aio-imaginary
name: nextcloud-aio-imaginary
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-imaginary
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-imaginary
spec:
containers:
- env:
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-imaginary:20230315_112022-latest
name: nextcloud-aio-imaginary
ports:
- containerPort: 9000
securityContext:
capabilities:
add:
- SYS_NICE
{{- end }}

View File

@@ -1,13 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: nextcloud-aio
spec:
ingress:
- from:
- podSelector:
matchLabels:
io.kompose.network/nextcloud-aio: "true"
podSelector:
matchLabels:
io.kompose.network/nextcloud-aio: "true"

View File

@@ -1,44 +0,0 @@
{{- if eq .Values.TALK_ENABLED "yes" }}
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.service: nextcloud-aio-talk
name: nextcloud-aio-talk
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-talk
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-talk
spec:
containers:
- env:
- name: NC_DOMAIN
value: "{{ .Values.NC_DOMAIN }}"
- name: SIGNALING_SECRET
value: "{{ .Values.SIGNALING_SECRET }}"
- name: TALK_PORT
value: "{{ .Values.TALK_PORT }}"
- name: TURN_SECRET
value: "{{ .Values.TURN_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk:20230315_112022-latest
name: nextcloud-aio-talk
ports:
- containerPort: {{ .Values.TALK_PORT }}
- containerPort: {{ .Values.TALK_PORT }}
protocol: UDP
- containerPort: 8081
{{- end }}

View File

@@ -5,15 +5,15 @@ It is possible due to several reasons that you do not want or cannot open Nextcl
The recommended way is the following:
1. Set up your domain correctly to point to your home network
1. Set up a reverse proxy by following the [reverse proxy documentation](./reverse-proxy.md) but only open port 80 (which is needed for the ACME challenge to work - however no real traffic will use this port).
1. Set up a local DNS-server like a pi-hole and configure it to be your local DNS-server for the whole network. Then in the Pi-hole interface, add a custom DNS-record for your domain and overwrite the A-record (and possibly the AAAA-record, too) to point to the local ip-address of your reverse proxy (see https://github.com/nextcloud/all-in-one#how-can-i-access-nextcloud-locally)
1. Enter the the ip-address of your local dns-server in the deamon.json file for docker so that you are sure that all docker containers use the correct local dns-server.
1. Set up a local DNS-server like a pi-hole and configure it to be your local DNS-server for the whole network. Then in the Pi-hole interface, add a custom DNS-record for your domain and overwrite the A-record (and possibly the AAAA-record, too) to point to the private ip-address of your reverse proxy (see https://github.com/nextcloud/all-in-one#how-can-i-access-nextcloud-locally)
1. Enter the ip-address of your local dns-server in the daemon.json file for docker so that you are sure that all docker containers use the correct local dns-server.
1. Now, entering the domain in the AIO-interface should work as expected and should allow you to continue with the setup
## 2. Use the ACME DNS-challenge
You can alternatively use the ACME DNS-challenge to get a valid certificate for Nextcloud. Here is described how to set it up: https://github.com/nextcloud/all-in-one#how-to-get-nextcloud-running-using-the-acme-dns-challenge
## 3. Use Cloudflare
If you do not have any contol over the network, you may think about using Cloudflare Tunnel to get a valid certificate for your Nextcloud. However it will be opened to the public internet then. See https://github.com/nextcloud/all-in-one#how-to-run-nextcloud-behind-a-cloudflare-tunnel how to set this up.
If you do not have any control over the network, you may think about using Cloudflare Tunnel to get a valid certificate for your Nextcloud. However it will be opened to the public internet then. See https://github.com/nextcloud/all-in-one#how-to-run-nextcloud-behind-a-cloudflare-tunnel how to set this up.
## 4. Buy a certificate and use that
If none of the above ways work for you, you may simply buy a certificate from an issuer for your domain. You then download the certificate onto your server, configure AIO in [reverse proxy mode](./reverse-proxy.md) and use the certificate for your domain in your reverse proxy config.

View File

@@ -1,5 +1,3 @@
version: "3.8"
services:
nextcloud-aio-apache:
depends_on:
@@ -7,9 +5,11 @@ services:
- nextcloud-aio-collabora
- nextcloud-aio-talk
- nextcloud-aio-nextcloud
- nextcloud-aio-notify-push
image: nextcloud/aio-apache:latest
ports:
- ${APACHE_IP_BINDING}:${APACHE_PORT}:${APACHE_PORT}/tcp
- ${APACHE_IP_BINDING}:${APACHE_PORT}:${APACHE_PORT}/udp
environment:
- NC_DOMAIN=${NC_DOMAIN}
- NEXTCLOUD_HOST=nextcloud-aio-nextcloud
@@ -20,12 +20,20 @@ services:
- TZ=${TIMEZONE}
- APACHE_MAX_SIZE=${APACHE_MAX_SIZE}
- APACHE_MAX_TIME=${NEXTCLOUD_MAX_TIME}
- NOTIFY_PUSH_HOST=nextcloud-aio-notify-push
volumes:
- nextcloud_aio_nextcloud:/var/www/html:ro
- nextcloud_aio_apache:/mnt/data:rw
restart: unless-stopped
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/log/supervisord
- /var/run/supervisord
- /usr/local/apache2/logs
- /tmp
- /home/www-data
nextcloud-aio-database:
image: nextcloud/aio-postgresql:latest
@@ -42,8 +50,12 @@ services:
- PGTZ=${TIMEZONE}
stop_grace_period: 1800s
restart: unless-stopped
shm_size: 268435456
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/run/postgresql
nextcloud-aio-nextcloud:
depends_on:
@@ -51,11 +63,11 @@ services:
- nextcloud-aio-redis
- nextcloud-aio-clamav
- nextcloud-aio-fulltextsearch
- nextcloud-aio-talk-recording
- nextcloud-aio-imaginary
image: nextcloud/aio-nextcloud:latest
expose:
- "9000"
- "7867"
volumes:
- nextcloud_aio_nextcloud:/var/www/html:rw
- ${NEXTCLOUD_DATADIR}:/mnt/ncdata:rw
@@ -68,7 +80,6 @@ services:
- POSTGRES_USER=nextcloud
- REDIS_HOST=nextcloud-aio-redis
- REDIS_HOST_PASSWORD=${REDIS_PASSWORD}
- AIO_TOKEN=${AIO_TOKEN}
- NC_DOMAIN=${NC_DOMAIN}
- ADMIN_USER=admin
- ADMIN_PASSWORD=${NEXTCLOUD_PASSWORD}
@@ -78,7 +89,6 @@ services:
- TURN_SECRET=${TURN_SECRET}
- SIGNALING_SECRET=${SIGNALING_SECRET}
- ONLYOFFICE_SECRET=${ONLYOFFICE_SECRET}
- AIO_URL=${AIO_URL}
- NEXTCLOUD_MOUNT=${NEXTCLOUD_MOUNT}
- CLAMAV_ENABLED=${CLAMAV_ENABLED}
- CLAMAV_HOST=nextcloud-aio-clamav
@@ -101,11 +111,34 @@ services:
- STARTUP_APPS=${NEXTCLOUD_STARTUP_APPS}
- ADDITIONAL_APKS=${NEXTCLOUD_ADDITIONAL_APKS}
- ADDITIONAL_PHP_EXTENSIONS=${NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS}
- SKIP_DATA_DIRECTORY_PERMISSION_CHECK=${SKIP_DATA_DIRECTORY_PERMISSION_CHECK}
- INSTALL_LATEST_MAJOR=${INSTALL_LATEST_MAJOR}
- TALK_RECORDING_ENABLED=${TALK_RECORDING_ENABLED}
- RECORDING_SECRET=${RECORDING_SECRET}
- TALK_RECORDING_HOST=nextcloud-aio-talk-recording
restart: unless-stopped
networks:
- nextcloud-aio
nextcloud-aio-notify-push:
image: nextcloud/aio-notify-push:latest
expose:
- "7867"
volumes:
- nextcloud_aio_nextcloud:/nextcloud:ro
environment:
- NC_DOMAIN=${NC_DOMAIN}
- NEXTCLOUD_HOST=nextcloud-aio-nextcloud
- REDIS_HOST=nextcloud-aio-redis
- REDIS_HOST_PASSWORD=${REDIS_PASSWORD}
- POSTGRES_HOST=nextcloud-aio-database
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
- POSTGRES_DB=nextcloud_database
- POSTGRES_USER=nextcloud
restart: unless-stopped
networks:
- nextcloud-aio
read_only: true
nextcloud-aio-redis:
image: nextcloud/aio-redis:latest
expose:
@@ -118,9 +151,9 @@ services:
restart: unless-stopped
networks:
- nextcloud-aio
read_only: true
nextcloud-aio-collabora:
profiles: ["collabora"]
image: nextcloud/aio-collabora:latest
expose:
- "9980"
@@ -130,14 +163,14 @@ services:
- dictionaries=${COLLABORA_DICTIONARIES}
- TZ=${TIMEZONE}
- server_name=${NC_DOMAIN}
volumes:
- nextcloud_aio_collabora_fonts:/opt/cool/systemplate/tmpfonts:rw
- DONT_GEN_SSL_CERT=1
restart: unless-stopped
profiles:
- collabora
networks:
- nextcloud-aio
nextcloud-aio-talk:
profiles: ["talk"]
image: nextcloud/aio-talk:latest
ports:
- ${TALK_PORT}:${TALK_PORT}/tcp
@@ -150,12 +183,42 @@ services:
- SIGNALING_SECRET=${SIGNALING_SECRET}
- TZ=${TIMEZONE}
- TALK_PORT=${TALK_PORT}
- INTERNAL_SECRET=${TALK_INTERNAL_SECRET}
restart: unless-stopped
profiles:
- talk
- talk-recording
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/log/supervisord
- /var/run/supervisord
- /conf
- /var/lib/turn
- /tmp
nextcloud-aio-talk-recording:
image: nextcloud/aio-talk-recording:latest
expose:
- "1234"
environment:
- NC_DOMAIN=${NC_DOMAIN}
- TZ=${TIMEZONE}
- RECORDING_SECRET=${RECORDING_SECRET}
- INTERNAL_SECRET=${TALK_INTERNAL_SECRET}
shm_size: 2147483648
restart: unless-stopped
profiles:
- talk-recording
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /tmp
- /conf
nextcloud-aio-clamav:
profiles: ["clamav"]
image: nextcloud/aio-clamav:latest
expose:
- "3310"
@@ -165,11 +228,17 @@ services:
volumes:
- nextcloud_aio_clamav:/var/lib/clamav:rw
restart: unless-stopped
profiles:
- clamav
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/lock
- /var/log/clamav
- /tmp
nextcloud-aio-onlyoffice:
profiles: ["onlyoffice"]
image: nextcloud/aio-onlyoffice:latest
expose:
- "80"
@@ -181,24 +250,29 @@ services:
volumes:
- nextcloud_aio_onlyoffice:/var/lib/onlyoffice:rw
restart: unless-stopped
profiles:
- onlyoffice
networks:
- nextcloud-aio
nextcloud-aio-imaginary:
profiles: ["imaginary"]
image: nextcloud/aio-imaginary:latest
expose:
- "9000"
environment:
- TZ=${TIMEZONE}
restart: unless-stopped
networks:
- nextcloud-aio
cap_add:
- SYS_NICE
profiles:
- imaginary
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /tmp
nextcloud-aio-fulltextsearch:
profiles: ["fulltextsearch"]
image: nextcloud/aio-fulltextsearch:latest
expose:
- "9200"
@@ -210,6 +284,8 @@ services:
volumes:
- nextcloud_aio_elasticsearch:/usr/share/elasticsearch/data:rw
restart: unless-stopped
profiles:
- fulltextsearch
networks:
- nextcloud-aio
@@ -218,8 +294,6 @@ volumes:
name: nextcloud_aio_apache
nextcloud_aio_clamav:
name: nextcloud_aio_clamav
nextcloud_aio_collabora_fonts:
name: nextcloud_aio_collabora_fonts
nextcloud_aio_database:
name: nextcloud_aio_database
nextcloud_aio_database_dump:
@@ -235,5 +309,13 @@ 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

@@ -11,33 +11,34 @@ You can run the containers that are build for AIO with docker-compose. This come
- You lose the AIO interface
- You lose update notifications and automatic updates
- You lose all AIO backup and restore features
- You need to know what you are doing, especially when modifying the docker-compose file
- **You need to know what you are doing, especially when modifying the compose.yaml file**
- For updating, you need to strictly follow the at the bottom described update routine
- Probably more
## How to use this?
First, install docker and docker-compose if not already done. Then simply run the following:
First, install docker and docker-compose (v2) if not already done. Then simply run the following:
```bash
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).
Now copy the provided yaml file to a docker-compose file by running `cp latest.yml docker-compose.yml`.
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`.
## Docker profiles
The default profile of `latest.yml` only provide the minimum necessary services: nextcloud, database, redis and apache. To get optional services collabora, onlyoffice, talk, clamav, imaginary or fulltextsearch use additional arguments for each of them, for example `--profile collabora`. (Note: there is no clamav image for arm64).
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 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 my.conf .env` in order to rename the file to `.env`.
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. Back up all important files and folders
1. Run `git pull` in order to get the updated yaml files from the repository. Now bring your `docker-compose.yml` file up-to-date with the updated one from the repository. You can use `diff docker-compose.yml latest.yml` for comparing.
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.

View File

@@ -1,33 +1,37 @@
AIO_TOKEN=123456 # Has no function but needs to be set!
AIO_URL=localhost # Has no function but needs to be set!
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 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 and else).
CLAMAV_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
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_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
COLLABORA_SECCOMP_POLICY=--o:security.seccomp=true # Changing the value to false allows to disable the seccomp feature of the Collabora container.
DATABASE_PASSWORD= # TODO! This needs to be a unique and good password!
NC_DOMAIN=yourdomain.com # TODO! Needs to be changed to the domain that you want to use for Nextcloud.
NEXTCLOUD_PASSWORD= # TODO! This is the password of the initially created Nextcloud admin with username "admin".
ONLYOFFICE_SECRET= # TODO! This needs to be a unique and good password!
RECORDING_SECRET= # TODO! This needs to be a unique and good password!
REDIS_PASSWORD= # TODO! This needs to be a unique and good password!
SIGNALING_SECRET= # TODO! This needs to be a unique and good password!
TALK_INTERNAL_SECRET= # TODO! This needs to be a unique and good password!
TIMEZONE=Europe/Berlin # TODO! This is the timezone that your containers will use.
TURN_SECRET= # TODO! This needs to be a unique and good password!
CLAMAV_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
COLLABORA_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
FULLTEXTSEARCH_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
IMAGINARY_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
NC_DOMAIN=yourdomain.com # TODO! Needs to be changed to the domain that you want to use for Nextcloud.
ONLYOFFICE_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
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_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).
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
NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value.
NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value.
NEXTCLOUD_DATADIR=nextcloud_aio_nextcloud_data # You can change this to e.g. "/mnt/ncdata" to map it to a location on your host. It needs to be adjusted before the first startup and never afterwards!
NEXTCLOUD_MAX_TIME=3600 # This allows to change the upload time limit of the Nextcloud container
NEXTCLOUD_MEMORY_LIMIT=512M # This allows to change the PHP memory limit of the Nextcloud container
NEXTCLOUD_MOUNT=/mnt/ # This allows the Nextcloud container to access directories on the host. It must never be equal to the value of NEXTCLOUD_DATADIR!
NEXTCLOUD_PASSWORD= # TODO! This is the password of the initially created Nextcloud admin with username "admin".
NEXTCLOUD_STARTUP_APPS="deck twofactor_totp tasks calendar contacts" # Allows to modify the Nextcloud apps that are installed on starting AIO the first time
NEXTCLOUD_STARTUP_APPS="deck twofactor_totp tasks calendar contacts notes" # Allows to modify the Nextcloud apps that are installed on starting AIO the first time
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.
NEXTCLOUD_UPLOAD_LIMIT=10G # This allows to change the upload limit of the Nextcloud container
ONLYOFFICE_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
ONLYOFFICE_SECRET= # TODO! This needs to be a unique and good password!
REDIS_PASSWORD= # TODO! This needs to be a unique and good password!
SIGNALING_SECRET= # TODO! This needs to be a unique and good password!
SKIP_DATA_DIRECTORY_PERMISSION_CHECK="no" # When setting to "yes" (with quotes), it will skip the datadir permission check upon the initial Nextcloud installation.
TALK_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.
TALK_PORT=3478 # This allows to adjust the port that the talk container is using.
TIMEZONE=Europe/Berlin # TODO! This is the timezone that your containers will use.
TURN_SECRET= # TODO! This needs to be a unique and good password!
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

@@ -15,6 +15,8 @@ OUTPUT="$(cat /tmp/containers.json)"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].internal_port)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].secrets)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].devices)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].backup_volumes)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].nextcloud_exec_commands)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-watchtower"))')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-domaincheck"))')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-borgbackup"))')"
@@ -30,6 +32,11 @@ sed -i '/stop_grace_period:/s/$/s/' containers.yml
sed -i '/: \[\]/d' containers.yml
sed -i 's|- source: |- |' containers.yml
sed -i 's|- ip_binding: |- |' containers.yml
sed -i '/AIO_TOKEN/d' containers.yml
sed -i '/AIO_URL/d' containers.yml
sed -i '/AIO_TOKEN/d' sample.conf
sed -i '/AIO_URL/d' sample.conf
TCP="$(grep -oP '[%A-Z0-9_]+/tcp' containers.yml | sort -u)"
mapfile -t TCP <<< "$TCP"
@@ -71,21 +78,30 @@ 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|SKIP_DATA_DIRECTORY_PERMISSION_CHECK=|SKIP_DATA_DIRECTORY_PERMISSION_CHECK="no" # When setting to "yes" (with quotes), it will skip the datadir permission check upon the initial Nextcloud installation.|' 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 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 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, 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|TALK_PORT=|TALK_PORT=3478 # This allows to adjust the port that the talk container is using.|' sample.conf
sed -i 's|AIO_TOKEN=|AIO_TOKEN=123456 # Has no function but needs to be set!|' sample.conf
sed -i 's|AIO_URL=|AIO_URL=localhost # Has no function but needs to be set!|' 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
sed -i 's|TIMEZONE=|TIMEZONE=Europe/Berlin # TODO! This is the timezone that your containers will use.|' sample.conf
sed -i 's|COLLABORA_SECCOMP_POLICY=|COLLABORA_SECCOMP_POLICY=--o:security.seccomp=true # Changing the value to false allows to disable the seccomp feature of the Collabora container.|' sample.conf
sed -i 's|NEXTCLOUD_STARTUP_APPS=|NEXTCLOUD_STARTUP_APPS="deck twofactor_totp tasks calendar contacts" # Allows to modify the Nextcloud apps that are installed on starting AIO the first time|' sample.conf
sed -i 's|NEXTCLOUD_STARTUP_APPS=|NEXTCLOUD_STARTUP_APPS="deck twofactor_totp tasks calendar contacts notes" # Allows to modify the Nextcloud apps that are installed on starting AIO the first time|' sample.conf
sed -i 's|NEXTCLOUD_ADDITIONAL_APKS=|NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value.|' sample.conf
sed -i 's|NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=|NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value.|' sample.conf
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|=$|= # 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
grep '_ENABLED' sample.conf > enabled.conf
cat todo.conf > sample.conf
# shellcheck disable=SC2129
echo '' >> sample.conf
cat enabled.conf >> sample.conf
echo '' >> sample.conf
cat temp.conf >> sample.conf
rm todo.conf temp.conf enabled.conf
cat sample.conf
OUTPUT="$(cat containers.yml)"
@@ -93,23 +109,13 @@ NAMES="$(grep -oP "container_name:.*" containers.yml | grep -oP 'nextcloud-aio.*
mapfile -t NAMES <<< "$NAMES"
for name in "${NAMES[@]}"
do
OUTPUT="$(echo "$OUTPUT" | sed "/container_name.*$name/i\ \ $name:")"
OUTPUT="$(echo "$OUTPUT" | sed "/container_name.*$name$/i\ \ $name:")"
if [ "$name" != "nextcloud-aio-apache" ]; then
OUTPUT="$(echo "$OUTPUT" | sed "/ $name:/i\ ")"
fi
if ! echo "$name" | grep "apache$" && ! echo "$name" | grep "database$" && ! echo "$name" | grep "nextcloud$" && ! echo "$name" | grep "redis$"; then
sed -i '/container_name/d' containers.yml
SLIM_NAME="${name##nextcloud-aio-}"
OUTPUT="$(echo "$OUTPUT" | sed "/container_name: $name$/a\ \ \ \ profiles:\ \[\"$SLIM_NAME\"\]")"
fi
done
OUTPUT="$(echo "$OUTPUT" | sed "/restart: /a\ \ \ \ networks:\n\ \ \ \ \ \ - nextcloud-aio")"
echo 'version: "3.8"' > containers.yml
echo "" >> containers.yml
echo "$OUTPUT" >> containers.yml
echo "$OUTPUT" > containers.yml
sed -i '/container_name/d' containers.yml
sed -i 's|^ $||' containers.yml
@@ -128,8 +134,16 @@ 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

@@ -14,7 +14,7 @@ The procedure for migrating only the files works like this:
1. Install Nextcloud AIO on a new server/linux installation, enter your domain and wait until all containers are running
1. Recreate all users that were present on your former installation
1. Take a backup using Nextcloud AIO's built-in backup solution (so that you can easily restore to this state again) (Note: this will stop all containers and is expected: don't start the container again at this point!)
1. Restore the datadirectory of your former instance: for `/path/to/nextcloud/data/` run `sudo docker cp --follow-link /path/to/nextcloud/data/ nextcloud-aio-nextcloud:/mnt/ncdata/` Note: the `/` at the end are necessary.
1. Restore the datadirectory of your former instance: for `/path/to/nextcloud/data/` run `sudo docker cp --follow-link /path/to/nextcloud/data/. nextcloud-aio-nextcloud:/mnt/ncdata/` Note: the `/.` and `/` at the end are necessary.
1. Next, run `sudo docker run --rm --volume nextcloud_aio_nextcloud_data:/mnt/ncdata:rw alpine chown -R 33:0 /mnt/ncdata/` and `sudo docker run --rm --volume nextcloud_aio_nextcloud_data:/mnt/ncdata:rw alpine chmod -R 750 /mnt/ncdata/` to apply the correct permissions. (Or if `NEXTCLOUD_DATADIR` was provided, apply `chown -R 33:0` and `chmod -R 750` to the chosen path.)
1. Start the containers again and wait until all containers are running
1. Run `sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan-app-data && sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --all` in order to scan all files in the datadirectory.
@@ -24,7 +24,7 @@ The procedure for migrating only the files works like this:
The procedure for migrating the files and the database works like this:
1. Make sure that your old instance is on exactly the same version like the version used in Nextcloud AIO. (e.g. 23.0.0) You can find the used version here: [click here](https://github.com/nextcloud/all-in-one/search?l=Dockerfile&q=NEXTCLOUD_VERSION&type=). If not, simply upgrade your former installation to that version or wait until the version used in Nextcloud AIO got updated to the same version of your former installation or the other way around.
1. Take a backup of your former instance (especially from your datadirectory and database)
1. First, on the old instance, update all Nextcloud apps to its latest version via the app management site (important for the restore later on). Then take a backup of your former instance (especially from your datadirectory and database).
1. If your former installation didn't use Postgresql already, you will now need to convert your old installation to use Postgresql as database temporarily (in order to be able to perform a pg_dump afterwards):
1. Install Postgresql on your former installation: on a Debian based OS should the following command work:
```
@@ -56,7 +56,7 @@ The procedure for migrating the files and the database works like this:
```
**Please note:** The exact name of the database export file is important! (`database-dump.sql`)<br>
And of course you need to to use the correct name that the Postgresql database has for the export (if `$PG_DATABASE` doesn't work directly).
1. At this point, you can finally install Nextcloud AIO on a new server/linux installation, enter your domain in the AIO interface (use the same domain that you used on your former installation) and wait until all containers are running. Then you should check the included Nextcloud version by running `sudo docker inspect nextcloud-aio-nextcloud | grep NEXTCLOUD_VERSION`.
1. At this point, you can finally install Nextcloud AIO on a new server/linux installation, enter your domain in the AIO interface (use the same domain that you used on your former installation) and wait until all containers are running. Then you should check the included Nextcloud version by running `sudo docker inspect nextcloud-aio-nextcloud | grep NEXTCLOUD_VERSION`. Also install all apps via the apps management site that were installed on the old Nextcloud installation. Otherwise they will show as installed, but will not work.
1. Next, take a backup using Nextcloud AIO's built-in backup solution (so that you can easily restore to this state again) (Note: this will stop all containers and is expected: don't start the container again at this point!)
1. Now, we are slowly starting to import your files and database. First, you need to modify the datadirectory that is stored inside the database export:
1. Find out what the directory of your old Nextcloud installation is by e.g. opening the config.php file and looking at the value `datadirectory`.
@@ -75,7 +75,7 @@ The procedure for migrating the files and the database works like this:
sudo docker run --rm --volume nextcloud_aio_database_dump:/mnt/data:rw alpine chmod 777 /mnt/data/database-dump.sql
sudo docker run --rm --volume nextcloud_aio_database_dump:/mnt/data:rw alpine rm /mnt/data/initial-cleanup-done
```
1. If the commands above were executed successfully, restore the datadirectory of your former instance into your datadirectory: `sudo docker run --rm --volume nextcloud_aio_nextcloud_data:/mnt/ncdata:rw alpine sh -c "rm -rf /mnt/ncdata/*"` and `sudo docker cp --follow-link /path/to/nextcloud/data/ nextcloud-aio-nextcloud:/mnt/ncdata/` Note: the `/` at the end are necessary. (Or if `NEXTCLOUD_DATADIR` was provided, first delete the files in there and then copy the files to the chosen path.)
1. If the commands above were executed successfully, restore the datadirectory of your former instance into your datadirectory: `sudo docker run --rm --volume nextcloud_aio_nextcloud_data:/mnt/ncdata:rw alpine sh -c "rm -rf /mnt/ncdata/*"` and `sudo docker cp --follow-link /path/to/nextcloud/data/. nextcloud-aio-nextcloud:/mnt/ncdata/` Note: the `/.` and `/` at the end are necessary. (Or if `NEXTCLOUD_DATADIR` was provided, first delete the files in there and then copy the files to the chosen path.)
1. Next, run `sudo docker run --rm --volume nextcloud_aio_nextcloud_data:/mnt/ncdata:rw alpine chown -R 33:0 /mnt/ncdata/` and `sudo docker run --rm --volume nextcloud_aio_nextcloud_data:/mnt/ncdata:rw alpine chmod -R 750 /mnt/ncdata/` to apply the correct permissions on the datadirectory. (Or if `NEXTCLOUD_DATADIR` was provided, apply `chown -R 33:0` and `chmod -R 750` to the chosen path.)
1. Edit the Nextcloud AIO config.php file using `sudo docker run -it --rm --volume nextcloud_aio_nextcloud:/var/www/html:rw alpine sh -c "apk add --no-cache nano && nano /var/www/html/config/config.php"` and modify only `passwordsalt`, `secret`, `instanceid` and set it to the old values that you used on your old installation. If you are brave, feel free to modify further values e.g. add your old LDAP config or S3 storage config. (Some things like Mail server config can be added back using Nextcloud's webinterface later on).
1. When you are done and saved your changes to the file, finally start the containers again and wait until all containers are running.

View File

@@ -8,12 +8,12 @@ Below is described more in detail how the the second way works.
## Run multiple AIO instances on the same server with docker rootless
1. Create as many linux users as you need first. The easiest way is to use `sudo adduser` and follow the setup for that. Make sure to create a strong unique password for each of them and write it down!
1. Log in as each of the users e.g. by opening a new SSH connection and install docker rootless for each of them by following step 0-4 of the [docker rootless documentation](./docker-rootless.md).
1. Then install AIO in reverse proxy mode by using the command that is descriebed in step 2 and 3 of the [reverse proxy documentation](./reverse-proxy.md) but use a different `APACHE_PORT` and [`TALK_PORT`](https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port) for each instance as otherwise it will bug out. Also make sure to adjust the docker socket and `DOCKER_SOCKET_PATH` correctly for each of them by following step 6 of the [docker rootless documentation](./docker-rootless.md). Additionally, modify `--publish 8080:8080` to a different port for each container, e.g. `8081:8080` as otherwise it will not work.<br>
1. Then install AIO in reverse proxy mode by using the command that is descriebed in step 2 and 3 of the [reverse proxy documentation](./reverse-proxy.md) but use a different `APACHE_PORT` and [`TALK_PORT`](https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port) for each instance as otherwise it will bug out. Also make sure to adjust the docker socket and `WATCHTOWER_DOCKER_SOCKET_PATH` correctly for each of them by following step 6 of the [docker rootless documentation](./docker-rootless.md). Additionally, modify `--publish 8080:8080` to a different port for each container, e.g. `8081:8080` as otherwise it will not work.<br>
**⚠️ Please note:** If you want to adjust the `NEXTCLOUD_DATADIR`, make sure to apply the correct permissions to the chosen path as documented at the bottom of the [docker rootless documentation](./docker-rootless.md). Also for the built-in backup to work, the target path needs to have the correct permissions as documented there, too.
1. Now install your webserver of choice on the host system. It is recommended to use caddy for this as it is by far the easiest solution. You can do so by following https://caddyserver.com/docs/install#debian-ubuntu-raspbian or below. (It needs to be installed directly on the host or on a different server in the same network).
1. Next create your Caddyfile with multiple entries and domains for the different instances like described in step 1 of the [reverse proxy documentation](./reverse-proxy.md). Obviously each domain needs to point correctly to the chosen `APACHE_PORT` that you've configured before. Then start Caddy which should automatically get the needed certificates for you if your domains are configured correctly and ports 80 and 443 are forwarded to your server.
1. Now open each of the AIO interfaces by opening `https://ip.address.of.this.server:8080` or e.g. `https://ip.address.of.this.server:8081` or as chosen during step 3 of this documentation.
1. Finally type in the domain that you've configured for each of the instances during step 5 of this documentation and you are done.
1. Please also do not forget to open each chosen `TALK_PORT` UPD and TCP in your firewall/router as otherwise Talk will not work correctly!
1. Please also do not forget to open/forward each chosen `TALK_PORT` UPD and TCP in your firewall/router as otherwise Talk will not work correctly!
Now everything should be set up correctly and you should have created multiple working instances of AIO on the same server!

View File

@@ -0,0 +1,13 @@
name: nextcloud-aio-helm-chart
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 6.3.0
apiVersion: v2
keywords:
- latest
- nextcloud
- helm-chart
- open-source
- cloud
sources:
- https://github.com/nextcloud/all-in-one/tree/main/nextcloud-aio-helm-chart
home: https://github.com/nextcloud/all-in-one/tree/main/nextcloud-aio-helm-chart

View File

@@ -0,0 +1,37 @@
# Nextcloud AIO Helm-chart
You can run the containers that are build for AIO with Kubernetes using this Helm chart. This comes with a few downsides, that are discussed below.
### Advantages
- You can run it without a container having access to the docker socket
- You can run the containers with Kubernetes
### Disadvantages
- You lose the AIO interface
- You lose update notifications and automatic updates
- You lose all AIO backup and restore features
- **You need to know what you are doing**
- For updating, you need to strictly follow the at the bottom described update routine
- You need to monitor yourself if the volumes have enough free space and increase them if they don't by adjusting their size in values.yaml
- Probably more
## 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!`
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
```
And after a while, everything should be set up.
## How to update?
Since the values of this helm chart may change in the future, it is highly recommended to strictly follow the following procedure whenever you want to upgrade it.
1. Stop all running pods
1. Back up all volumes that got created by the Helm chart and the values.yaml file
1. Run `helm repo update nextcloud-aio` in order to get the updated yaml files from the repository
1. Now download the updated values.yaml file from https://raw.githubusercontent.com/nextcloud/all-in-one/main/nextcloud-aio-helm-chart/values.yaml and compare that with the one that you currently have locally. Look for variables that changed or got added. You can use the diff command to compare them.
1. After the file update was successful, simply run `helm install my-release nextcloud-aio/nextcloud-aio-helm-chart -f values.yaml` to update to the new version.

View File

@@ -0,0 +1,118 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-apache
name: nextcloud-aio-apache
namespace: {{ values.NAMESPACE }}
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-apache
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-apache
spec:
initContainers:
- name: init-volumes
image: alpine
command:
- chmod
- "777"
- /nextcloud-aio-nextcloud
- /nextcloud-aio-apache
- /nextcloud-aio-apache-tmpfs0
- /nextcloud-aio-apache-tmpfs1
- /nextcloud-aio-apache-tmpfs2
- /nextcloud-aio-apache-tmpfs3
- /nextcloud-aio-apache-tmpfs4
volumeMounts:
- name: nextcloud-aio-apache-tmpfs4
mountPath: /nextcloud-aio-apache-tmpfs4
- name: nextcloud-aio-apache-tmpfs3
mountPath: /nextcloud-aio-apache-tmpfs3
- name: nextcloud-aio-apache-tmpfs2
mountPath: /nextcloud-aio-apache-tmpfs2
- name: nextcloud-aio-apache-tmpfs1
mountPath: /nextcloud-aio-apache-tmpfs1
- name: nextcloud-aio-apache-tmpfs0
mountPath: /nextcloud-aio-apache-tmpfs0
- name: nextcloud-aio-apache
mountPath: /nextcloud-aio-apache
- name: nextcloud-aio-nextcloud
mountPath: /nextcloud-aio-nextcloud
containers:
- env:
- name: APACHE_MAX_SIZE
value: "{{ .Values.APACHE_MAX_SIZE }}"
- name: APACHE_MAX_TIME
value: "{{ .Values.NEXTCLOUD_MAX_TIME }}"
- name: APACHE_PORT
value: "{{ .Values.APACHE_PORT }}"
- name: COLLABORA_HOST
value: nextcloud-aio-collabora
- name: NC_DOMAIN
value: "{{ .Values.NC_DOMAIN }}"
- name: NEXTCLOUD_HOST
value: nextcloud-aio-nextcloud
- name: NOTIFY_PUSH_HOST
value: nextcloud-aio-notify-push
- name: ONLYOFFICE_HOST
value: nextcloud-aio-onlyoffice
- name: TALK_HOST
value: nextcloud-aio-talk
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-apache:20230720_134150-latest
name: nextcloud-aio-apache
ports:
- containerPort: {{ .Values.APACHE_PORT }}
hostPort: {{ .Values.APACHE_PORT }}
protocol: TCP
- containerPort: {{ .Values.APACHE_PORT }}
hostPort: {{ .Values.APACHE_PORT }}
protocol: UDP
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /var/www/html
name: nextcloud-aio-nextcloud
readOnly: true
- mountPath: /mnt/data
name: nextcloud-aio-apache
- mountPath: /var/log/supervisord
name: nextcloud-aio-apache-tmpfs0
- mountPath: /var/run/supervisord
name: nextcloud-aio-apache-tmpfs1
- mountPath: /usr/local/apache2/logs
name: nextcloud-aio-apache-tmpfs2
- mountPath: /tmp
name: nextcloud-aio-apache-tmpfs3
- mountPath: /home/www-data
name: nextcloud-aio-apache-tmpfs4
volumes:
- name: nextcloud-aio-nextcloud
persistentVolumeClaim:
claimName: nextcloud-aio-nextcloud
- name: nextcloud-aio-apache
persistentVolumeClaim:
claimName: nextcloud-aio-apache
- emptyDir: {}
name: nextcloud-aio-apache-tmpfs0
- emptyDir: {}
name: nextcloud-aio-apache-tmpfs1
- emptyDir: {}
name: nextcloud-aio-apache-tmpfs2
- emptyDir: {}
name: nextcloud-aio-apache-tmpfs3
- emptyDir: {}
name: nextcloud-aio-apache-tmpfs4

View File

@@ -4,6 +4,7 @@ metadata:
labels:
io.kompose.service: nextcloud-aio-apache
name: nextcloud-aio-apache
namespace: {{ values.NAMESPACE }}
spec:
{{- if .Values.STORAGE_CLASS }}
storageClassName: {{ .Values.STORAGE_CLASS }}

View File

@@ -2,16 +2,21 @@ apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-apache
name: nextcloud-aio-apache
namespace: {{ values.NAMESPACE }}
spec:
type: LoadBalancer
ports:
- name: "{{ .Values.APACHE_PORT }}"
port: {{ .Values.APACHE_PORT }}
targetPort: {{ .Values.APACHE_PORT }}
- name: {{ .Values.APACHE_PORT }}-udp
port: {{ .Values.APACHE_PORT }}
protocol: UDP
targetPort: {{ .Values.APACHE_PORT }}
selector:
io.kompose.service: nextcloud-aio-apache

View File

@@ -0,0 +1,78 @@
{{- if eq .Values.CLAMAV_ENABLED "yes" }}
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav
namespace: {{ values.NAMESPACE }}
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-clamav
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-clamav
spec:
initContainers:
- name: init-volumes
image: alpine
command:
- chmod
- "777"
- /nextcloud-aio-clamav
- /nextcloud-aio-clamav-tmpfs0
- /nextcloud-aio-clamav-tmpfs1
- /nextcloud-aio-clamav-tmpfs2
volumeMounts:
- name: nextcloud-aio-clamav-tmpfs2
mountPath: /nextcloud-aio-clamav-tmpfs2
- name: nextcloud-aio-clamav-tmpfs1
mountPath: /nextcloud-aio-clamav-tmpfs1
- name: nextcloud-aio-clamav-tmpfs0
mountPath: /nextcloud-aio-clamav-tmpfs0
- name: nextcloud-aio-clamav
mountPath: /nextcloud-aio-clamav
containers:
- env:
- name: CLAMD_STARTUP_TIMEOUT
value: "90"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-clamav:20230720_134150-latest
name: nextcloud-aio-clamav
ports:
- containerPort: 3310
hostPort: 3310
protocol: TCP
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /var/lib/clamav
name: nextcloud-aio-clamav
- mountPath: /var/lock
name: nextcloud-aio-clamav-tmpfs0
- mountPath: /var/log/clamav
name: nextcloud-aio-clamav-tmpfs1
- mountPath: /tmp
name: nextcloud-aio-clamav-tmpfs2
volumes:
- name: nextcloud-aio-clamav
persistentVolumeClaim:
claimName: nextcloud-aio-clamav
- emptyDir: {}
name: nextcloud-aio-clamav-tmpfs0
- emptyDir: {}
name: nextcloud-aio-clamav-tmpfs1
- emptyDir: {}
name: nextcloud-aio-clamav-tmpfs2
{{- end }}

View File

@@ -4,6 +4,7 @@ metadata:
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav
namespace: {{ values.NAMESPACE }}
spec:
{{- if .Values.STORAGE_CLASS }}
storageClassName: {{ .Values.STORAGE_CLASS }}

View File

@@ -3,11 +3,12 @@ apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav
namespace: {{ values.NAMESPACE }}
spec:
ports:
- name: "3310"

View File

@@ -3,11 +3,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-collabora
name: nextcloud-aio-collabora
namespace: {{ values.NAMESPACE }}
spec:
replicas: 1
selector:
@@ -16,24 +17,16 @@ spec:
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-collabora
spec:
initContainers:
- name: init-volumes
image: alpine
command:
- chmod
- "777"
- /nextcloud-aio-collabora-fonts
volumeMounts:
- name: nextcloud-aio-collabora-fonts
mountPath: /nextcloud-aio-collabora-fonts
containers:
- env:
- name: DONT_GEN_SSL_CERT
value: "1"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
- name: aliasgroup1
@@ -44,15 +37,10 @@ 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: nextcloud/aio-collabora:20230315_112022-latest
image: nextcloud/aio-collabora:20230720_134150-latest
name: nextcloud-aio-collabora
ports:
- containerPort: 9980
volumeMounts:
- mountPath: /opt/cool/systemplate/tmpfonts
name: nextcloud-aio-collabora-fonts
volumes:
- name: nextcloud-aio-collabora-fonts
persistentVolumeClaim:
claimName: nextcloud-aio-collabora-fonts
hostPort: 9980
protocol: TCP
{{- end }}

View File

@@ -3,11 +3,12 @@ apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-collabora
name: nextcloud-aio-collabora
namespace: {{ values.NAMESPACE }}
spec:
ports:
- name: "9980"

View File

@@ -2,11 +2,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-database
name: nextcloud-aio-database
namespace: {{ values.NAMESPACE }}
spec:
replicas: 1
selector:
@@ -15,21 +16,41 @@ spec:
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml
kompose.version: 1.28.0 (c4137012e)
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-database
spec:
initContainers:
- name: init-subpath
image: alpine
command:
- mkdir
- "-p"
- /nextcloud-aio-database/data
- /nextcloud-aio-database
- /nextcloud-aio-database-dump
- /nextcloud-aio-database-tmpfs0
volumeMounts:
- name: nextcloud-aio-database-tmpfs0
mountPath: /nextcloud-aio-database-tmpfs0
- name: nextcloud-aio-database-dump
mountPath: /nextcloud-aio-database-dump
- name: nextcloud-aio-database
mountPath: /nextcloud-aio-database
- name: init-volumes
image: alpine
command:
- chown
- 999:999
- "-R"
- /nextcloud-aio-database
- /nextcloud-aio-database-dump
- /nextcloud-aio-database-tmpfs0
volumeMounts:
- name: nextcloud-aio-database-tmpfs0
mountPath: /nextcloud-aio-database-tmpfs0
- name: nextcloud-aio-database-dump
mountPath: /nextcloud-aio-database-dump
- name: nextcloud-aio-database
@@ -46,15 +67,22 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-postgresql:20230315_112022-latest
image: nextcloud/aio-postgresql:20230720_134150-latest
name: nextcloud-aio-database
ports:
- containerPort: 5432
hostPort: 5432
protocol: TCP
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /var/lib/postgresql/data
subPath: data
name: nextcloud-aio-database
- mountPath: /mnt/data
name: nextcloud-aio-database-dump
- mountPath: /var/run/postgresql
name: nextcloud-aio-database-tmpfs0
terminationGracePeriodSeconds: 1800
volumes:
- name: nextcloud-aio-database
@@ -63,3 +91,5 @@ spec:
- name: nextcloud-aio-database-dump
persistentVolumeClaim:
claimName: nextcloud-aio-database-dump
- emptyDir: {}
name: nextcloud-aio-database-tmpfs0

View File

@@ -4,6 +4,7 @@ metadata:
labels:
io.kompose.service: nextcloud-aio-database-dump
name: nextcloud-aio-database-dump
namespace: {{ values.NAMESPACE }}
spec:
{{- if .Values.STORAGE_CLASS }}
storageClassName: {{ .Values.STORAGE_CLASS }}

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