services:
  pageviews-api:
    image: gitpot.org/sangelo/plausible-pageviews-api:main
    container_name: plausible-pageviews-api
    ports:
      - "3000:3000" # main port
      - "3001:3001" # metrics port
    volumes:
      - ./.env:/app/.env