個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Shipyard is a self-hosted PaaS built on Docker Swarm and Rust. Deploy from Git or any image, roll back in one click, manage domains with auto-TLS, and monitor your entire cluster — from a dashboard that runs on your own server.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A self-hosted PaaS for deploying and managing containerized applications on your own infrastructure using Docker Swarm and Traefik.
Shipyard gives you a Heroku-like deployment experience on infrastructure you control. Connect your Git repositories, define your services, and Shipyard handles building images, routing traffic, and monitoring deployments — all from a visual topology canvas.檢視完整 README ↗A self-hosted PaaS for deploying and managing containerized applications on your own infrastructure using Docker Swarm and Traefik.
Shipyard gives you a Heroku-like deployment experience on infrastructure you control. Connect your Git repositories, define your services, and Shipyard handles building images, routing traffic, and monitoring deployments — all from a visual topology canvas.
Key features:
┌─────────────┐ ┌──────────────┐ ┌──────────────┐
│ Browser │───▶│ SvelteKit │───▶│ Rust/Axum │
│ │ │ (Frontend) │ │ (Backend) │
│ │◀───│ │◀───│ │
│ MQTT WS │ └──────────────┘ └──────┬───────┘
└─────────────┘ │
│ ┌───────┼───────┐
│ │ │ │
▼ ▼ ▼ ▼
┌──────────┐ ┌─────────┐ ┌───┐ ┌────────┐
│ rmqtt │ │Postgres │ │Git│ │Docker │
│ broker │ │ DB │ │ │ │Swarm │
└──────────┘ └─────────┘ └───┘ └────────┘
│
┌────▼────┐
│ Traefik │
└─────────┘
Backend crates (backend/crates/):
| Crate | Purpose |
|---|---|
api | Axum HTTP server, REST endpoints, deployment scheduler |
engine | Deployment execution, Docker image build/push |
db | SQLx migrations and query helpers |
docker | Docker API client wrapper |
docker_worker | Worker for Docker Swarm task polling |
git | Git clone/pull operations |
traefik | Traefik dynamic config generation |
mqtt_broker | MQTT client for publishing events |
common | Shared types, errors, config |
docker swarm init)curl -fsSL https://raw.githubusercontent.com/triandamai/shipyard/main/scripts/install.sh | bash
The installer will:
docker stack deployThe installer is idempotent — re-running it updates the deployment while preserving existing secrets.
All configuration lives in /opt/shipyard/.env after installation.
| Variable | Description |
|---|---|
DOMAIN | Your base domain (e.g. example.com) |
ACME_EMAIL | Email for Let's Encrypt TLS certificates |
SHIPYARD__AUTH__JWT_SECRET | JWT signing secret |
SHIPYARD__DATABASE__URL | PostgreSQL connection string |
SHIPYARD__MQTT__USERNAME | MQTT broker username (for backend) |
SHIPYARD__MQTT__PASSWORD | MQTT broker password (for backend) |
When adding a domain to a service, Shipyard auto-generates a subdomain:
<name>.<public-ip>.nip.io — resolves via nip.io wildcard DNS, no DNS config needed<name>.traefik.me — resolves to 127.0.0.1 via traefik.meReal-time events are delivered over MQTT WebSocket. The broker (rmqtt) is configured to require authentication:
| Image | Description |
|---|---|
triandamai827/shipyard-backend:latest | Rust API server |
triandamai827/shipyard-frontend:latest | SvelteKit frontend |
cd backend
cp .env.example .env # fill in DATABASE_URL etc.
cargo run -p api
cd frontend
cp .env.example .env
npm install
npm run dev
cd backend
cargo run -p db --bin migrate
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.
git checkout -b feat/my-feature)MIT — Copyright (c) 2025 Trian