Skip to content

Core Tasks

This section covers the essential operational tasks you'll perform with FTL. Each task is fundamental to managing your deployments effectively.

Available Tasks

Building

Learn how to build and manage Docker images for your services:

  • Building images locally
  • Using build arguments and environment variables
  • Pushing to registries
  • Multi-stage builds

Deployment

Understand the deployment process and options:

  • Zero-downtime deployments
  • Rolling updates
  • Deployment strategies
  • Rollback procedures

Server Setup

Configure your servers for FTL deployments:

  • System requirements
  • Docker installation
  • Network configuration
  • Security settings

Logging

Monitor your applications through logs:

  • Viewing service logs
  • Log aggregation
  • Real-time log streaming
  • Log retention policies

Tunneling

Establish secure connections to your services:

  • SSH tunneling to remote services
  • Local development with remote dependencies
  • Database access
  • Debugging tools

Common Workflows

Here are some typical workflows combining multiple core tasks:

  1. Initial Application Setup

  2. Development Cycle

  3. Maintenance Operations

Task Organization

Each task in this section follows a consistent structure:

  • Overview: Brief description of the task
  • Usage: Common use cases and examples
  • Options: Available configuration options
  • Best Practices: Recommended approaches
  • Troubleshooting: Common issues and solutions

Quick Reference

Here's a quick reference for the most commonly used commands in core tasks:

bash
# Building
ftl build [--skip-push]

# Deployment
ftl deploy

# Logging
ftl logs [service] [-f]

# Tunneling
ftl tunnels

Next Steps

After familiarizing yourself with these core tasks, you might want to explore:

TIP

Each core task can be performed independently, but they're designed to work together seamlessly in your deployment workflow.

See Also

Released under the MIT License.