fix postgres wrong mount

This commit is contained in:
rnsrk 2025-05-10 13:18:04 +02:00
parent d700a9fc13
commit 15174fabcd
5 changed files with 29 additions and 20 deletions

View file

@ -1,14 +1,21 @@
<?php
$CONFIG = array (
'maintenance_window_start' => 1,
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => [
'host' => 'redis',
'port' => 6379,
],
'default_phone_region' => 'DE',
'hsts' => true,
'hstsMaxAge' => 15552000,
'hstsIncludeSubdomains' => true,
);
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'trusted_proxies' =>
array (
0 => 'traefik',
1 => '172.16.0.0/12',
2 => '192.168.0.0/16',
3 => '10.0.0.0/8',
),
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nasarek.dev',
2 => 'drive.nasarek.dev',
3 => 'nextcloud-reverse-proxy',
4 => 'onlyoffice-documentserver',
),
);

View file

@ -23,7 +23,8 @@ services:
- "traefik.enable=false"
volumes:
- nextcloud-data:/var/www/html
#- ./hooks/post-installation:/docker-entrypoint-hooks.d/post-installation
- ./hooks/post-installation:/docker-entrypoint-hooks.d/post-installation
#- ./custom/custom-config.php:/var/www/html/config/custom-config.php
expose:
- 80
- 9000

View file

@ -17,6 +17,11 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Add custom MIME type for .mjs files
types {
text/javascript mjs;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '