Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

42 строки
2.3KB

  1. #!/usr/bin/env bash
  2. # Used as a default to seed config/.env which
  3. # enables you to use environment variables to configure
  4. # the aspects of your application that vary by
  5. # environment.
  6. #
  7. # Having this file in production is considered a **SECURITY RISK** and also decreases
  8. # the bootstrap performance of your application.
  9. #
  10. # To use this file, first copy it into `config/.env`. Also ensure the related
  11. # code block for loading this file is uncommented in `config/bootstrap.php`
  12. #
  13. # In development .env files are parsed by PHP
  14. # and set into the environment. This provides a simpler
  15. # development workflow over standard environment variables.
  16. export APP_NAME="__APP_NAME__"
  17. export DEBUG="true"
  18. export APP_ENCODING="UTF-8"
  19. export APP_DEFAULT_LOCALE="en_US"
  20. export APP_DEFAULT_TIMEZONE="UTC"
  21. # SECURITY: Set this to your domain to prevent Host Header Injection attacks
  22. # This is REQUIRED in production for password resets and other security features
  23. export APP_FULL_BASE_URL="https://example.com"
  24. export SECURITY_SALT="__SALT__"
  25. # Uncomment these to define cache configuration via environment variables.
  26. #export CACHE_DURATION="+2 minutes"
  27. #export CACHE_DEFAULT_URL="file:///path/to/tmp/cache/?prefix=${APP_NAME}_default_&duration=${CACHE_DURATION}"
  28. #export CACHE_CAKECORE_URL="file:///path/to/tmp/cache/persistent?prefix=${APP_NAME}_cake_translations_&serialize=true&duration=${CACHE_DURATION}"
  29. #export CACHE_CAKEMODEL_URL="file:///path/to/tmp/cache/models?prefix=${APP_NAME}_cake_model_&serialize=true&duration=${CACHE_DURATION}"
  30. # Uncomment these to define email transport configuration via environment variables.
  31. #export EMAIL_TRANSPORT_DEFAULT_URL=""
  32. # Uncomment these to define database configuration via environment variables.
  33. #export DATABASE_URL="mysql://my_app:secret@localhost/${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true&quoteIdentifiers=false&persistent=false"
  34. #export DATABASE_TEST_URL="mysql://my_app:secret@localhost/test_${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true&quoteIdentifiers=false&persistent=false"
  35. # Uncomment these to define logging configuration via environment variables.
  36. #export LOG_DEBUG_URL="file:///path/to/logs/?levels[]=notice&levels[]=info&levels[]=debug&file=debug"
  37. #export LOG_ERROR_URL="file:///path/to/logs/?levels[]=warning&levels[]=error&levels[]=critical&levels[]=alert&levels[]=emergency&file=error"

Powered by TurnKey Linux.