Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

3.9 KB
Raw Blame
# See the README.md file for information on how to generate the JWT_SECRET and APP_KEY
APP_KEY=
JWT_SECRET=

# Frontend variables (Always prefixed with VITE_)
VITE_FRONTEND_URL=http://localhost:8123
VITE_API_URL_CLIENT=http://localhost:8123/api
VITE_API_URL_SERVER=http://localhost:80/api
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_123456789
VITE_APP_NAME=Hi.Events

# Optional site-wide cookie consent banner (see frontend/.env.example)
VITE_COOKIE_CONSENT_ENABLED=false
VITE_COOKIE_CONSENT_DOMAIN=
VITE_COOKIE_CONSENT_TEXT=

# Backend variables
# These values may not be suitable for production environments.
# Please refer to the documentation for more information on how to configure these values
# https://hi.events/docs/getting-started/deploying
LOG_CHANNEL=stderr
QUEUE_CONNECTION=redis

# Application settings
APP_CDN_URL=http://localhost:8123/storage
APP_FRONTEND_URL=http://localhost:8123
APP_DISABLE_REGISTRATION=false
APP_SAAS_MODE_ENABLED=false
APP_LICENCE_KEY=
# Optional. Proxies allowed to set X-Forwarded-For. The default `*` trusts the nearest proxy only. Behind more than one
# proxy, list every hop (`cloudflare` adds Cloudflare's ranges), e.g. 127.0.0.1,172.16.0.0/12,cloudflare
APP_TRUSTED_PROXIES=*
# Optional. API requests a minute per user, shared by the web app and all of that user's API keys
# APP_API_RATE_LIMIT_PER_MINUTE=180
APP_SAAS_STRIPE_APPLICATION_FEE_PERCENT=0
APP_SAAS_STRIPE_APPLICATION_FEE_FIXED=0
APP_EMAIL_LOGO_URL=
APP_EMAIL_LOGO_LINK_URL=

# Email settings (Using log mailer for local testing)
MAIL_MAILER=log
MAIL_DRIVER=log
MAIL_HOST=mail.local
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_AUTO_TLS=true
MAIL_VERIFY_PEER=true
[email protected]
MAIL_FROM_NAME="Hi Events"

# File storage settings
FILESYSTEM_PUBLIC_DISK=public
FILESYSTEM_PRIVATE_DISK=local

# Database settings
POSTGRES_DB=hi-events
POSTGRES_USER=postgres
POSTGRES_PASSWORD=secret
DATABASE_URL=postgresql://postgres:secret@postgres:5432/hi-events

# Stripe settings (Replace with valid test keys if necessary)
STRIPE_PUBLIC_KEY=pk_test_123456789
STRIPE_SECRET_KEY=sk_test_123456789
# Subscribe the webhook to: payment_intent.succeeded, payment_intent.payment_failed, charge.succeeded, charge.updated,
# charge.refunded, refund.created, refund.updated, account.updated, payout.paid, payout.updated
# and terminal.reader.action_failed (box office card readers)
STRIPE_WEBHOOK_SECRET=whsec_test_123456789

# Redis settings
REDIS_HOST=redis
REDIS_PASSWORD=
REDIS_PORT=6379

# Google Places address autocomplete. Geo features are disabled until an API key is set.
GEO_PROVIDER=google
GOOGLE_MAPS_API_KEY=

# Serve the interactive OpenAPI documentation at /docs/api. Disabled by default.
API_DOCS_ENABLED=false

# Single sign-on (optional). Register <APP_FRONTEND_URL>/sso/callback as the redirect URI with each provider,
# then run `php artisan sso:status` to check the setup.
# SSO_GOOGLE_CLIENT_ID=
# SSO_GOOGLE_CLIENT_SECRET=
# SSO_MICROSOFT_CLIENT_ID=
# SSO_MICROSOFT_CLIENT_SECRET=
# Any OpenID Connect provider, for example Okta, Keycloak, Authentik or Zitadel
# SSO_OIDC_ISSUER=
# SSO_OIDC_CLIENT_ID=
# SSO_OIDC_CLIENT_SECRET=
# SSO_OIDC_NAME=
# SSO_OIDC_LOGO_URL=
# Only set this when the provider verifies every email address it issues
# SSO_OIDC_TRUST_EMAIL=false
# Turn off email and password sign-in for everyone except super admins
# Users who have not linked SSO can only get in if the provider vouches for their email; for SSO_OIDC_* that needs
# SSO_OIDC_TRUST_EMAIL=true. Preview how many users are affected before turning it on:
# docker compose exec -e SSO_PASSWORD_LOGIN_DISABLED=true all-in-one php /app/backend/artisan sso:status
# SSO_PASSWORD_LOGIN_DISABLED=false
# Let identity providers on private networks or plain http be used, for example an internal Keycloak.
# Never set this on an install where people you don't trust can manage an account's single sign-on.
# SSO_ALLOW_PRIVATE_ISSUERS=false