docker-freepbx icon indicating copy to clipboard operation
docker-freepbx copied to clipboard

Meaning of VIRTUAL_HOST, VIRTUAL_NETWORK, VIRTUAL_PORT, LETSENCRYPT_HOST and LETSENCRYPT_EMAIL ?

Open janvda opened this issue 5 years ago • 1 comments

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.

janvda avatar Mar 18 '21 09:03 janvda

Look here: https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion

robonuka avatar Feb 15 '22 04:02 robonuka