Show HN: StackMark – Docker stack management CLI with auto port allocation

stackmark.tech

2 points by grazulex 3 hours ago

Hey HN,

If you work on multiple Docker projects, you've probably dealt with the "port 3306 is already in use" frustration. I built StackMark to solve this once and for all.

StackMark is a CLI that manages your Docker Compose stacks with automatic port allocation starting from 9000. No more conflicts, no more hunting for which container is using which port.

Key features:

- Automatic unique port assignment per stack - Interactive TUI dashboard with real-time status - Smart auto-detection (run commands from any project folder) - Built-in templates for Laravel, Symfony, Node.js, WordPress - Local hosts management (/etc/hosts sync)

I work on 5-6 Laravel projects simultaneously and this has been a game changer for my workflow. Start a stack, get your ports, forget about it.

npm install -g @grazulex/stackmark

Would love feedback from people managing multiple Docker environments. How do you handle port allocation today?

https://stackmark.tech