Compose
DevOps & SecuritycomposeCompose is an Agent Skill for devops & security published in the flexprice/flexprice repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
FlexPrice Docker/Makefile shortcuts — dev-setup, compose services, Kafka UI profile, logs. Deep env wizard is devenv. Trigger: compose, docker dev, dev-setup.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/flexprice/flexprice/blob/HEAD/.cursor/skills/compose/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/compose, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
compose — Docker dev shortcuts
For modes, .env*, Kafka topic quirks, migrations: use devenv.
First-time / full setup
make dev-setup
Core backing services only
docker compose up -d postgres kafka clickhouse temporal temporal-ui
Full stack
make up # start all services
make down # stop
make restart-flexprice # restart app services, not infra
Kafka UI (dev profile)
docker compose --profile dev up -d kafka-ui
Quick reference URLs (local defaults)
See AGENTS.md / CLAUDE.md tables (API 8080, Temporal UI 8088, Kafka UI 8084, ClickHouse 8123).
Debugging
docker compose logs -f flexprice-api
docker compose logs -f flexprice-consumer
docker compose logs -f flexprice-worker
Notes
- Match
FLEXPRICE_*env vars or.envto compose services when troubleshooting connection refused errors. - Do not commit secrets inside compose overrides meant for production.