Commit graph

382 commits

Author SHA1 Message Date
Alan Savage
f7d158c632 Use modern callable syntax for $placeholderValues array_map
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:14 +02:00
Alan Savage
f81d22cf93 Inline placeholderToPattern and use preg_quote
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:14 +02:00
Alan Savage
0b929d74de Use guard clause in replaceEnvPlaceholders to reduce indentation
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:13 +02:00
Alan Savage
0f858dc3fe Fix psalm errors in DockerActionManager env handling code
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:13 +02:00
Alan Savage
d374fd2c1c Refactor getPlaceholderValue to use match
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:13 +02:00
Alan Savage
026707240f Support multiple placeholders in ENV values in containers.json
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:13 +02:00
Alan Savage
f5023ed88d Factor out getPlaceholderValue from CreateContainer
Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-07-17 14:14:13 +02:00
Simon L.
aeb133e86c CreateContainer: Also add diun.enable: false to all managed containers
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-08 15:53:30 +02:00
Simon L.
362cad79db add comment with link
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-03 11:48:22 +02:00
Simon L.
983e523bde make the check for backup dir and datadir fail proof
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-03 11:44:50 +02:00
Simon L.
3e9ce2be05 instance-restore: make sure that the configured borg restore location is not a children of or equal to NEXTCLOUD_DATADIR
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-03 10:00:59 +02:00
Simon L.
9967aea70c CreateContainers: add "com.centurylinklabs.watchtower.enable": "false" to all managed containers
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-01 17:58:27 +02:00
Simon L.
d20812b0e8 add comment
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-01 17:43:36 +02:00
Simon L.
fcc74e2105 DockerActionManager: always add a Hostname to each container
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-01 15:01:10 +02:00
Simon L.
0d4081ab13 DockerController: also fix warning in the web interface
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-06-11 15:13:02 +02:00
gggeek
1c5cc164c0 DockerController: avoid php warning when id not in query string in GetLogs Route
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-06-11 09:47:01 +02:00
Simon L.
8a6772bc05 fix showing community containers in the AIO interface and enabling or disabling them
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-05-30 13:51:36 +02:00
Simon L.
635381a4c8 fix another detail in scandir
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-05-30 10:47:55 +02:00
Simon L.
21b9c19c5d scandir: get rid of dots
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-05-30 10:27:12 +02:00
Simon L.
673b1db07e
aio-interface: allow to manage the community containers via the AIO interface (#6443)
Signed-off-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2025-05-30 09:32:51 +02:00
Simon L.
0c76d14fcb DockerActionManager: fix Nextcloud is oudated notification
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-15 14:56:16 +02:00
Simon L.
f7183b8d32 aio-interface: rename isDockerHubReachable to isRegistryReachable
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-03-25 12:13:31 +01:00
Simon L.
5d090018f9 move images to ghcr.io
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-03-25 10:36:25 +01:00
Richard Steinmetz
f90631125e
test: prepare for e2e tests
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-03-19 14:46:41 +01:00
Jean-Yves
e97d4b0a3e
Add support for ghcr.io (#6134)
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Co-authored-by: Simon L. <szaimen@e.mail.de>
2025-03-13 12:55:18 +01:00
Zoey
9e95d96656
Merge pull request #6094 from nextcloud/clamav-alpine-aarch64
clamav: build the container also for aarch64/arm64 by using the alpine package
2025-03-06 16:00:53 +01:00
Simon L.
de053c9b7d DockerActionManager: fix setting CMD options for collabora
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-02-28 15:14:22 +01:00
Simon L.
68ffa35d6f Enable whiteboard by default
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-02-28 14:49:35 +01:00
Simon L.
4e84080f56 collabora: allow to configure additional options
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-02-26 14:30:55 +01:00
Simon L.
b60db87321 aio-interface: show checkbox for hub 10
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-02-17 11:50:52 +01:00
Simon L.
cca7eef06b FTS: allow to adjust the ES_JAVA_OPTS
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-02-17 11:19:10 +01:00
Simon L.
1eebe6fd60
Merge pull request #5945 from nextcloud/enh/5938/show-secret-in-interface
containers-schema: allow to specify ui-secret and show in aio interface
2025-01-28 10:36:50 +01:00
Simon L.
4cd8ac0ab7 aio-interface: add note that talk-recording only works on x86
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-27 13:51:51 +01:00
Simon L.
04ef45667f containers-schema: allow to specify ui-secret and show in aio interface
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-23 16:41:43 +01:00
Simon L.
1e55e776b4
Merge pull request #5889 from nextcloud/enh/noid/add-backup-viewer
add borgbackup-viewer community container
2025-01-22 12:18:58 +01:00
Simon L.
7468386397 add borgbackup-viewer community container
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-22 12:17:55 +01:00
Simon L.
c578a6e3f3 DockerActionManager: improve the logging
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-21 12:30:01 +01:00
Simon L.
41a867e7f2 domain-validation: improve the notice about the private ip-address
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-10 23:09:12 +01:00
Simon L.
febfd57448 rename ENABLE_NVIDIA_GPU to NEXTCLOUD_ENABLE_NVIDIA_GPU
to be more consistent with other options

Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-06 11:03:41 +01:00
Simon L.
f3e47e62f3 Container.php: adjust casing of enable_nvidia_gpu to enableNvidiaGpu
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-12-20 18:51:43 +01:00
Simon L.
bc4ebfaac0 fix check if array key is set
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-12-20 11:49:54 +01:00
Simon L.
05bad1b80a
Merge pull request #5775 from nextcloud/enh/5768/disable-fts-seccomp
disable fts if seccomp is not supported in the kernel
2024-12-20 11:14:45 +01:00
MondoGao
53edc5d4a9
add support for nvidia gpu access (#5132)
Signed-off-by: Mondo <mondo.jiang@wisc.edu>
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Co-authored-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Co-authored-by: Simon L. <szaimen@e.mail.de>
2024-12-20 11:12:59 +01:00
Simon L.
2915345b7d aio-interface: disable fts if seccomp is not supported in the kernel
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-12-19 14:02:25 +01:00
Simon L.
7f229b2414 DockerActionManager: improve PullImage to always log something if it fails
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-28 11:19:40 +01:00
Simon L.
744e087192 change default upload limit to 16G as recommended in the docs
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-20 12:38:20 +01:00
Simon L.
47e0ac7b4d allow to exclude previews from restore upon instance restore
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-12 12:16:19 +01:00
Tim Diels
3eeda1ea91
Add remote borg backup support (#4804)
Signed-off-by: Tim Diels <tim@diels.me>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Co-authored-by: Simon L. <szaimen@e.mail.de>
2024-11-07 22:19:56 +01:00
Simon L.
cd3a33a800
Merge pull request #5484 from apparle/apache_additional_network
Specifying additional docker network for Apache container
2024-11-07 09:37:56 +01:00
Simon L.
4a8e0c8415 fix indentation
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-07 09:34:37 +01:00