# documentation: https://docs.browserless.io/
# slogan: A headless Chrome browser as a service .
# tags: chrome,headless,browser,service
# logo: svgs/browserless.svg
# port: 3000

services:
  browserless:
    image: ghcr.io/browserless/chromium
    environment:
      - SERVICE_FQDN_BROWSERLESS_3000
      - TOKEN=$SERVICE_BASE64_BROWSERLESS_TOKEN
    expose:
      - 3000
    healthcheck:
      test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/docs"]
      interval: 2s
      timeout: 10s
      retries: 15
