GitHub - brttbndr/ptctl-test-stack: Minimal Docker Compose stack for ptctl integration testing

Minimal Docker Compose stack for testing ptctl Git repository-based deployments.

Contents

  • docker-compose.yml - Simple nginx container with minimal configuration
  • No external dependencies or bind mounts
  • Guaranteed to deploy successfully via Portainer

Usage with ptctl

# Create stack from this repo
ptctl stack create \
  --repo https://github.com/brttbndr/ptctl-test-stack \
  --ref refs/heads/main \
  --name my-test-stack

# With GitOps auto-updates
ptctl stack create \
  --repo https://github.com/brttbndr/ptctl-test-stack \
  --ref refs/heads/main \
  --name my-gitops-stack \
  --gitops \
  --gitops-interval 5m

Purpose

Used by ptctl's integration test suite (tests/integration/test_git_stacks.py) to verify Git-based stack deployment works end-to-end.