Hello,
I’m using nextcloud with a docker-compose.yaml file and I would like to setup additional anvironment variables like ServerAlias.
Is there a list of all possible ENV variables ?
I would like to know how to configure , with docker-compose, ServerName and ServerAlias (I read that if I put here my local IP address I could be able to access it from my local network).
In the docker-compose I use this for ServerName but no idea how to configure the ServerAlias
VIRTUAL_HOST=xxxx.ddns.net
this is why I asked if there is a why to get all possible environment variables
All of the supported environment variables for the Nextcloud image are listed on the previously noted link.
I read that if I put here my local IP address I could be able to access it from my local network
The VIRTUAL_HOST (and LETSENCRYPT*) variables actually aren’t Nextcloud image variables. They’re part of nginx-proxy so you may find their[1] docs helpful.
hello,
thanks for the reply and I will have a look.I’m struggling to find a way to access my nextcloud using the local IP together with the internet address xxxx.ddns.net that works by default.
Do you have any suggestion ?
don’t do this. for various reasons it’s recommended to use your public domain name all the time. I you want to avoid traffic loop through the internet inform yourself about “split brain dns” splitbraindns and topics tagged local_network in this forum.