version: "2.2"
services:
  ag-solo:
    image: ghcr.io/agoric/agoric-sdk:${SDK_TAG:-20260407040055-982c75}
    ports:
      - "${HOST_PORT:-8000}:${PORT:-8000}"
    volumes:
      - "ag-solo-state:/state"
      - "$HOME/.agoric:/root/.agoric"
    environment:
      - "AG_SOLO_BASEDIR=/state/${SOLO_HOME:-20260407040055-982c75}"
    entrypoint: ag-solo
    command:
      - setup
      - --webhost=0.0.0.0
      - --webport=${PORT:-8000}
      - --netconfig=${NETCONFIG_URL:-https://ollinet.agoric.net/network-config}
volumes:
  ag-solo-state:
