mirror of
git://f0xx.org/ac/ac-deploy
synced 2026-07-29 08:59:30 +03:00
Mirror alpine-be msmtp for CLI; compose uses Gmail SMTP for php-fpm. Safe secrets.lab.env parser; deploy-mailrelay, install-lab-cron, verify-mail-lab. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
# Lab cluster secrets — COPY to secrets.lab.env on NFS (/shared/cluster/secrets.lab.env)
|
|
# Mode 0600, owner root or deploy user. NOT committed to git.
|
|
#
|
|
# Recoverable via procedures in ac-docs/docs/SECRETS_AND_RECOVERY.md
|
|
|
|
# PHP auth (issues backend) — min 32 chars; changing invalidates sessions
|
|
AUTH_ENCRYPTION_KEY=lab-cluster-dev-32-char-min-secret!!
|
|
|
|
# Gitea mirror automation (optional; else regenerate on cast01)
|
|
# GITEA_MIRROR_ADMIN_TOKEN=
|
|
|
|
# WireGuard lab server (generate new for lab — do not copy prod)
|
|
# WG_SERVER_PRIVATE_KEY=
|
|
# WG_SERVER_PUBLIC_KEY=
|
|
# WG_ENDPOINT=cast01.intra.raptor.org:51820
|
|
|
|
# RSSH bastion (lab)
|
|
# RSSH_BASTION_HOST=cast01.intra.raptor.org
|
|
# RSSH_BASTION_PORT=22
|
|
|
|
# Outbound mail (msmtp → Gmail — copy MSMTP_APP_PASSWORD from alpine-be /etc/androidcast/msmtp.secret)
|
|
# Use quotes if the app password contains spaces.
|
|
MAIL_TRANSPORT=sendmail
|
|
MAIL_FROM="Android Cast Lab <bestcastr@gmail.com>"
|
|
MAIL_REPLY_TO=bestcastr@gmail.com
|
|
MSMTP_FROM=bestcastr@gmail.com
|
|
MSMTP_USER=bestcastr@gmail.com
|
|
# MSMTP_APP_PASSWORD="xxxx xxxx xxxx xxxx"
|