This directory contains infrastructure-as-code templates and deployment guides for running LinkForty in production environments.
For local development or self-managed infrastructure.
Location: examples/
Best for:
- Local development
- Self-managed VPS/bare metal servers
- Custom infrastructure requirements
- Full control over all components
What's included:
- Multi-stage Dockerfile for production builds
- Docker Compose orchestration with PostgreSQL and Redis
- Environment configuration examples
View Docker deployment guide →
Recommended for production deployments with minimal DevOps overhead.
Location: infra/fly.io/
Best for:
- Production deployments
- Global edge distribution
- Auto-scaling applications
- Managed PostgreSQL and Redis
- Teams without dedicated DevOps
What's included:
fly.toml- Application configuration- Deployment guide with step-by-step instructions
- PostgreSQL and Redis setup guides
- Production security checklist
- Environment configuration templates
View Fly.io deployment guide →
Estimated costs: Starting at ~$10-15/month for small production deployments
| Feature | Docker Compose | Fly.io |
|---|---|---|
| Setup complexity | Medium | Low |
| Infrastructure management | You manage | Fully managed |
| Scaling | Manual | Automatic |
| Global distribution | Manual setup | Built-in edge regions |
| Database backups | You configure | Automated |
| SSL/TLS certificates | You configure | Automatic |
| Cost | Infrastructure only | ~$10-15+/month |
| Best for | Custom needs, self-hosting | Production, fast deployment |
We welcome community contributions for additional infrastructure providers! See CONTRIBUTING.md for guidelines.
Requested providers:
- AWS (ECS/Fargate)
- Google Cloud Run
- Azure Container Instances
- Railway
- Render
- DigitalOcean App Platform
We provide official support and maintenance for:
- Docker & Docker Compose templates (in
examples/) - Fly.io templates (in
infra/fly.io/)
Additional provider templates are community-maintained. We validate they work but may not provide detailed troubleshooting for provider-specific issues.
- Application issues: GitHub Issues
- Infrastructure questions: Check provider-specific documentation first
- Security concerns: See SECURITY.md
Production Deployment Responsibility
While we provide infrastructure templates and security checklists, you are responsible for:
- Securing your cloud provider accounts
- Managing secrets and API keys
- Configuring firewalls and network policies
- Compliance with relevant regulations (GDPR, HIPAA, etc.)
- Monitoring and incident response
- Cost management and billing
Always review the security checklist for your chosen platform before deploying to production.
- Choose your deployment platform
- Follow the deployment guide in the respective directory
- Review the security checklist
- Deploy and test
- Set up monitoring and backups
All infrastructure templates are provided under the same MIT license as LinkForty Core.