* backend: refactor swarm support to also support podman (#260) - implement podman support as subclass of swarm deployment - podman is used when 'RUNTIME=podman' env var is set - podman socket is mapped instead of docker socket - podman-compose is used instead of docker-compose (though docker-compose works with podman, it does not support secrets, but podman-compose does) - separate cli utils into SwarmRunner and PodmanRunner which extends it - using config.yaml and config.env, both copied from sample versions - work on simplifying config: add docker-compose.podman.yml and docker-compose.swarm.yml and signing and debug configs in ./configs - add {build,run,stop}-{swarm,podman}.sh in scripts dir - add init-configs, only copy if configs don't exist - build local image use current version of podman, to support both podman 3.x and 4.x - additional fixes for after testing podman on centos - docs: update Deployment.md to cover swarm, podman, k8s deployment
18 lines
557 B
YAML
18 lines
557 B
YAML
redis_image: redis
|
|
crawler_image: webrecorder/browsertrix-crawler:latest
|
|
|
|
crawler_requests_cpu: "0.8"
|
|
crawler_limits_cpu: "1.0"
|
|
|
|
crawler_requests_memory: "800M"
|
|
crawler_limits_memory: "1G"
|
|
|
|
crawler_args: "--timeout 90 --logging stats,behaviors,debug --generateWACZ --text --workers 2 --collection thecrawl --screencastPort 9037 --sizeLimit 100000000000 --timeLimit 18000 --healthCheckPort 6065 --waitOnDone"
|
|
|
|
storages:
|
|
default:
|
|
endpoint_url: http://minio:9000/btrix-data/
|
|
access_endpoint_url: /data/
|
|
access_key: ADMIN
|
|
secret_key: PASSW0RD
|