chown -R www-data:www-data /path/to/nextcloud
find /path/to/nextcloud/ -type d -exec chmod 750 {} \;
find /path/to/nextcloud/ -type f -exec chmod 640 {} \;
---
version: "3.8"
services:
3x-vasa:
image: ghcr.io/mhsanaei/3x-ui:latest
# container_name: 3x-ui
# hostname: yourhostname
volumes:
- $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/
- "./logs/:/var/log/"
- fail2ban:/etc/fail2ban/
ports:
- "443:443"
- "30800:30800"
- "39999:2053"
- "39998:39998"
environment:
XRAY_VMESS_AEAD_FORCED: "false"
tty: true
cap_add:
- NET_ADMIN
restart: unless-stopped
volumes:
fail2ban: {}