mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-22 15:18:05 +02:00
Compare commits
1 commit
1e1483387b
...
1cb51d7877
Author | SHA1 | Date | |
---|---|---|---|
|
1cb51d7877 |
11 changed files with 0 additions and 41 deletions
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,4 @@ if (getenv('REDIS_HOST')) {
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv('REDIS_HOST_USER') !== false) {
|
|
||||||
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -236,7 +236,6 @@ To use Redis for memory caching as well as PHP session storage, specify the foll
|
||||||
|
|
||||||
- `REDIS_HOST` (not set by default) Name of Redis container
|
- `REDIS_HOST` (not set by default) Name of Redis container
|
||||||
- `REDIS_HOST_PORT` (default: `6379`) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
|
- `REDIS_HOST_PORT` (default: `6379`) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
|
||||||
- `REDIS_HOST_USER` (not set by default) Optional username for Redis, only use for external Redis servers that require a user.
|
|
||||||
- `REDIS_HOST_PASSWORD` (not set by default) Redis password
|
- `REDIS_HOST_PASSWORD` (not set by default) Redis password
|
||||||
|
|
||||||
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html) for more information.
|
Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html) for more information.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue