Logo
Explore Help
Sign In
michal/lab
1
0
Fork 0
You've already forked lab
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
Files
9803817004ea6a383518a4e62c163a0aac376d1b
lab/bastion/stack/docker-compose.yml

22 lines
418 B
YAML
Raw Normal View History

feat: TypeScript bastion rewrite (initial scaffold) Full rewrite of the bash bastion.sh into a TypeScript application: - Fastify HTTP server with typed routes (dispatch, kickstart, API) - Commander CLI (serve, install, list, reprovision) - Kickstart templates as TypeScript template literals (no more heredoc hell) - dnsmasq management via execa subprocess - Merged machine list view (hardware + install info in one table) - Containerized via podman-compose (Dockerfile + docker-compose.yml) - All partition logic preserved (LVM, reprovision detection, role-based) Not yet tested end-to-end — needs VM validation before replacing bash version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 02:55:52 +00:00
services:
bastion:
build:
context: ..
dockerfile: stack/Dockerfile
network_mode: host
restart: unless-stopped
env_file: .env
volumes:
- bastion-state:/data/state
- bastion-tftp:/data/tftp
- bastion-http:/data/http
- ${SSH_KEY_PATH:-~/.ssh}:/root/.ssh:ro
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
bastion-state:
bastion-tftp:
bastion-http:
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 27ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API