Automated docker nginx proxy integrated with letsencrypt. Based on https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.env.sample 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #
  2. # docker-compose-letsencrypt-nginx-proxy-companion
  3. #
  4. # A Web Proxy using docker with NGINX and Let's Encrypt
  5. # Using the great community docker-gen, nginx-proxy and docker-letsencrypt-nginx-proxy-companion
  6. #
  7. # This is the .env file to set up your webproxy enviornment
  8. #
  9. # Your local containers NAME
  10. #
  11. NGINX_WEB=nginx-web
  12. DOCKER_GEN=nginx-gen
  13. LETS_ENCRYPT=nginx-letsencrypt
  14. #
  15. # Set the IP address of the external access Interface
  16. #
  17. IP=0.0.0.0
  18. #
  19. # Default Network
  20. #
  21. NETWORK=webproxy
  22. # If you want to customize the created network, use the following variable
  23. #NETWORK_OPTIONS="--opt encrypted=true"
  24. #
  25. # Service Network (Optional)
  26. #
  27. # In case you decide to add a new network to your services containers you can set this
  28. # network as a SERVICE_NETWORK
  29. #
  30. # [WARNING] This setting was built to use our `start.sh` script or in that special case
  31. # you could use the docker-composer with our multiple network option, as of:
  32. # `docker-compose -f docker-compose-multiple-networks.yml up -d`
  33. #
  34. #SERVICE_NETWORK=webservices
  35. # If you want to customize the created network, use the following variable
  36. #SERVICE_NETWORK_OPTIONS="--opt encrypted=true"
  37. #
  38. ## NGINX file path (mount into the host)
  39. # Here you can configure the path where nginx stores all the configurations and certificates.
  40. # With the value ./nginx-data it creates a new sub-folder into your current path.
  41. NGINX_FILES_PATH=./nginx-data
  42. #
  43. # NGINX use special conf files
  44. #
  45. # In case you want to add some special configuration to your NGINX Web Proxy you could
  46. # add your files to ./conf.d/ folder as of sample file 'uploadsize.conf'
  47. #
  48. # [WARNING] This setting was built to use our `start.sh`.
  49. #
  50. # [WARNING] Once you set this options to true all your files will be copied to data
  51. # folder (./data/conf.d). If you decide to remove this special configuration
  52. # you must delete your files from data folder ./data/conf.d.
  53. #
  54. #USE_NGINX_CONF_FILES=true
  55. #
  56. # Docker Logging Config
  57. #
  58. # This section offers two options max-size and max-file, which follow the docker documentation
  59. # as follow:
  60. #
  61. # logging:
  62. # driver: "json-file"
  63. # options:
  64. # max-size: "200k"
  65. # max-file: "10"
  66. #
  67. #NGINX_WEB_LOG_DRIVER=json-file
  68. #NGINX_WEB_LOG_MAX_SIZE=4m
  69. #NGINX_WEB_LOG_MAX_FILE=10
  70. #NGINX_GEN_LOG_DRIVER=json-file
  71. #NGINX_GEN_LOG_MAX_SIZE=2m
  72. #NGINX_GEN_LOG_MAX_FILE=10
  73. #NGINX_LETSENCRYPT_LOG_DRIVER=json-file
  74. #NGINX_LETSENCRYPT_LOG_MAX_SIZE=2m
  75. #NGINX_LETSENCRYPT_LOG_MAX_FILE=10
  76. #
  77. # Set the local exposed ports for http and https on the Host
  78. #
  79. # NOTE: The default values are 80 and 443, only change this options if you really know what you are doing
  80. #
  81. #DOCKER_HTTP=80
  82. #DOCKER_HTTPS=443