env.tmpl (2232B)
1 # https://github.com/danielbrendel/hortusfox-web/blob/main/.env.example 2 3 # Asatru PHP - App environment configuration file 4 # 5 # Scheme: 6 # name=value 7 # Example 8 # APP_NAME="My App name" 9 # Datatypes: 10 # string, integer, float, boolean and null (auto detected) 11 12 # App settings 13 APP_NAME="HortusFox" 14 APP_VERSION="5.0" 15 APP_AUTHOR="Daniel Brendel" 16 APP_CONTACT="dbrendel1988@gmail.com" 17 APP_DEBUG=true 18 APP_BASEDIR="" 19 APP_LANG="en" 20 APP_TIMEZONE="UTC" 21 APP_WORKSPACE="My workspace" 22 APP_OVERDUETASK_HOURS=10 23 APP_CRONJOB_MAILLIMIT=0 24 APP_GITHUB_URL="https://github.com/danielbrendel/hortusfox-web" 25 APP_SERVICE_URL="https://www.hortusfox.com" 26 APP_GITHUB_SPONSOR="https://github.com/sponsors/danielbrendel" 27 APP_DONATION_KOFI="https://ko-fi.com/danielbrendel" 28 APP_SOCIAL_DISCORD="https://discord.gg/kc6xGmjzVS" 29 APP_SOCIAL_MASTODON="https://mastodon.social/@hortusfox" 30 31 # Update composer dependencies during start if set to true 32 APP_UPDATEDEPS="true" 33 34 # Admin settings 35 APP_ADMIN_EMAIL="{{with secret "kv/hortusfox"}}{{index .Data.data.APP_ADMIN_EMAIL}}{{end}}" 36 APP_ADMIN_PASSWORD="{{with secret "kv/hortusfox"}}{{index .Data.data.APP_ADMIN_PASSWORD}}{{end}}" 37 38 # Session 39 SESSION_ENABLE=true 40 SESSION_DURATION=32532000 41 SESSION_NAME=null 42 43 # Photo resize factors 44 PHOTO_RESIZE_FACTOR_DEFAULT=1.0 45 PHOTO_RESIZE_FACTOR_1=0.5 46 PHOTO_RESIZE_FACTOR_2=0.4 47 PHOTO_RESIZE_FACTOR_3=0.4 48 PHOTO_RESIZE_FACTOR_4=0.3 49 PHOTO_RESIZE_FACTOR_5=0.2 50 51 # Database settings 52 DB_ENABLE=true 53 DB_HOST="mariadb.lan" 54 DB_DATABASE=hortusfox 55 DB_USERNAME=hortusfox 56 DB_PASSWORD="{{with secret "kv/hortusfox"}}{{index .Data.data.DB_PASSWORD}}{{end}}" 57 DB_PORT=3306 58 DB_DRIVER=mysql 59 DB_CHARSET="utf8mb4" 60 61 # SMTP settings 62 SMTP_FROMNAME="HortusFox" 63 SMTP_FROMADDRESS="{{with secret "kv/hortusfox"}}{{index .Data.data.SMTP_FROMADDRESS}}{{end}}" 64 SMTP_HOST="{{with secret "kv/hortusfox"}}{{index .Data.data.SMTP_HOST}}{{end}}" 65 SMTP_PORT="{{with secret "kv/hortusfox"}}{{index .Data.data.SMTP_PORT}}{{end}}" 66 SMTP_USERNAME="{{with secret "kv/hortusfox"}}{{index .Data.data.SMTP_USERNAME}}{{end}}" 67 SMTP_PASSWORD="{{with secret "kv/hortusfox"}}{{index .Data.data.SMTP_PASSWORD}}{{end}}" 68 SMTP_ENCRYPTION="{{with secret "kv/hortusfox"}}{{index .Data.data.SMTP_ENCRYPTION}}{{end}}" 69 70 # Logging 71 LOG_ENABLE=true