Compare commits

...

9 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
7824060a6c set NEXTCLOUD_MOUNT to rshared
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 15:40:31 +02:00
4 changed files with 29 additions and 11 deletions

View File

@@ -46,4 +46,3 @@ jobs:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_RELEASE_NAME_TEMPLATE: "helm-chart-{{ .Version }}"
CR_SKIP_EXISTING: true
CR_GENERATE_RELEASE_NOTES: true

View File

@@ -1,4 +1,4 @@
FROM nats:2.9.19-scratch as nats
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
@@ -21,11 +21,12 @@ RUN set -ex; \
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; \
/src/configure --disable-rabbitmq --disable-mqtt --disable-boringssl; \
make; \
make install; \
make configs; \
@@ -52,6 +53,7 @@ RUN set -ex; \
libnice \
libconfig \
libsrtp \
libusrsctp \
libwebsockets \
\
shadow; \

View File

@@ -211,9 +211,16 @@ class DockerActionManager
public function CreateContainer(Container $container) : void {
$volumes = [];
foreach($container->GetVolumes()->GetVolumes() as $volume) {
foreach ($container->GetVolumes()->GetVolumes() as $volume) {
// NEXTCLOUD_MOUNT gets added via bind-mount later on
if ($container->GetIdentifier() === 'nextcloud-aio-nextcloud') {
if ($volume->name === $this->configurationManager->GetNextcloudMount()) {
continue;
}
}
$volumeEntry = $volume->name . ':' . $volume->mountPoint;
if($volume->isWritable) {
if ($volume->isWritable) {
$volumeEntry = $volumeEntry . ':' . 'rw';
} else {
$volumeEntry = $volumeEntry . ':' . 'ro';
@@ -226,7 +233,7 @@ class DockerActionManager
'Image' => $this->BuildImageName($container),
];
if(count($volumes) > 0) {
if (count($volumes) > 0) {
$requestBody['HostConfig']['Binds'] = $volumes;
}
@@ -447,10 +454,11 @@ class DockerActionManager
$requestBody['HostConfig']['SecurityOpt'] = ["apparmor:unconfined"];
}
$mounts = [];
// Special things for the backup container which should not be exposed in the containers.json
if ($container->GetIdentifier() === 'nextcloud-aio-borgbackup') {
// Additional backup directories
$mounts = [];
foreach ($this->getAllBackupVolumes() as $additionalBackupVolumes) {
if ($additionalBackupVolumes !== '') {
$mounts[] = ["Type" => "volume", "Source" => $additionalBackupVolumes, "Target" => "/nextcloud_aio_volumes/" . $additionalBackupVolumes, "ReadOnly" => false];
@@ -465,13 +473,22 @@ class DockerActionManager
}
}
}
if(count($mounts) > 0) {
$requestBody['HostConfig']['Mounts'] = $mounts;
}
// Special things for the talk container which should not be exposed in the containers.json
} elseif ($container->GetIdentifier() === 'nextcloud-aio-talk') {
// This is needed due to a bug in libwebsockets which cannot handle unlimited ulimits
$requestBody['HostConfig']['Ulimits'] = [["Name" => "nofile", "Hard" => 200000, "Soft" => 200000]];
// Special things for the nextcloud container which should not be exposed in the containers.json
} elseif ($container->GetIdentifier() === 'nextcloud-aio-nextcloud') {
foreach ($container->GetVolumes()->GetVolumes() as $volume) {
if ($volume->name !== $this->configurationManager->GetNextcloudMount()) {
continue;
}
$mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "BindOptions" => [ "Propagation" => "rshared"]];
}
}
if (count($mounts) > 0) {
$requestBody['HostConfig']['Mounts'] = $mounts;
}
$url = $this->BuildApiUrl('containers/create?name=' . $container->GetIdentifier());

View File

@@ -16,7 +16,7 @@
</header>
<div class="content">
<h1>Nextcloud AIO v6.3.0</h1>
<h1>Nextcloud AIO v6.4.0</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>