This commit is contained in:
2025-07-20 13:15:46 +00:00
parent 63b2e5900a
commit 1cd2810480
13 changed files with 176 additions and 34 deletions

View File

@@ -1,5 +1,11 @@
/mnt/Teka1/nextcloud:/var/www/html
restore www-data dir
chown -R www-data:www-data /data/services/nextcloud
find ./nextcloud -type f -exec chmod 640 '{}' \;
find ./nextcloud -type d -exec chmod 750 '{}' \;
/mnt/Teka1/:/mnt/Teka1/
/mnt/Teka2/:/mnt/Teka2/
/mnt/Teka3/:/mnt/Teka3/
===
login redirect 303:
chmod a+rwx /tmp inside docker as root
====
docker exec -it --user www-data nextcloud-app-1 php occ list

View File

@@ -27,7 +27,7 @@ $CONFIG = array (
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '25.0.4.1',
'overwritehost' => 'skazochnik.spb.ru',
'overwritehost' => 'cloud.maksim-pankov.ru',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => '192.168.0.101',
@@ -42,5 +42,5 @@ $CONFIG = array (
),
'maintenance' => false,
'overwrite.cli.url' => 'https://gipat:5002',
'loglevel' => 2,
);
'loglevel' => 0,
);

View File

@@ -3,10 +3,8 @@ services:
image: "nextcloud"
restart: always
volumes:
- /mnt/Teka1/nextcloud:/var/www/html
- /mnt/Teka1/:/mnt/Teka1/
- /mnt/Teka2/:/mnt/Teka2/
- /mnt/Teka3/:/mnt/Teka3/
- /data/services/nextcloud:/var/www/html
# - /data/p2p/:/mnt/p2p/
ports:
- 5002:80
environment: