deploy/mainnet: enable ollama + supplier compose, set LIVE_CHAIN=1

Drops the "DEFERRED — Do NOT compose up" banner from
docker-compose.ollama.yml and docker-compose.supplier.yml (mirrors
cd0edd7 for buyer.yml + indexer.yml) and adds the missing LIVE_CHAIN=1
inline override that the testnet supplier compose has at line 45 —
without it the mainnet supplier silently falls back to
ReadOnlyOgmiosProvider and Claim/Submit never broadcast.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
david
2026-05-19 13:30:43 +02:00
parent 814fe928d1
commit 7910888234
2 changed files with 9 additions and 15 deletions

View File

@@ -1,10 +1,3 @@
# MAINNET DEPLOYMENT — DEFERRED
# Wired but not yet exercised. Mainnet rollout requires:
# - ARCHITECTURE.md §9 #5 (mainnet safety: env-gate, wallet allowlist, MAINNET=1 flag)
# - Real funded mainnet wallets
# - Vector mainnet ogmios stack (apex-dashboard-mainnet) running on the same host
# Do NOT `docker compose up` until those land.
#
# deploy/mainnet/docker-compose.ollama.yml — Ollama (local LLM) — MAINNET # deploy/mainnet/docker-compose.ollama.yml — Ollama (local LLM) — MAINNET
# #
# Mirrors the testnet ollama compose file, with mainnet-prefixed names so a # Mirrors the testnet ollama compose file, with mainnet-prefixed names so a
@@ -13,8 +6,11 @@
# One-shot prerequisite (run once on the host): # One-shot prerequisite (run once on the host):
# docker network create marketplace-mainnet-net # docker network create marketplace-mainnet-net
# #
# Bring up (DO NOT until mainnet safety lands): # Bring up:
# docker compose -f deploy/mainnet/docker-compose.ollama.yml up -d # docker compose -f deploy/mainnet/docker-compose.ollama.yml up -d
#
# After the container is healthy, pull the model:
# docker exec marketplace-mainnet-ollama ollama pull qwen2.5:0.5b
name: marketplace-mainnet-ollama name: marketplace-mainnet-ollama

View File

@@ -1,10 +1,3 @@
# MAINNET DEPLOYMENT — DEFERRED
# Wired but not yet exercised. Mainnet rollout requires:
# - ARCHITECTURE.md §9 #5 (mainnet safety: env-gate, wallet allowlist, MAINNET=1 flag)
# - Real funded mainnet wallets
# - Vector mainnet ogmios stack (apex-dashboard-mainnet) running on the same host
# Do NOT `docker compose up` until those land.
#
# deploy/mainnet/docker-compose.supplier.yml — Supplier — MAINNET # deploy/mainnet/docker-compose.supplier.yml — Supplier — MAINNET
# #
# Mirrors the testnet supplier compose, with three changes: # Mirrors the testnet supplier compose, with three changes:
@@ -34,6 +27,11 @@ services:
OLLAMA_URL: http://marketplace-mainnet-ollama:11434 OLLAMA_URL: http://marketplace-mainnet-ollama:11434
OGMIOS_URL: ws://ogmios:1337 OGMIOS_URL: ws://ogmios:1337
PORT: "8080" PORT: "8080"
# Enable LiveOgmiosProvider so submitTx/awaitTx actually broadcast.
# Mirrors the testnet supplier compose; without this the supplier
# silently falls back to ReadOnlyOgmiosProvider and Claim/Submit
# never reach chain.
LIVE_CHAIN: "1"
# NETWORK_ID intentionally not pinned here — it MUST come from the # NETWORK_ID intentionally not pinned here — it MUST come from the
# operator-provided supplier/.env on a mainnet host. Setting it via # operator-provided supplier/.env on a mainnet host. Setting it via
# compose would be a footgun: a stray re-up on testnet hardware could # compose would be a footgun: a stray re-up on testnet hardware could