Marketplace deployment — Docker + K3s + TFGrid + branding configs
  • Shell 63.2%
  • TypeScript 26.3%
  • Makefile 6.3%
  • HCL 2.9%
  • JavaScript 1.3%
Find a file
2026-04-10 14:14:20 -04:00
docs docs: update e2e_checklist F4, F7, F8 to done (#69) 2026-04-10 14:14:20 -04:00
instances feat: initial deployment configs from monorepo split (#8) 2026-03-22 23:09:27 -04:00
k3s feat: add prod tfvars for K3s HA deployment (#49) 2026-03-27 13:43:05 -04:00
k8s feat: rewrite k3s/ + k8s/ for 5-node HA with embedded OSIS (#49) 2026-03-27 11:33:49 -04:00
scripts feat: initial deployment configs from monorepo split (#8) 2026-03-22 23:09:27 -04:00
single-vm feat: expose marketplace Unix socket to host for hero_inspector (#60) 2026-04-03 12:52:06 -04:00
tests test: add listing management tests (update, delist, cascade) (#69) 2026-04-10 13:37:50 -04:00
.gitignore chore: gitignore Playwright test-results 2026-03-25 20:15:38 -04:00
Containerfile.admin fix: correct Dioxus build output paths in Containerfiles (#10) 2026-03-23 09:38:35 -04:00
Containerfile.backend feat: embedded OSIS container config — data volume + local backend (#34) 2026-03-26 07:11:56 -04:00
Containerfile.frontend fix: service worker uses network-first for HTML/WASM, bust stale cache 2026-04-04 14:44:34 -04:00
Makefile test: onboarding integration tests — 18 tests for full user flow (#65) 2026-04-03 23:45:21 -04:00
README.md docs: add SPA architecture documentation (#13) 2026-03-23 23:37:53 -04:00

Marketplace Deployment

Infrastructure and deployment tooling for the Project Mycelium Marketplace.

Directory layout

deploy/
  single-vm/          # TFGrid single-VM deployment (OpenTofu + Docker Compose)
    envs/
      prod/            # Production environment config
      dev/             # Development environment config
    scripts/           # Setup and update scripts
    tf/                # OpenTofu (Terraform) modules
    Makefile           # Deployment commands (make update ENV=prod)
  k8s/                 # Kubernetes manifests (future)
  Containerfile.backend   # Backend container build
  Containerfile.admin     # Admin panel container build
  Makefile             # Top-level deploy commands

Quick start

Local Docker Compose (from project root)

# Start full stack (marketplace + hero_osis + hero_ledger + Caddy)
make local-up

# Verify
curl http://localhost:8000/api/health

# Stop
make local-down

Single-VM deployment (TFGrid)

cd single-vm

# 1. Configure credentials
cp envs/dev/app.env.example envs/dev/app.env
# Edit app.env with your settings

# 2. Full deploy
make all ENV=dev

# 3. Quick update (pull new image + restart)
make update ENV=dev

See single-vm/Makefile for all available targets.

Container images

Images are built from the Containerfiles in this directory and pushed to:

forge.ourworld.tf/mycelium_code/projectmycelium_marketplace
Tag Source
:development development branch
:latest main branch or version tag
:vX.Y.Z Git version tag

Building images manually

# Backend
podman build -f Containerfile.backend -t projectmycelium_marketplace:dev ..

# Admin
podman build -f Containerfile.admin -t marketplace_admin:dev ../admin

Environments

Environment URL Branch
Production projectmycelium.org/marketplace/demo main
Development (SSR) dev.projectmycelium.org/marketplace/demo development
Development (SPA) dev-app.projectmycelium.org development
Development (Admin) dev-admin.projectmycelium.org development
Local localhost:8000 any

Documentation

  • SPA Architecture — Dioxus frontend design, auth flow, API proxy, cart, deployment