adding config items for nextcloud
This commit is contained in:
@@ -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
6
dovecot/auth.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# this file goes in conf.d/
|
||||
auth_mechanisms = plain
|
||||
#disable_plaintext_auth = no
|
||||
passdb static {
|
||||
password = %{env:USER_PASSWORD}
|
||||
}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user