Commit graph

66 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.
897e3e7e6e move containers-definition-path to Dataconst
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-11-05 12:08:57 +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.
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.
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
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
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
f3411f0823 overwrite APACHE_PORT, TALK_PORT and APACHE_IP_BINDING only during dockeractionmanager
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-04 14:05:05 +02:00
Simon L
c1c96ee08a allow to add documentation on containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-03 20:33:44 +02:00
Simon L
395380ea2b allow to set aio_variables from containers.json
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-02 15:01:51 +02:00
Simon L
5158081cfc only add container to apache container list if display_name is set
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-01 12:25:11 +02:00
Simon L
36baadc559 fix detail in $path for additional containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-27 23:02:29 +02:00
Simon L
3104d6e2cc fix detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-27 20:52:21 +02:00
Simon L
ac890f046b merge containers.json and make sure they depend on the apache container
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-27 20:32:48 +02:00
Simon L
6e17dec951 require image_tag and add %AIO_CHANNEL% variable
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-27 13:57:00 +02:00
Simon L
dbdefe273f remove justinrainbow/json-schema again
Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: szaimen <szaimen@users.noreply.github.com>
2023-09-26 16:00:18 +02:00
Simon L
6685791427 add docker-socket-proxy as option
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-24 15:22:49 +02:00
Simon L
c69a5d2065 add image_tag to containers definition
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-17 16:51:04 +02:00
Simon L
4c0e30d49d add init flag to all containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-10 16:41:47 +02: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
a1727d3f4f allow to add tmpfs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 13:04:39 +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
70f27ae304 allow to disable/enable talk-recording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-05 18:52:05 +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
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
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
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
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
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
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
d0f11028d3 increase shm_size for postgresql
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-29 10:57:44 +02:00
Simon L
6587530242 fix set_memory for imaginary and move cap_add to containers.json
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-06 11:45:07 +01:00
Simon L
92b271c3e5 allow to add the /dev/dri device into the container and refactor devices
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-03 02:13:34 +01:00
Simon L
de1eaf7707 add isset for non-required properties
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-02 22:14:36 +01:00
Simon L
f98528eac5 rename services to aio_services_v1
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-02 22:11:20 +01:00
Simon L
cb980f9e84 fix exposing containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-02 17:53:52 +01:00
Simon L
5dc9fad2d6 refactor containerports
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-30 23:10:44 +01:00
Simon L
6dd9412fb6 rename volume name to source and volume location to destination
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-30 22:56:37 +01:00
Simon L
1f2e23c447 Revert "substitute volume variables in dockeractionmanager"
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-29 11:30:14 +01:00
Simon L
b5e40dbb94 substitute volume variables in dockeractionmanager
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-26 02:14:06 +01:00
Simon L
54f61eba68 internal_ports should be a string and not an array
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:46:42 +01:00
Simon L
53065b5631 rename internalPorts to internal_ports
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:08:44 +01:00
Simon L
7a9a452f45 rename production to services
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:08:44 +01:00
Simon L
3c57b2db56 rename displayName to display_name
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:08:43 +01:00
Simon L
1e78d729c4 rename restartPolicy to restart
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:08:43 +01:00
Simon L
5c444472c7 rename maxShutdownTime to stop_grace_period
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:08:43 +01:00
Simon L
b13cb77ce2 rename environmentVariables to environment
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-25 01:08:43 +01:00