-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Parent Issue
Part of #273 - .vx.toml v2 Configuration Enhancement
Objective
Add container deployment configuration for Docker/Podman builds and registry management.
Configuration Format
[container]
enabled = true
runtime = "docker" # docker | podman | containerd
[container.build]
dockerfile = "Dockerfile"
context = "."
target = "production"
args = { NODE_ENV = "production" }
[container.registry]
url = "ghcr.io"
username = "${GITHUB_ACTOR}"
password = "${GITHUB_TOKEN}"
[container.compose]
file = "docker-compose.yml"
profiles = ["dev", "test", "prod"]Tasks
- Define
ContainerConfigstructure - Implement
vx container buildcommand - Implement
vx container pushcommand - Add multi-stage build support
- Add registry authentication
- Generate Dockerfile from config
- Add docker-compose integration
- Add unit tests
Commands
vx container build # Build container image
vx container push # Push to registry
vx container run # Run container locally
vx container export # Generate DockerfileAcceptance Criteria
- Container builds successfully
- Push to registry works
- Multi-stage builds supported
- Generated Dockerfile is valid