mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Compare commits
7 commits
6b9682936b
...
a037be95c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a037be95c7 | ||
|
|
3bde5259f2 | ||
|
|
748b2cc73b | ||
|
|
fcc4d8b185 | ||
|
|
e78ed860b9 | ||
|
|
716d3b0f17 | ||
|
|
b55260842d |
5 changed files with 12 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# syntax=docker/dockerfile:latest
|
||||
FROM haproxy:3.3.1-alpine
|
||||
FROM haproxy:3.3.2-alpine
|
||||
|
||||
# hadolint ignore=DL3002
|
||||
USER root
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:latest
|
||||
# Probably from this file: https://github.com/nextcloud/whiteboard/blob/main/Dockerfile
|
||||
FROM ghcr.io/nextcloud-releases/whiteboard:v1.5.3
|
||||
FROM ghcr.io/nextcloud-releases/whiteboard:v1.5.4
|
||||
|
||||
USER root
|
||||
RUN set -ex; \
|
||||
|
|
|
|||
|
|
@ -263,11 +263,6 @@ class ConfigurationManager
|
|||
set { $this->set('collabora_seccomp_disabled', $value); }
|
||||
}
|
||||
|
||||
public string $apacheAdditionalNetwork {
|
||||
get => $this->getEnvironmentalVariableOrConfig('APACHE_ADDITIONAL_NETWORK', 'apache_additional_network', '');
|
||||
set { $this->set('apache_additional_network', $value); }
|
||||
}
|
||||
|
||||
public bool $disableBackupSection {
|
||||
get => $this->booleanize($this->getEnvironmentalVariableOrConfig('AIO_DISABLE_BACKUP_SECTION', 'disable_backup_section', ''));
|
||||
set { $this->set('disable_backup_section', $value); }
|
||||
|
|
@ -854,6 +849,14 @@ class ConfigurationManager
|
|||
return false;
|
||||
}
|
||||
|
||||
public function getApacheAdditionalNetwork() : string {
|
||||
$network = getenv('APACHE_ADDITIONAL_NETWORK');
|
||||
if (is_string($network)) {
|
||||
return trim($network);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
public function getNextcloudStartupApps() : string {
|
||||
$apps = getenv('NEXTCLOUD_STARTUP_APPS');
|
||||
if (is_string($apps)) {
|
||||
|
|
|
|||
|
|
@ -843,7 +843,7 @@ readonly class DockerActionManager {
|
|||
$this->ConnectContainerIdToNetwork($container->identifier, $container->internalPorts, alias: $alias);
|
||||
|
||||
if ($container->identifier === 'nextcloud-aio-apache' || $container->identifier === 'nextcloud-aio-domaincheck') {
|
||||
$apacheAdditionalNetwork = $this->configurationManager->apacheAdditionalNetwork;
|
||||
$apacheAdditionalNetwork = $this->configurationManager->getApacheAdditionalNetwork();
|
||||
if ($apacheAdditionalNetwork !== '') {
|
||||
$this->ConnectContainerIdToNetwork($container->identifier, $container->internalPorts, $apacheAdditionalNetwork, false, $alias);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@
|
|||
<input type="text" name="collabora_dictionaries" placeholder="de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru" />
|
||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||
<input type="submit" value="Submit collabora dictionaries" />
|
||||
<input type="submit" value="Submit Nextcloud Office dictionaries" />
|
||||
</form>
|
||||
<p>You need to make sure that the dictionaries that you enter are valid. An example is <strong>de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru</strong>.</p>
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue