deploy/mainnet/supplier: use public ogmios, drop apex-net join
The mainnet host (vector-marketplace, 91.98.147.172) has no local apex-dashboard-mainnet stack — the buyer + indexer already reach the chain via the public HTTPS endpoint https://ogmios.vector.mainnet.apexfusion.org. Pin the supplier to the same pattern: drop the ws://ogmios:1337 env override (let supplier/.env supply OGMIOS_URL) and drop the apex-net binding so compose-up doesn't fail on a missing external network. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
# 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 these differences:
|
||||||
# - container_name + project name use the marketplace-mainnet- prefix
|
# - container_name + project name use the marketplace-mainnet- prefix
|
||||||
# - apex-net is bound to apex-dashboard-mainnet_mainnet-net
|
# - No apex-net join: the mainnet host reaches ogmios via the public HTTPS
|
||||||
# (created by the apex-dashboard-mainnet stack)
|
# endpoint (https://ogmios.vector.mainnet.apexfusion.org) supplied by
|
||||||
|
# supplier/.env — same pattern as the mainnet buyer + indexer.
|
||||||
# - Traefik router name + Host rule drop the `testnet.` infix
|
# - Traefik router name + Host rule drop the `testnet.` infix
|
||||||
#
|
#
|
||||||
# Pre-flight networks (must already exist):
|
# Pre-flight networks (must already exist):
|
||||||
# docker network create marketplace-mainnet-net # one-shot
|
# docker network create marketplace-mainnet-net # one-shot
|
||||||
# # apex-dashboard-mainnet_mainnet-net is created by apex-dashboard-mainnet
|
|
||||||
# # traefik-net is created by the Traefik project
|
# # traefik-net is created by the Traefik project
|
||||||
|
|
||||||
name: marketplace-mainnet-supplier
|
name: marketplace-mainnet-supplier
|
||||||
@@ -25,17 +25,16 @@ services:
|
|||||||
required: false
|
required: false
|
||||||
environment:
|
environment:
|
||||||
OLLAMA_URL: http://marketplace-mainnet-ollama:11434
|
OLLAMA_URL: http://marketplace-mainnet-ollama:11434
|
||||||
OGMIOS_URL: ws://ogmios:1337
|
|
||||||
PORT: "8080"
|
PORT: "8080"
|
||||||
# Enable LiveOgmiosProvider so submitTx/awaitTx actually broadcast.
|
# Enable LiveOgmiosProvider so submitTx/awaitTx actually broadcast.
|
||||||
# Mirrors the testnet supplier compose; without this the supplier
|
# Mirrors the testnet supplier compose; without this the supplier
|
||||||
# silently falls back to ReadOnlyOgmiosProvider and Claim/Submit
|
# silently falls back to ReadOnlyOgmiosProvider and Claim/Submit
|
||||||
# never reach chain.
|
# never reach chain.
|
||||||
LIVE_CHAIN: "1"
|
LIVE_CHAIN: "1"
|
||||||
# NETWORK_ID intentionally not pinned here — it MUST come from the
|
# NETWORK_ID and OGMIOS_URL intentionally not pinned here — they MUST
|
||||||
# operator-provided supplier/.env on a mainnet host. Setting it via
|
# come from the operator-provided supplier/.env on a mainnet host.
|
||||||
# compose would be a footgun: a stray re-up on testnet hardware could
|
# Setting them via compose would be a footgun: a stray re-up on
|
||||||
# silently re-tag the supplier as mainnet.
|
# testnet hardware could silently re-tag the supplier as mainnet.
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "wget -qO- http://localhost:8080/healthz >/dev/null || exit 1"]
|
test: ["CMD-SHELL", "wget -qO- http://localhost:8080/healthz >/dev/null || exit 1"]
|
||||||
interval: 20s
|
interval: 20s
|
||||||
@@ -44,7 +43,6 @@ services:
|
|||||||
start_period: 15s
|
start_period: 15s
|
||||||
networks:
|
networks:
|
||||||
- marketplace-mainnet-net
|
- marketplace-mainnet-net
|
||||||
- apex-net
|
|
||||||
- traefik-net
|
- traefik-net
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
@@ -62,9 +60,6 @@ networks:
|
|||||||
marketplace-mainnet-net:
|
marketplace-mainnet-net:
|
||||||
external: true
|
external: true
|
||||||
name: marketplace-mainnet-net
|
name: marketplace-mainnet-net
|
||||||
apex-net:
|
|
||||||
external: true
|
|
||||||
name: apex-dashboard-mainnet_mainnet-net
|
|
||||||
traefik-net:
|
traefik-net:
|
||||||
external: true
|
external: true
|
||||||
name: traefik-net
|
name: traefik-net
|
||||||
|
|||||||
Reference in New Issue
Block a user