services: data-collect: network_mode: host build: . command: python main.py extra_hosts: - redpanda-0:10.0.0.139 volumes: - .:/app working_dir: /app