Merge pull request #3242 from nextcloud/enh/noid/improve-dsp

This commit is contained in:
Simon L 2023-08-24 16:26:19 +02:00 committed by GitHub
commit df92e707e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -26,7 +26,7 @@ ENV ALLOW_RESTARTS=1 \
NODES=0 \
PING=1 \
PLUGINS=0 \
POST=0 \
POST=1 \
SECRETS=0 \
SERVICES=0 \
SESSION=0 \
@ -39,3 +39,5 @@ ENV ALLOW_RESTARTS=1 \
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
USER haproxy:root
HEALTHCHECK CMD nc -z 127.0.0.1 2375 || exit 1

View file

@ -7,7 +7,7 @@ global
maxconn 4000
# Turn on stats unix socket
server-state-file /var/lib/haproxy/server-state
# server-state-file /var/lib/haproxy/server-state
defaults
mode http

View file

@ -831,7 +831,9 @@ class DockerActionManager
public function ConnectContainerToNetwork(Container $container) : void
{
$this->ConnectContainerIdToNetwork($container->GetIdentifier(), $container->GetInternalPort());
if ($container->GetIdentifier() !== 'nextcloud-aio-docker-socket-proxy') {
$this->ConnectContainerIdToNetwork($container->GetIdentifier(), $container->GetInternalPort());
}
if ($container->GetIdentifier() === 'nextcloud-aio-nextcloud' || $container->GetIdentifier() === 'nextcloud-aio-docker-socket-proxy') {
$this->ConnectContainerIdToNetwork($container->GetIdentifier(), $container->GetInternalPort(), 'nextcloud-aio-docker-socket-proxy-network');
}