# This docker-compose file is for the screenshot-capture-tool service. # # It is a standalone daemon that captures screenshots of web pages, based # on the domain database of Marginalia Search. # # It does not start the search engine itself. # x-svc: &service env_file: - "run/env/service.env" volumes: - conf:/wmsa/conf:ro - data:/wmsa/data - logs:/var/log/wmsa networks: - wmsa services: screenshot-capture-tool: <<: *service image: "marginalia/screenshot-capture-tool" container_name: "screenshot-capture-tool" networks: - wmsa - headlesschrome depends_on: - browserless browserless: <<: *service image: "browserless/chrome" container_name: "headlesschrome" env_file: - "run/env/browserless.env" ports: - "3000:3000" networks: - wmsa - headlesschrome networks: wmsa: headlesschrome: volumes: logs: driver: local driver_opts: type: none o: bind device: run/logs conf: driver: local driver_opts: type: none o: bind device: run/conf data: driver: local driver_opts: type: none o: bind device: run/data