Skip to main content

Prerequisites

1. Initialize Docker Swarm

On the manager node:

2. Join Worker Nodes (Optional)

On each worker node, run the join command provided by docker swarm init:

3. Configure AWS & ECR on All Nodes

On ALL nodes (manager + workers):
  1. Configure AWS credentials (see Prerequisites)
  2. Install ECR credential helper:
  1. Configure ~/.docker/config.json:

Deployment

Deploy Commands

For all deployment options:

Non-Interactive Mode

For CI/CD pipelines, use the --yes flag:
With --yes, the command fails immediately on any error. Ensure all configuration is valid before using in automation.

Post-Deployment

Verify Services

Create Initial Entities

If you run 2501-infra deploy without --yes, the CLI will interactively prompt you to create your first tenant, organization, and admin user.
If you used --yes mode, create entities manually:
For all entity management commands:

Useful Docker Commands