Multiple changes: * Add shell script to run nextcloud shell * Use local folder for Nextcloud Config * Add missing proxy image * Use Ip for Nextcloud Trusted Proxies (FQDN incompatibility with new update) * Use custom resolvers on proxy container (Fixes dns errors)
This commit is contained in:
parent
4b738fe19b
commit
4a27b6d89d
5 changed files with 19 additions and 13 deletions
|
|
@ -1,5 +1,3 @@
|
|||
version: '3.7'
|
||||
|
||||
volumes:
|
||||
#SSL
|
||||
certs:
|
||||
|
|
@ -19,8 +17,9 @@ services:
|
|||
restart: always
|
||||
volumes:
|
||||
- nc-data:/var/www/html
|
||||
- ./config/nc:/var/www/html/config:rw
|
||||
environment:
|
||||
- TRUSTED_PROXIES=palta.cyou
|
||||
- TRUSTED_PROXIES=172.16.0.0/12 192.168.0.0/16 10.0.0.0/8 fc00::/7 fe80::/10 2001:db8::/32
|
||||
- TRUSTED_DOMAINS=palta.cyou,bard.palta.cyou
|
||||
- OVERWRITEPROTOCOL=https
|
||||
|
||||
|
|
@ -79,6 +78,11 @@ services:
|
|||
- 443:443
|
||||
networks:
|
||||
- proxy-tier
|
||||
environment:
|
||||
- ENABLE_IPV6=true
|
||||
- SHA1_UPSTREAM_NAME=true
|
||||
- TRUST_DOWNSTREAM_PROXY=false
|
||||
- RESOLVERS=8.8.8.8 8.8.4.4 [2001:4860:4860::8888] [2001:4860:4860::8844] valid=300s ipv6=on
|
||||
|
||||
letsencrypt-companion:
|
||||
image: docker.io/nginxproxy/acme-companion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue