Shipyard is a lightweight CLI for managing local Docker development stacks.
It provides a single command — dev — to start projects, attach to containers, view logs, and manage your development environment.
dev up
dev up api-gateway
dev attach api-gateway
dev logs web api-gateway
dev list
dev downManaging multiple Docker Compose projects can become repetitive and inconsistent.
Shipyard provides a simple, consistent interface for:
- Starting project stacks
- Attaching to containers
- Viewing logs
- Restarting services
- Checking environment status
- Diagnosing setup issues
All from a single command.
Shipyard focuses on:
- Consistency across projects
- Minimal commands
- Fast developer workflows
- Zero complexity
Most developers only need to remember:
dev up
dev attach
dev logs
dev list
dev down
Shipyard can be installed in two ways.
Install Shipyard directly using curl:
curl -fsSL https://raw.githubusercontent.com/dstuchbury/shipyard/main/install.sh | bash
source ~/.bashrcThen verify the installation:
dev doctorThe installer will:
- Install yq if required
- Clone Shipyard to
~/.shipyard - Install the
devcommand to~/.local/bin - Add
~/.local/binto your PATH if needed
If you prefer to review the code before installing:
git clone https://github.com/dstuchbury/shipyard.git
cd shipyard
./install.sh
source ~/.bashrcThen verify:
dev doctorTo update Shipyard in the future, simply rerun the installer:
curl -fsSL https://raw.githubusercontent.com/dstuchbury/shipyard/main/install.sh | bashOr if you installed via git:
cd ~/.shipyard
git pullEdit the project configuration file:
config/projects.yml
Example:
master:
path: ~/phpdev
composeFileName: docker-compose.yml
projects:
- name: api-gateway
path: ~/code/php/api-gateway
composeFileName: docker-compose-dev-wsl.yml
appContainer: api-fpm
webContainer: api-nginx
- name: status-notification-service
path: ~/code/php/status-notification-service
composeFileName: docker-compose-dev-wsl.yml
appContainer: sns-fpm
webContainer: sns-nginxEach project requires:
| Field | Description |
|---|---|
name |
Name used in CLI commands |
path |
Folder containing the docker compose file |
composeFileName |
Docker compose file name |
appContainer |
PHP / application container name |
webContainer |
Web server container name |
dev updev up api-gatewayStops:
- master compose stack
- all configured projects
dev downdev down api-gatewaydev restart api-gatewayShipyard can automatically attach to containers.
If the project is not running, it will automatically start it.
dev attach api-gatewaydev attach web api-gatewaydev logs api-gatewaydev logs web api-gatewayLogs will follow the container output.
Show all configured projects and whether they are running.
dev listExample output:
PROJECT STATUS
------------------------------------ ------------
api-gateway 🟢 running
status-notification-service 🔴 stopped
Run environment checks.
dev doctorThis verifies:
- Docker installed
- Docker Compose available
- yq installed
- Configuration file present
- Project configuration validity
- Project running status
Start environment:
dev upStart a project:
dev up api-gatewayAttach to PHP container:
dev attach api-gatewayView logs:
dev logs api-gatewayCheck status:
dev listShutdown everything:
dev downShipyard focuses on:
- Consistency across projects
- Minimal commands
- Fast developer workflows
- Zero complexity
Most developers only need to remember:
dev up
dev attach
dev logs
dev list
dev down
MIT Licence
Copyrigy 2026 Dan Stuchbury
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.