accounts/.env.example (1158 bytes)
1 # Settings for the accounts service. Copy this file to 2 # /etc/rw-accounts.env on the server, fill in the values, and make it 3 # readable only by root (chmod 600). Do not commit the filled-in copy. 4 5 # The public URL of the site, with no final slash. 6 RW_BASE_URL=https://recentlywritten.com 7 # The web root that build.sh deploys. The service reads postdata/ in it. 8 RW_SITE_DIR=/var/www/recentlywritten 9 # The SQLite database file. The directory must be writable by the service. 10 RW_DB_PATH=/var/lib/rw-accounts/rw.db 11 # The address and port that the service listens on. Optional. 12 RW_LISTEN=127.0.0.1:8081 13 # The time between two checks for new posts. Optional. Default: 15m. 14 RW_NOTIFY_INTERVAL=15m 15 16 # The sender address. Its domain needs SPF and DKIM records for the 17 # SMTP provider. 18 RW_MAIL_FROM=Recently Written <posts@recentlywritten.com> 19 # Any SMTP server with STARTTLS: a local MTA, or the SMTP endpoint of a 20 # provider such as Resend (smtp.resend.com), Postmark 21 # (smtp.postmarkapp.com), or Amazon SES. 22 SMTP_HOST= 23 # Optional. Default: 587. 24 SMTP_PORT=587 25 # Leave empty for a server that needs no sign-in (for example a local MTA). 26 SMTP_USERNAME= 27 SMTP_PASSWORD=