Commit graph

216 commits

Author SHA1 Message Date
Simon L.
6f945a2369 json_decode: always throw on error and fix other psalm issues
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-11-05 12:41:41 +01:00
Simon L.
4ba7f1ed64 collabora: load seccomp profile on the fly
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-11-05 12:08:47 +01:00
Alan Savage
29c093afae Make secrets global and init on first use.
This allows all containers to use any secret declared anywhere
in their placeholders but they will not be generated and
written to the configuration until they are used.

Signed-off-by: Alan Savage <3028205+asavageiv@users.noreply.github.com>
2025-09-09 14:59:41 -07:00
Simon L.
2a95bc25f9 aio-interface: allow to force-stop Nextcloud container via API
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-28 14:34:30 +02:00
Simon L.
b4e4e73616 daily-backup: implement a dedicated imagepull before stopping containers which should reduce the downtime
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-28 12:07:01 +02:00
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.
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.
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
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
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.
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.
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.
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
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.
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.
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
Apoorv Parle
e30b4562b2 Remove mastercontainer connection to APACHE_ADDITIONAL_CONTAINER. Follow that up in a separate PR.
Signed-off-by: Apoorv Parle <19315187+apparle@users.noreply.github.com>
2024-11-07 00:26:35 -08:00
Simon L.
a625570c31
address review
Co-authored-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-04 21:09:15 +01:00
Apoorv Parle
75c2407afa
Apply suggestions from code review
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Apoorv Parle <19315187+apparle@users.noreply.github.com>
2024-11-04 02:44:10 -08:00
Apoorv Parle
f644e83935 Add ability to specify additional docker network and update documentation for it.
Signed-off-by: Apoorv Parle <19315187+apparle@users.noreply.github.com>
2024-11-02 14:11:17 -07:00
Simon L.
3ede76af8f DockerActionManager: fix getting the tag from the image
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-10-31 13:14:12 +01:00
Jean-Yves
dc209adb84
Update php/src/Container/WorkingState.php
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-10-07 13:24:21 +02:00
Jean-Yves
a0ec043c49
Add Enum
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-10-07 13:22:37 +02:00
Jean-Yves
496ec9ba17
update constructor
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-10-07 10:12:43 +02:00
Simon L.
546f11a654 add whiteboard container
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-09-16 17:59:15 +02:00
Simon L.
3cdb855df3 set apache_ip_binding to internal for caddy community container and remove legacy code
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 14:26:08 +02:00
Jean-Yves
571edd4bb4
Implement internal mode
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-06-29 19:23:26 +02:00
Simon L.
2a29d3f8b8 aio-interface: show timestamps next to log entries
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-12 12:26:33 +02:00
Simon L
813cfc2bf8
Merge pull request #4724 from nextcloud/enh/noid/localhost
use `127.0.0.1` instead of `localhost`
2024-06-06 10:27:07 +02:00
Simon L.
9387c1cddb revert "set NEXTCLOUD_MOUNT to rshared #2601"
as it causes too many problems.

Signed-off-by: Simon L <szaimen@e.mail.de>
2024-06-03 10:58:58 +02:00
Simon L.
414716e279 use 127.0.0.1 instead of localhost
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-05-28 17:24:28 +02:00
Simon L.
3c91fa84e3 fix all places
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-05-14 11:30:55 +02:00
Jean-Yves
6530c5afc3
Add lldap comunity container (#4398)
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-04-04 10:26:42 +02:00