Mixpost Lite: Environment Variables
Overview of Environment Variables.
Application environment variables
Variable | Type | Default | Description |
---|---|---|---|
APP_NAME | string | Mixpost | The name of your application. |
APP_KEY | string | - | Key used to encrypt and decrypt sensitive data. Generate this using the following tool. |
APP_DEBUG | boolean | false | Debug mode setting. Set to false for production environments. |
APP_DOMAIN | string | - | Your app's domain or subdomain, without the http:// or https:// prefix. (Docker only) |
APP_URL | string | http://example.com | Full application URL. |
Database environment variables
Variable | Type | Default | Description |
---|---|---|---|
DB_HOST | string | 127.0.0.1 ("mysql" for Docker) | Specifies the hostname of the database server. Use "mysql" for Docker environments. |
DB_PORT | string | 3306 | The port on which the database server is listening. |
DB_DATABASE | string | mixpost_db | The name of the MySQL database used by the application. |
DB_USERNAME | string | mixpost_user | The username for accessing the MySQL database. |
DB_PASSWORD | string | - | The password for the MySQL database user. |
Redis environment variables
Variable | Type | Default | Description |
---|---|---|---|
REDIS_HOST | string | 127.0.0.1 ("redis" for Docker) | Specifies the hostname of the redis server. Use "redis" for Docker environments. |
REDIS_PORT | string | 6379 | The port on which the redis server is listening. |
REDIS_PASSWORD | string | - | The password for the Redis user. |
File storage
Variable | Type | Default | Description |
---|---|---|---|
MIXPOST_DISK | string | public | The disk on which to store media files. Options: - public - s3 To use s3 disk you should fill in the AWS_* credentials. |
S3
Variable | Type | Default | Description |
---|---|---|---|
AWS_ACCESS_KEY_ID | string | Access key for the S3 server. | |
AWS_SECRET_ACCESS_KEY | string | Secret key for the access key. | |
AWS_DEFAULT_REGION | string | Has to be set to a signing region: https://docs.aws.amazon.com/general/latest/gr/s3.html | |
AWS_BUCKET | string | Name of the bucket where Mixpost will store its files. |
Logs environment variables
Variable | Type | Default | Description |
---|---|---|---|
LOG_CHANNEL | string | single | Defines the logging channel type for the application. Options include single for a single file or daily for a new file each day. |
MIXPOST_LOG_CHANNEL | string | - | Specifies a dedicated logging channel for capturing connection errors with social networks or third parties. If left blank, it defaults to the LOG_CHANNEL value. |
System environment variables
Variable | Type | Default | Description |
---|---|---|---|
MIXPOST_AUTH_GUARD | string | web | This option controls the default authentication guard for the Mixpost dashboard routes. (Not available in Docker). |
MIXPOST_CACHE_PREFIX | string | mixpost | Define cache prefix. |
FFMPEG environment variables
Variable | Type | Default | Description |
---|---|---|---|
FFMPEG_PATH | string | /usr/bin/ffmpeg | The path to the FFMPEG executable on your server. This is used for video processing and conversions. (Not available in Docker) |
FFPROBE_PATH | string | /usr/bin/ffprobe | The path to the FFPROBE executable on your server. FFPROBE is used for gathering information from multimedia streams. (Not available in Docker). |
SSL environment variables
Variable | Type | Default | Description |
---|---|---|---|
SSL_EMAIL | string | user@example.com | The email address used for SSL certificate registration and notifications. (Docker only) |