<commit_before>version: "2"
services:
  <%= name %>_rabbitmq:
    image: rabbitmq

  <%= name %>_db:
    build:
      context: .
      dockerfile: Dockerfile.db
    env_file: .env.db

  <%= name %>_common: &common
    build:
      context: .
      args:
        - SKYCRAWLERS_ENV=development
    links:
      - <%= name %>_rabbitmq
      - <%= name %>_db
    volumes:
      - ./:/home/crawler
      - ./docker-cache/.bundle:/home/crawler/.bundle
      - ./docker-cache/bundle:/home/crawler/vendor/bundle
    working_dir: /home/crawler
    env_file: .env

  <%= name %>_crawler:
    <<: *common
    command: crawler

  <%= name %>_processor:
    <<: *common
    command: processor<commit_msg>Set static hostname<commit_after>version: "2"
services:
  <%= name %>_rabbitmq:
    hostname: rabbitmq
    image: rabbitmq

  <%= name %>_db:
    hostname: db
    build:
      context: .
      dockerfile: Dockerfile.db
    env_file: .env.db

  <%= name %>_common: &common
    build:
      context: .
      args:
        - SKYCRAWLERS_ENV=development
    links:
      - <%= name %>_rabbitmq
      - <%= name %>_db
    volumes:
      - ./:/home/crawler
      - ./docker-cache/.bundle:/home/crawler/.bundle
      - ./docker-cache/bundle:/home/crawler/vendor/bundle
    working_dir: /home/crawler
    env_file: .env

  <%= name %>_crawler:
    <<: *common
    hostname: crawler
    command: crawler

  <%= name %>_processor:
    <<: *common
    hostname: processor
    depends_on:
      - <%= name %>_crawler
    command: processor
{'fraction_non_alphanumeric': 0.15085638998682477, 'fraction_numerical': 0.0013175230566534915, 'mean_word_length': 2.1449275362318843, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7060419', 'n_tokens_mistral': 592, 'n_tokens_neox': 526, 'n_words': 102}