version: "3.5" services: cardano-node: image: ghcr.io/intersectmbo/cardano-node:11.1.1 command: [ "run", "--config", "/config/config.json", "--database-path", "/data/db", "--socket-path", "/ipc/node.socket", "--topology", "/config/topology.json" ] volumes: - ./server/config/network/${NETWORK:-mainnet}/cardano-node:/config - ./server/config/network/${NETWORK:-mainnet}/genesis:/genesis - node-db:/data - node-ipc:/ipc restart: on-failure logging: driver: "json-file" options: max-size: "400k" max-file: "20" ogmios: image: ghcr.io/intersectmbo/ogmios:latest restart: on-failure command: [ "--host", "0.0.0.0", "--node-socket", "/ipc/node.socket", "--node-config", "/config/cardano-node/config.json" ] volumes: - ./server/config/network/${NETWORK:-mainnet}:/config - node-ipc:/ipc ports: - ${OGMIOS_PORT:-1337}:1337 volumes: node-db: node-ipc: