services:
  anchor:
    build:
      context: ..
      dockerfile: deploy/Dockerfile
    container_name: itsgoin-anchor
    restart: unless-stopped
    network_mode: host
    volumes:
      - itsgoin-data:/data
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"
    environment:
      - RUST_LOG=info,iroh=warn,swarm_discovery=warn

volumes:
  itsgoin-data:
