services:
  sellable-agent-host:
    image: ${SELLABLE_AGENT_IMAGE:?set exact Sellable Agent image}
    container_name: ${SELLABLE_AGENT_CONTAINER_NAME:-sellable-agent-host-11201}
    hostname: ${SELLABLE_AGENT_HOSTNAME:-hermes-hostinger-1807396}
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
      - SYS_ADMIN
    security_opt:
      - apparmor=unconfined
      - seccomp=unconfined
    cgroup: host
    pid: host
    volumes:
      - ./bootstrap:/var/lib/sellable-agent-bootstrap:rw
      - sellable-agent-worker:/var/lib/sellable-agent-worker
      - sellable-agent-runtime:/var/lib/sellable-agent-runtime
      - sellable-agent-profiles:/var/lib/sellable-agent-profiles
      - /sys/fs/cgroup:/sys/fs/cgroup:rw

volumes:
  sellable-agent-worker:
  sellable-agent-runtime:
  sellable-agent-profiles:
