env 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. APP_NAME=Lychee
  2. APP_ENV=production
  3. APP_KEY=
  4. APP_DEBUG=false
  5. # This MUST contain the host name up to the Top Level Domain (tld) e.g. .com, .org etc.
  6. APP_URL=http://966.it
  7. APP_FORCE_HTTPS=false
  8. # If using Lychee in a sub folder, specify the path after the tld here.
  9. # For example for https://lychee.test/path/to/lychee
  10. # Set APP_URL=https://lychee.test
  11. # and APP_DIR=/path/to/lychee
  12. # We (LycheeOrg) do not recommend the use of APP_DIR.
  13. # APP_DIR=
  14. # enable or disable debug bar. By default it is disabled.
  15. # Do note that this disable CSP!!
  16. DEBUGBAR_ENABLED=false
  17. # enable or disable log viewer. By default it is enabled.
  18. LOG_VIEWER_ENABLED=true
  19. # enable or disable clockwork. By default it is disabled (and not provided on non-dev build).
  20. CLOCKWORK_ENABLE=false
  21. # enable or disable latency debug: adds a specific amount of time in milliseconds to wait before processing requests.
  22. # Always disabled on production environment.
  23. # APP_DEBUG_LATENCY=0
  24. # All API requests to have the header "content-type: application/json"
  25. # or "content-type: multipart/form-data" depending on the type.
  26. #
  27. # If you want to disable this requirement, set this to false.
  28. #
  29. # This requirement prevents the use of the API from the API documentation page.
  30. REQUIRE_CONTENT_TYPE_ENABLED=true
  31. # enable s3 bucket (required in addition to needing AWS_ACCESS_KEY_ID)
  32. # S3_ENABLED=true
  33. # If you spread old links of to your albums in your Lychee instance starting with
  34. # https://lychee.text/#albumID/PhotoId
  35. # Set this value to true to enable redirection.
  36. LEGACY_V4_REDIRECT=false
  37. ##############################################################################
  38. # IMPORTANT: To migrate from Lychee v3 you *MUST* use the same MySQL/MariaDB #
  39. # server as v3. #
  40. ##############################################################################
  41. # Table prefix (e.g. lychee_) of a Lychee v3 instance for migration
  42. DB_OLD_LYCHEE_PREFIX=
  43. # DB_CONNECTION can be sqlite, mysql or pgsql. For sqlite the other entries are
  44. # not required, but an existing sqlite3 database may be specified if desired.
  45. # In this case, please use an absolute path. DB_DATABASE may be omitted but should
  46. # *not* be left blank.
  47. # Note that if DB_PASSWORD includes special characters, it must be enclosed in quotes.
  48. # e.g. DB_PASSWORD="lychee!@#$%^&"
  49. DB_CONNECTION=sqlite
  50. DB_HOST=
  51. DB_PORT=
  52. #DB_DATABASE=
  53. DB_USERNAME=
  54. DB_PASSWORD=
  55. DB_LOG_SQL=false
  56. DB_LOG_SQL_EXPLAIN=false #only for MySQL
  57. # List foreign keys in diagnostic page
  58. DB_LIST_FOREIGN_KEYS=false
  59. # Application timezone. If not specified, the server's default timezone is used.
  60. # Requires a named timezone identifier.
  61. # See https://www.php.net/manual/en/timezones.php for the list of supported timezones.
  62. # Don't use a timezone offset (like +01:00) or a timezone abbreviation (like CEST)
  63. # TIMEZONE=Europe/Paris
  64. # Visibility of directories and (media) files in LYCHEE_UPLOADS
  65. # Possible values are:
  66. #
  67. # - private: world group has neither read nor write access
  68. # - public: world group has read access but no write access (the default)
  69. # - world: world group has read and write access
  70. #
  71. # The default should suffice for most installations.
  72. # For improved security, change this setting to "private".
  73. # Some rare setups may require directories and files to be world writeable.
  74. # In this case, use "world" here.
  75. # USE WITH PRECAUTIONS: world writeable files and folders may be a SECURITY RISK.
  76. # LYCHEE_IMAGE_VISIBILITY=public
  77. # folders in which the files will be stored
  78. # LYCHEE_UPLOADS="/var/www/html/Lychee-Laravel/public/uploads/"
  79. # LYCHEE_DIST="/var/www/html/Lychee-Laravel/public/dist/"
  80. # LYCHEE_SYM="/var/www/html/Lychee-Laravel/public/sym/"
  81. # url to access those files
  82. # LYCHEE_UPLOADS_URL="uploads/"
  83. # LYCHEE_DIST_URL="dist/"
  84. # LYCHEE_SYM_URL="sym/"
  85. # Support for token based authentication used by API requests. Enabled by default.
  86. # ENABLE_TOKEN_AUTH=true
  87. # Lychee supports both Redis and file caching.
  88. # To use Redis, set CACHE_DRIVER to redis and configure the Redis connection.
  89. CACHE_DRIVER=file
  90. REDIS_HOST=127.0.0.1
  91. REDIS_PASSWORD=null
  92. REDIS_PORT=6379
  93. # REDIS_URL=redis://<username>:<password>@<host>:<port>
  94. # If you use Redis as cache driver, we strongly recommend
  95. # to disable it for your Log Viewer.
  96. # Should redis crash, you will no longer be able to access your logs.
  97. LOG_VIEWER_CACHE_DRIVER=file
  98. # Session configuration
  99. SESSION_DRIVER=file
  100. SESSION_LIFETIME=120
  101. # `sync` if jobs needs to be executed live (default) or `database` if they can be defered.
  102. QUEUE_CONNECTION=sync
  103. SECURITY_HEADER_HSTS_ENABLE=false
  104. SECURITY_HEADER_CSP_CONNECT_SRC=
  105. SECURITY_HEADER_SCRIPT_SRC_ALLOW=
  106. SECURITY_HEADER_CSP_CHILD_SRC=
  107. SECURITY_HEADER_CSP_FONT_SRC=
  108. SECURITY_HEADER_CSP_FORM_ACTION=
  109. SECURITY_HEADER_CSP_FRAME_ANCESTORS=
  110. SECURITY_HEADER_CSP_FRAME_SRC=
  111. SECURITY_HEADER_CSP_IMG_SRC=
  112. SECURITY_HEADER_CSP_MEDIA_SRC=
  113. SESSION_SECURE_COOKIE=false
  114. MAIL_DRIVER=smtp
  115. MAIL_HOST=
  116. MAIL_PORT=
  117. MAIL_USERNAME=
  118. MAIL_PASSWORD=
  119. MAIL_ENCRYPTION=
  120. MAIL_FROM_NAME=
  121. MAIL_FROM_ADDRESS=
  122. # The trusted proxies if Lychee is behind a reverse proxy
  123. # Accepted values:
  124. # - `null`: no proxy
  125. # - `*`: any proxy
  126. # - <ip address>[,<ip address>]: a comma-seperated list of IP addresses
  127. TRUSTED_PROXIES=null
  128. # Comma-separated list of class names of diagnostics checks that should be skipped.
  129. #SKIP_DIAGNOSTICS_CHECKS=
  130. VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
  131. VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
  132. # Disable Basic Auth. This means that the only way to authenticate is via the API token or Oauth.
  133. # This should only be toggled AFTER having set up the admin account and bound the Oauth client.
  134. # DISABLE_BASIC_AUTH=false
  135. # Disable WebAuthn. This means that the only way to authenticate is via the API token, Basic Auth or Oauth.
  136. # DISABLE_WEBAUTHN=false
  137. # Oauth token data
  138. # XXX_REDIRECT_URI should be left as default unless you know exactly what you do.
  139. # AMAZON_SIGNIN_CLIENT_ID=
  140. # AMAZON_SIGNIN_SECRET=
  141. # AMAZON_SIGNIN_REDIRECT_URI=/auth/amazon/redirect
  142. # https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple
  143. # Note: the client secret used for "Sign In with Apple" is a JWT token that can have a maximum lifetime of 6 months.
  144. # The article above explains how to generate the client secret on demand and you'll need to update this every 6 months.
  145. # To generate the client secret for each request, see Generating A Client Secret For Sign In With Apple On Each Request.
  146. # https://bannister.me/blog/generating-a-client-secret-for-sign-in-with-apple-on-each-request
  147. # APPLE_CLIENT_ID=
  148. # APPLE_CLIENT_SECRET=
  149. # APPLE_REDIRECT_URI=/auth/apple/redirect
  150. # FACEBOOK_CLIENT_ID=
  151. # FACEBOOK_CLIENT_SECRET=
  152. # FACEBOOK_REDIRECT_URI=/auth/facebook/redirect
  153. # GITHUB_CLIENT_ID=
  154. # GITHUB_CLIENT_SECRET=
  155. # GITHUB_REDIRECT_URI=/auth/github/redirect
  156. # GOOGLE_CLIENT_ID=
  157. # GOOGLE_CLIENT_SECRET=
  158. # GOOGLE_REDIRECT_URI=/auth/google/redirect
  159. # MASTODON_DOMAIN=https://mastodon.social
  160. # MASTODON_ID=
  161. # MASTODON_SECRET=
  162. # MASTODON_REDIRECT_URI=/auth/mastodon/redirect
  163. # MICROSOFT_CLIENT_ID=
  164. # MICROSOFT_CLIENT_SECRET=
  165. # MICROSOFT_REDIRECT_URI=/auth/microsoft/redirect
  166. # NEXTCLOUD_CLIENT_ID=
  167. # NEXTCLOUD_CLIENT_SECRET=
  168. # NEXTCLOUD_REDIRECT_URI=/auth/nextcloud/redirect
  169. # NEXTCLOUD_BASE_URI=
  170. # KEYCLOAK_CLIENT_ID=
  171. # KEYCLOAK_CLIENT_SECRET=
  172. # KEYCLOAK_REDIRECT_URI=/auth/keycloak/redirect
  173. # KEYCLOAK_BASE_URL=
  174. # KEYCLOAK_REALM=
  175. # AUTHENTIK_BASE_URL=
  176. # AUTHENTIK_CLIENT_ID=
  177. # AUTHENTIK_CLIENT_SECRET=
  178. # AUTHENTIK_REDIRECT_URI=/auth/authentik/redirect
  179. # AUTHELIA_BASE_URL=
  180. # AUTHELIA_CLIENT_ID=
  181. # AUTHELIA_CLIENT_SECRET=
  182. # AUTHELIA_REDIRECT_URI=/auth/authelia/redirect
  183. # AWS support data
  184. # AWS_ACCESS_KEY_ID=
  185. # AWS_SECRET_ACCESS_KEY=
  186. # AWS_DEFAULT_REGION=
  187. # AWS_BUCKET=
  188. # AWS_URL=
  189. # AWS_ENDPOINT=
  190. # AWS_IMAGE_VISIBILITY=
  191. # AWS_USE_PATH_STYLE_ENDPOINT=
  192. ###################################################################
  193. # Vite local development without running a server. #
  194. # set VITE_LOCAL_DEV to true #
  195. # set VITE_HTTP_PROXY_TARGET to the rediction for the API calls. #
  196. ###################################################################
  197. # VITE_LOCAL_DEV=true
  198. # VITE_HTTP_PROXY_TARGET=http://localhost:8000
  199. # DISABLE_IMPORT_FROM_SERVER=false
  200. ###################################################################
  201. # Payment integration (requires SE) #
  202. ###################################################################
  203. # Enable test mode (Sandbox mode) for payment gateways.
  204. # In test mode, no real money transactions are done.
  205. # We set it to true by default for safety. Make sure to set it to false
  206. # when you go live.
  207. # OMNIPAY_TEST_MODE=true
  208. # Configuration values for Mollie integration
  209. # MOLLIE_API_KEY=
  210. # MOLLIE_PROFILE_ID=
  211. # Configuration values for Stripe integration (NOT WORKING YET, MAYBE LATER)
  212. # STRIPE_API_KEY=
  213. # STRIPE_PUBLISHABLE_KEY=
  214. # https://github.com/thephpleague/omnipay-paypal/blob/master/src/RestGateway.php
  215. # PAYPAL_CLIENT_ID=
  216. # PAYPAL_SECRET=
  217. # https://github.com/thephpleague/omnipay-paypal/blob/master/src/ExpressInContextGateway.php
  218. # https://github.com/thephpleague/omnipay-paypal/blob/master/src/ProGateway.php
  219. # PAYPAL_API_USERNAME=
  220. # PAYPAL_API_PASSWORD=
  221. # PAYPAL_API_SIGNATURE=