Guest User

.env

a guest
Feb 26th, 2024
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. ########################################################################################################
  2. # WEB
  3. #
  4. # APP_DEBUG=1 displays detailed error message
  5. #
  6. # APP_SECRET is a random string used for security, you can use for example openssl rand -base64 21
  7. # APP_SECRET is automatically generated when using Docker
  8. #
  9. # PHP_TZ, see possible values here https://www.w3schools.com/php/php_ref_timezones.asp
  10. ########################################################################################################
  11.  
  12. APP_DEBUG=0
  13. APP_ENV=prod
  14. #APP_SECRET=
  15.  
  16. HTTPS_ENABLED=1
  17. UPLOAD_MAX_FILESIZE=20M
  18. PHP_MEMORY_LIMIT=512M
  19. PHP_TZ=Europe/Paris
  20.  
  21.  
  22. ########################################################################################################
  23. # API
  24. #
  25. #
  26. # JWT_PASSPHRASE is a random string used for security, you can use for example openssl rand -base64 21
  27. # JWT_PASSPHRASE is automatically generated when using Docker
  28. ########################################################################################################
  29.  
  30. CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
  31. JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
  32. JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
  33. #JWT_PASSPHRASE=
  34.  
  35. ########################################################################################################
  36. # DATABASE
  37. ########################################################################################################
  38.  
  39. DB_DRIVER=pdo_pgsql
  40. DB_NAME=koillection
  41. DB_HOST=db
  42. DB_PORT=5432
  43. DB_USER=koillection
  44. DB_PASSWORD=change_me!
  45. DB_VERSION=16
  46.  
Add Comment
Please, Sign In to add comment