docker-freepbx
docker-freepbx copied to clipboard
Meaning of VIRTUAL_HOST, VIRTUAL_NETWORK, VIRTUAL_PORT, LETSENCRYPT_HOST and LETSENCRYPT_EMAIL ?
I am actually wondering what is the meaning of the environment variables VIRTUAL_HOST, VIRTUAL_NETWORK, VIRTUAL_PORT, LETSENCRYPT_HOSTand LETSENCRYPT_EMAIL that are defined in the example docker-compose.yml
environment:
- VIRTUAL_HOST=hostname.example.com
- VIRTUAL_NETWORK=nginx-proxy
### If you want to connect to the SSL Enabled Container
#- VIRTUAL_PORT=443
#- VIRTUAL_PROTO=https
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=hostname.example.com
- [email protected]
I especially would like to understand how I should define them in my docker-compose.yml file.
I don't thing that these environment variables are somewhere documented.
Look here: https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion