Automated docker LEMP stack integrated with letsencrypt. Uses https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion as basis.
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 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # .env file to set up your LEMP stack with letsencrypt
  2. #
  3. # Network name
  4. #
  5. # Your container app must use a network conencted to your webproxy
  6. # https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
  7. #
  8. NETWORK=webproxy
  9. #
  10. # Database Container configuration
  11. # We recommend MySQL or MariaDB - please update docker-compose file if needed.
  12. #
  13. CONTAINER_DB_NAME=db
  14. # Path to store your database
  15. #DB_PATH=/path/to/your/local/database/folder
  16. DB_PATH=./data/db
  17. # Root password for your database
  18. MYSQL_ROOT_PASSWORD=root_password
  19. # Database name, user and password for your wordpress
  20. MYSQL_DATABASE=database_name
  21. MYSQL_USER=user_name
  22. MYSQL_PASSWORD=user_password
  23. #
  24. # PHP Settings
  25. #
  26. CONTAINER_PHP_NAME=php
  27. #
  28. # Webroot configuration
  29. #
  30. #WEBROOT_PATH=/path/to/your/webroot
  31. WEBROOT_PATH=./data/site
  32. #
  33. # NGINX Settings
  34. #
  35. CONTAINER_NGINX_NAME=nginx
  36. #
  37. # Host
  38. #
  39. # Your domain (or domains)
  40. VIRTUAL_HOST=domain1.com,www.domain1.com
  41. LETSENCRYPT_HOST=domain1.com,www.domain1.com
  42. # Your email for Let's Encrypt register
  43. LETSENCRYPT_EMAIL=your_email@domain.com