Add Hub update script and document hardening changes
Co-Authored-By: Oz <oz-agent@warp.dev>
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user