Add Hub update script and document hardening changes

Co-Authored-By: Oz <oz-agent@warp.dev>
This commit is contained in:
Raghav
2026-04-17 10:17:55 +05:30
parent a51dcf6115
commit 69b7f7a849
4 changed files with 197 additions and 1 deletions

View File

@ -26,6 +26,14 @@ services:
image: nextcloud:29-apache
container_name: nextcloud-app
restart: unless-stopped
command:
- /bin/sh
- -c
- |
mkdir -p /var/cache/fontconfig
chown -R www-data:www-data /var/cache/fontconfig
printf "ServerName nxt.bhatfamily.in\n" > /etc/apache2/conf-enabled/servername.conf
exec apache2-foreground
env_file:
- .env
environment:
@ -38,6 +46,7 @@ services:
- NEXTCLOUD_TRUSTED_DOMAINS=nxt.bhatfamily.in
- NEXTCLOUD_OVERWRITEHOST=nxt.bhatfamily.in:8446
- NEXTCLOUD_OVERWRITEPROTOCOL=https
- XDG_CACHE_HOME=/tmp/.cache
depends_on:
- db
volumes: