feca-mailshots-plugin/credentials/.env.example

43 lines
1.1 KiB
Plaintext

# Remote SSH (used by deploy and tunnel scripts)
REMOTE_SSH_HOST=example.com
REMOTE_SSH_PORT=22
REMOTE_SSH_USER=example_user
REMOTE_SSH_KEY=credentials/id_rsa
# Remote MySQL target behind SSH tunnel
REMOTE_MYSQL_HOST=localhost
REMOTE_MYSQL_PORT=3306
REMOTE_MYSQL_USER=mailshots_user
REMOTE_MYSQL_PASSWORD=change_me
# Database names
MEMBERS_REMOTE_MYSQL_DB=members_db
MAILSHOTS_REMOTE_MYSQL_DB=mailshots_db
# SMTP (fixture/local test usage)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=editor@example.com
SMTP_PASSWORD=change_me
SMTP_FROM=editor@example.com
# 1 = implicit TLS (typically port 465), 0 = STARTTLS/plain negotiation (typically port 587)
SMTP_REQUIRE_TLS=0
# IMAP (fixture/local test usage)
IMAP_HOST=imap.example.com
IMAP_PORT=993
IMAP_USER=editor@example.com
IMAP_PASSWORD=change_me
IMAP_SENT_FOLDER=Sent
IMAP_MAILBOX_FLAGS=/imap/ssl
# Mailshot test default recipient (optional)
MAILSHOT_TEST_TO_DEFAULT=
# Plugin deploy metadata
PLUGIN_NAME="FECA Mailshots"
DEPLOYMENT_DIRECTORY=public_html/wp-content/plugins/feca_mailshots_plugin
# Local tooling
COMPOSER_HOME=/path/to/project/tools/.composer