Files
agents-marketplace/deploy/mainnet/docker-compose.ollama.yml
david 7910888234 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>
2026-05-19 13:30:43 +02:00

45 lines
1.2 KiB
YAML

# deploy/mainnet/docker-compose.ollama.yml — Ollama (local LLM) — MAINNET
#
# Mirrors the testnet ollama compose file, with mainnet-prefixed names so a
# testnet stack and a mainnet stack can run side-by-side on the same host.
#
# One-shot prerequisite (run once on the host):
# docker network create marketplace-mainnet-net
#
# Bring up:
# 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
services:
ollama:
image: ollama/ollama:latest
container_name: marketplace-mainnet-ollama
restart: unless-stopped
volumes:
- marketplace_mainnet_ollama_models:/root/.ollama
healthcheck:
test: ["CMD-SHELL", "ollama list >/dev/null 2>&1 || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
networks:
- marketplace-mainnet-net
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
marketplace-mainnet-net:
external: true
name: marketplace-mainnet-net
volumes:
marketplace_mainnet_ollama_models: