wp-env-config

Environment Variables

This file contains the environment variables used to configure the settings for your website. The variables define various aspects such as database connections, security settings, backup options, and more. Please review and modify the values accordingly to suit your specific needs.

Instructions

  1. Create a new file in your project directory and name it .env.
  2. Copy the contents from this example file into your newly created .env file.
  3. Replace the placeholder values with your actual configuration details.
WP_HOME='http://example.com'
WP_SITEURL="${WP_HOME}/wp"

BASIC_AUTH_USER='admin'
BASIC_AUTH_PASSWORD='MySecurePassword123'

USE_APP_THEME=false
WP_ENVIRONMENT_TYPE='production'
BACKUP_PLUGINS=true

SENDGRID_API_KEY='YOUR_SENDGRID_API_KEY'
SUDO_ADMIN='1'

WPENV_AUTO_LOGIN_SECRET_KEY=null
WEB_APP_PUBLIC_KEY='b75b666f-ac11-4342-b001-d2546f1d3a5b'
SEND_EMAIL_CHANGE_EMAIL=false

# Premium
ELEMENTOR_PRO_LICENSE=''
AVADAKEY=''
BACKUP_PLUGINS=false

MEMORY_LIMIT='512M'
MAX_MEMORY_LIMIT='512M'

FORCE_SSL_ADMIN=true
FORCE_SSL_LOGIN=true

# s3backup
ENABLE_S3_BACKUP=false
S3ENCRYPTED_BACKUP=false
S3_BACKUP_KEY=null
S3_BACKUP_SECRET=null
S3_BACKUP_BUCKET='wp-s3snaps'
S3_BACKUP_REGION='us-west-1'
S3_BACKUP_DIR=null
DELETE_LOCAL_S3BACKUP=false

DB_NAME='my_wp_db'
DB_USER='db_user'
DB_PASSWORD='db_password'
DB_HOST='localhost'
DB_PREFIX='wp_xyz123_'

Configuration

WordPress Settings

Basic Authentication

Application Theme

Environment Type

Backup Settings

Email Settings

Administrator Privileges

Web Application Public Key

Premium Features

Memory Limit

SSL Settings

Backup Settings

Database Settings

Note