How to Deploy an Application
This guide walks through the complete process of deploying a containerized application to the Strongly platform.
Prerequisites
Before deploying, ensure you have:
- Your application code in a directory
- A
Dockerfilein the project root - A
strongly.manifest.yamlconfiguration file - Optional:
.envfile for environment variables
Step 1: Navigate to Apps
- Click Apps in the main navigation
- Click Deploy App button
Step 2: Configure Your App
Basic Information
Provide essential metadata about your application:
- App Name: Unique identifier (lowercase, alphanumeric, hyphens only)
- Description: Brief description of your app
- Environment: Choose Development or Production
App names must be lowercase and can only contain alphanumeric characters and hyphens. No spaces or special characters.
Upload Code
Upload your application code as a compressed archive:
- Accepted formats:
.zip,.tar,.tar.gz,.tgz - Max size: 100MB
- Required files:
Dockerfile(in project root)strongly.manifest.yaml(in project root)
- Optional:
.envfile for environment variables
Ensure your Dockerfile and manifest are in the root of the archive, not in a subdirectory.
Resource Configuration
Select a resource tier or configure custom resources:
| Tier | CPU | Memory | Disk | Use Case |
|---|---|---|---|---|
| Small | 0.5 | 512MB | 5GB | Development, testing |
| Medium | 1 | 1GB | 10GB | Small production apps |
| Large | 2 | 2GB | 20GB | Production apps with moderate traffic |
| XLarge | 4 | 4GB | 40GB | High-traffic production apps |
| Custom | - | - | - | Specialized requirements |
Instances: Set the number of replicas (1-10) for high availability. Each instance runs on its own pod.
Step 3: Connect Services (Optional)
Connect your app to platform services - all connections are automatically injected via the STRONGLY_SERVICES environment variable.
Add-ons (Managed Databases)
- Click Add-ons button during app configuration
- Select from available MongoDB, Redis, PostgreSQL instances
- Connection strings automatically injected
- Must be in same environment (Dev/Prod)
Data Sources (External Databases)
- Connect to external MySQL, PostgreSQL, S3, Snowflake, etc.
- Credentials encrypted and injected at runtime
- Support for read replicas and connection pooling
AI Models (AI Gateway)
- Select from available OpenAI, Anthropic, or self-hosted models
- API keys and endpoints automatically configured
- Usage tracked and billed through platform
Workflows (REST API Triggers)
- Connect workflows with REST API trigger nodes
- Invoke workflows from your app code
- Automatic authentication and execution tracking
Step 4: Deploy & Monitor
- Review Configuration: Check all settings before deployment
- Click Deploy: Initiate build and deployment process
- Monitor Build: Watch build progress (timeout: 10 minutes)
- Access App: Once deployed, click "View App" or navigate to
/apps/your-app-id/view
Build Process
The platform automatically:
- Extracts your code archive
- Builds Docker image using your Dockerfile
- Pushes image to internal registry
- Creates Kubernetes deployment
- Configures ingress and services
- Injects environment variables and service connections
- Starts health checks
Builds must complete within 10 minutes. Optimize your Dockerfile to reduce build time.
App Management
Start/Stop/Restart
- Click app name to view details
- Use action buttons: Start, Stop, Restart
- Monitor status changes in real-time
Update Configuration
Update your running application:
- Update environment variables
- Scale instances up or down
- Add or remove connected services
- Click Redeploy to apply changes
Configuration changes require redeployment. This will cause brief downtime unless you have multiple instances.
View Logs & Metrics
Monitor your application in real-time:
- Real-time log streaming
- CPU, memory, disk usage
- Request metrics and error rates
- Health check status
Promote to Production
Move your tested app from Development to Production:
- Test thoroughly in Development
- Click Promote to Production
- Map add-ons to production equivalents
- Review and confirm promotion
- Platform creates production deployment
Always test in Development first, then promote to Production with proper add-on mapping to avoid data mixing.
Common Deployment Issues
Build Fails
- Check Dockerfile syntax
- Ensure all dependencies are accessible
- Verify build context includes all required files
- Check build logs for specific errors
App Won't Start
- Verify health check endpoint is accessible
- Check application logs for startup errors
- Ensure environment variables are set correctly
- Verify port configuration matches manifest
Connection Issues
- Confirm services are in the same environment
- Check
STRONGLY_SERVICESenvironment variable - Verify credentials and connection strings
- Test connectivity from app terminal