<commit_before># NOTE: Containers use the generic "coreapi" prefix so they're independent of
#       the particular project name. Project specific images are always built
#       locally when using the docker-compose file.
#
#   The services are all configured with "network_mode: bridge" to work around
#   name lookup problems with docker, docker-compose and the use of a local DNS
#   resolver on the host: https://bugzilla.redhat.com/show_bug.cgi?id=1258350
version: "2"
services:
  pgbouncer:
    build:
      context: pgbouncer/
      dockerfile: Dockerfile
  server:
    build:
      context: server/
      dockerfile: Dockerfile
    volumes:
     - ./worker/cucoslib:/usr/lib/python3.4/site-packages/cucoslib:ro,z
     - ./server/bayesian:/usr/lib/python3.4/site-packages/bayesian:ro,z
     - ./server/kerberos/keytab:/mnt:ro,z
     - ./server/coreapi-httpd.conf:/etc/httpd/conf.d/coreapi-httpd.conf:ro,z
  jobs:
    build:
      context: jobs/
      dockerfile: Dockerfile
    volumes:
     - ./worker/cucoslib:/usr/lib/python3.4/site-packages/cucoslib:ro,z
     - ./jobs/bayesian_jobs:/usr/lib/python3.4/site-packages/bayesian_jobs:ro,z
  worker-api: &worker
    build:
      context: worker/
      dockerfile: Dockerfile
    volumes:
     - ./worker/cucoslib:/usr/lib/python3.4/site-packages/cucoslib:ro,z
     - ./worker/hack/secrets.yaml:/var/lib/secrets/secrets.yaml:ro,z<commit_msg>Use the current executable when developing<commit_after># NOTE: Containers use the generic "coreapi" prefix so they're independent of
#       the particular project name. Project specific images are always built
#       locally when using the docker-compose file.
#
#   The services are all configured with "network_mode: bridge" to work around
#   name lookup problems with docker, docker-compose and the use of a local DNS
#   resolver on the host: https://bugzilla.redhat.com/show_bug.cgi?id=1258350
version: "2"
services:
  pgbouncer:
    build:
      context: pgbouncer/
      dockerfile: Dockerfile
  server:
    build:
      context: server/
      dockerfile: Dockerfile
    volumes:
     - ./worker/cucoslib:/usr/lib/python3.4/site-packages/cucoslib:ro,z
     - ./server/bayesian:/usr/lib/python3.4/site-packages/bayesian:ro,z
     - ./server/kerberos/keytab:/mnt:ro,z
     - ./server/coreapi-httpd.conf:/etc/httpd/conf.d/coreapi-httpd.conf:ro,z
  jobs:
    build:
      context: jobs/
      dockerfile: Dockerfile
    volumes:
     - ./worker/cucoslib:/usr/lib/python3.4/site-packages/cucoslib:ro,z
     - ./jobs/bayesian_jobs:/usr/lib/python3.4/site-packages/bayesian_jobs:ro,z
     - ./jobs/bayesian-jobs.py:/usr/bin/bayesian-jobs.py:ro,z
  worker-api: &worker
    build:
      context: worker/
      dockerfile: Dockerfile
    volumes:
     - ./worker/cucoslib:/usr/lib/python3.4/site-packages/cucoslib:ro,z
     - ./worker/hack/secrets.yaml:/var/lib/secrets/secrets.yaml:ro,z
     - ./worker/hack/workers.sh:/usr/bin/workers.sh:ro,z
{'fraction_non_alphanumeric': 0.1247450713800136, 'fraction_numerical': 0.012236573759347382, 'mean_word_length': 2.9609690444145356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5252228', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1020, 'n_words': 198}