Files
bortstack-forge/templates/flask-react/boilerplate/docs/OPTIONAL_SERVICES.md
T

1.7 KiB

Optional services

Local development needs no GitHub, production host, SWAG network, Resend account, or Cloudflare routing. Email delivery starts disabled. To enable it, choose and verify a project-specific sender/domain and contact destination, set RESEND_API_KEY, EMAIL_FROM, CONTACT_EMAIL, and EMAIL_DELIVERY_ENABLED=true in an untracked environment, then test account and contact flows. The code currently implements Resend outbound delivery; inbound routing is a separate operator choice.

docker-compose.yml provides API and nginx services with loopback diagnostic ports and a persistent SQLite volume. It does not require an external database or reverse-proxy network. ops/databases/ contains separate PostgreSQL, MySQL, and MariaDB Compose overlays plus safe example environment files. Select one engine per deployment; set SQLALCHEMY_DATABASE_URI explicitly outside Compose, or let the chosen overlay supply it. Replace example passwords in an untracked private env file and URL-encode reserved password characters in any database URL. Apply migrations against the selected engine before starting the API. ops/swag/ includes an optional Compose overlay and proxy sample; adapt networking and TLS separately before hosting. The Forge package retains a GitHub Actions CI/deployment example under optional/github/, but generation does not install an active workflow. Copying or enabling any deployment workflow is a separate project decision. Never use example passwords or secrets in production.

Before production, choose a host and repository provider, configure external secrets, verify migrations/backup/rollback, review authentication and email policy, and run the project's required tests. Generation performs none of these actions.