config after DDoS

This commit is contained in:
2024-06-05 20:21:19 +00:00
parent ab6b18cfb9
commit ced4c776e9
5 changed files with 18 additions and 19 deletions

View File

@@ -0,0 +1 @@
*/5 * * * * docker exec --user www-data nextcloud-app-1 php -f /var/www/html/cron.php

View File

@@ -1,4 +1,3 @@
version: "3.9"
services:
app:
image: "nextcloud"
@@ -15,19 +14,5 @@ services:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU
- PHP_UPLOAD_LIMIT=16G
cron:
image: "nextcloud"
entrypoint: /cron.sh
restart: always
user: www-data
volumes:
- /mnt/Teka1/nextcloud:/var/www/html
- /mnt/Teka1/Videos:/mnt/Teka1/Videos
- /mnt/Teka2/Videos:/mnt/Teka2/Videos
- /mnt/Teka3/Videos:/mnt/Teka3/Videos
environment:
- POSTGRES_HOST=192.168.0.101
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU