Mirrored from GitHub github.com/roostorg/osprey
0

Configure Feed

Select the types of activity you want to include in your feed.

osprey / docker-compose.async-worker.yaml
1.1 kB 24 lines
1# EXPERIMENTAL — opt-in asyncio-native worker (Phase 0: static rules + stdout sink, 2# no Kafka input). Kept in its own compose file so it is never built or started by the 3# default stack (or the `test` profile). Run it explicitly with: 4# docker compose -f docker-compose.async-worker.yaml up --build osprey-async-worker 5services: 6 osprey-async-worker: 7 container_name: osprey-async-worker 8 build: 9 context: . 10 dockerfile: osprey_async_worker/Dockerfile 11 command: ["osprey-async-worker"] 12 environment: 13 - PYTHONPATH=/osprey 14 # Bundled stdlib example rules + sample actions so the worker runs out of the box. 15 - OSPREY_RULES_PATH=/osprey/osprey_async_worker/example_rules 16 - OSPREY_INPUT_FILE=/osprey/osprey_async_worker/example_rules/sample_actions.jsonl 17 - DD_TRACE_ENABLED=False 18 - DD_DOGSTATSD_DISABLE=True 19 volumes: 20 - ./osprey_async_worker:/osprey/osprey_async_worker 21 - ./osprey_worker:/osprey/osprey_worker 22 - ./osprey_rpc:/osprey/osprey_rpc 23 - ./example_rules:/osprey/example_rules 24 - ./entrypoint.sh:/osprey/entrypoint.sh