adding config items for nextcloud

This commit is contained in:
2025-12-27 06:13:58 +00:00
parent eed3c50173
commit 0d3a0f9434
3 changed files with 17 additions and 1 deletions

View File

@@ -127,4 +127,8 @@ sudo chmod -R 770 /haven_data/certs
echo "rsyncing to external proxy"
sudo rsync -arv --rsync-path='sudo rsync' /haven_data/certs/ root@192.168.20.203:/etc/nginx/conf.d/hvn.nz/certs/
sudo ssh root@192.168.20.203 systemctl restart nginx.service
sudo ssh root@192.168.20.203 systemctl restart nginx.service
echo "Creating dovecot mail user"
sudo docker exec -i -u root:root dovecot useradd havenuser -m -p Swissbank01
sudo docker exec -i dovecot doveadm mailbox create -s dovecot -u havenuser

6
dovecot/auth.conf Normal file
View File

@@ -0,0 +1,6 @@
# this file goes in conf.d/
auth_mechanisms = plain
#disable_plaintext_auth = no
passdb static {
password = %{env:USER_PASSWORD}
}

View File

@@ -44,6 +44,12 @@ services:
- MYSQL_HOST=nextcloud_db:3306
- NEXTCLOUD_ADMIN_USER=havenuser
- NEXTCLOUD_ADMIN_PASSWORD=Swissbank01
- NEXTCLOUD_TRUSTED_DOMAINS=172.16.0.0/12
- TRUSTED_PROXIES=172.16.0.0/12
- REDIS_HOST=nextcloud_redis
- REDIS_HOST_PORT=6379
#- APACHE_BODY_LIMIT=1073741824
#https://github.com/nextcloud/docker?tab=readme-ov-file#viewing-the-nextcloud-configuration-configphp
networks:
- haven_internal
networks: