128 lines
4.5 KiB
Plaintext
128 lines
4.5 KiB
Plaintext
# THIS FILE MUST BE KEPT SECRET! IT IS BLOCKED IN THE HTACCESS FILE.
|
|
# HOWEVER, THIS DIRECTORY SHOULDN'T BE EXPOSED TO THE PUBLIC AT ALL.
|
|
# SEE THE DOCS FOR PROPER (SECURE) INSTALLATION:
|
|
# https://docs.phpvms.net/installation/uploading
|
|
#
|
|
# This is the place to edit your configuration. To change a config that's
|
|
# not present here, you need to either edit the file/config in the config
|
|
# folder, or change it to read the value from the environment. Something like:
|
|
#
|
|
# 'some_key' = env('ENVIRONMENT_VARIABLE_KEY_ADDED_BELOW', 'default value')
|
|
#
|
|
# Various other settings in the configs also read from some environment variables
|
|
# by default. You can override those here.
|
|
|
|
# =============================================================================
|
|
# APPLICATION CORE
|
|
# =============================================================================
|
|
|
|
# The name of your application, shown in notifications and UI elements.
|
|
APP_NAME=phpvms
|
|
|
|
# Application encryption key. Generate one at https://appkeyforlaravel.com
|
|
# phpVMS also uses this to detect if it has been installed.
|
|
APP_KEY=
|
|
|
|
# The full public URL of your installation, including the scheme (e.g. https://).
|
|
APP_URL=
|
|
|
|
# Environment type: production, local, staging, etc.
|
|
# In production, set this to "production".
|
|
APP_ENV=production
|
|
|
|
# Default application locale (language code).
|
|
APP_LOCALE=en
|
|
|
|
# Minimum log level: debug, info, notice, warning, error, critical, alert, emergency.
|
|
LOG_LEVEL=info
|
|
|
|
# =============================================================================
|
|
# DATABASE
|
|
# =============================================================================
|
|
|
|
# Database driver: mysql, pgsql, sqlite
|
|
# Replace the example
|
|
DB_CONNECTION=mysql
|
|
DB_URL=mysql://user:pass@mariadb:3306/phpvms
|
|
|
|
# =============================================================================
|
|
# REDIS
|
|
# If you have redis enabled/available, set the environment variable below
|
|
# to use redis as the driver
|
|
# =============================================================================
|
|
|
|
# Redis client library: phpredis or predis.
|
|
REDIS_URL=redis://user:pass@redis:6379
|
|
|
|
# =============================================================================
|
|
# CACHE AND OTHER DRIVERS
|
|
# These are default to to what's below. If you are using Redis, I highly recommend
|
|
# changing them to "redis" to utilize it
|
|
# =============================================================================
|
|
|
|
# Default cache store: file, database, redis, memcached, dynamodb, array.
|
|
CACHE_STORE=file
|
|
SESSION_DRIVER=file
|
|
QUEUE_CONNECTION=database
|
|
BROADCAST_CONNECTION=log
|
|
|
|
# Set to true for shared hosting, of if you're not running the queue worker
|
|
RUN_QUEUED_JOBS_IN_CRON=false
|
|
|
|
# =============================================================================
|
|
# E-MAIL CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Mail transport: smtp, sendmail, mailgun, ses, postmark, resend, log, array.
|
|
MAIL_MAILER=log
|
|
|
|
# Connection scheme for SMTP (e.g. tls, ssl, null).
|
|
MAIL_SCHEME=ssl
|
|
MAIL_HOST=127.0.0.1
|
|
MAIL_PORT=2525
|
|
MAIL_USERNAME=
|
|
MAIL_PASSWORD=
|
|
|
|
# The "From" address and name for all outgoing emails.
|
|
MAIL_FROM_ADDRESS="hello@example.com"
|
|
MAIL_FROM_NAME="${APP_NAME}"
|
|
|
|
# =============================================================================
|
|
# AWS / S3
|
|
# =============================================================================
|
|
|
|
# AWS credentials used for S3, SES, SQS, and DynamoDB.
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
AWS_DEFAULT_REGION=us-east-1
|
|
AWS_BUCKET=
|
|
AWS_USE_PATH_STYLE_ENDPOINT=false
|
|
|
|
# =============================================================================
|
|
# FRONTEND
|
|
# =============================================================================
|
|
|
|
# Injected into the Vite build manifest as the app name.
|
|
VITE_APP_NAME="${APP_NAME}"
|
|
|
|
|
|
# =============================================================================
|
|
# PRODUCTION CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# If you're using the docker-compose or Railpack to serve directly
|
|
# to the internet, instead of a server in front of it, set this to true
|
|
OCTANE_HTTPS=false
|
|
|
|
# Optional: expose different ports on the host.
|
|
# FORWARD_HTTP_PORT=8080
|
|
# FORWARD_HTTPS_PORT=8443
|
|
# FORWARD_DB_PORT=3307
|
|
|
|
# =============================================================================
|
|
# DEVELOPMENT (Laravel Sail / Docker)
|
|
# =============================================================================
|
|
|
|
# Sail compose file override.
|
|
SAIL_FILES="compose.sail.yml"
|