<commit_before>---
version: '3'

volumes:
  services_build: {}

services:

  build_services:
    container_name: build_services
    build:
      context: "${LSEXTPATH:-..}/redef/services"
      dockerfile: Dockerfile.build
    volumes:
      - "services_build:/services"

  services:
    build:
      context: "${LSEXTPATH}/redef/services"
      dockerfile: Dockerfile
    depends_on:
      - build_services
      - fuseki
      - koha
    environment:
      KOHA_MYSQL_USER: "${KOHA_ADMINUSER:-admin}"
      KOHA_MYSQL_PASS: "${KOHA_ADMINPASS:-secret}"
      KOHA_MYSQL_DB: "koha_${KOHA_INSTANCE:-name}"
      KOHA_API_PASS_ENCRYPTED: <PASSWORD>"

  build_patron_client:
    container_name: build_patron_client
    build:
      context: "${LSEXTPATH:-..}/redef/patron-client"
      dockerfile: Dockerfile-build
    volumes:
      - "${LSEXTPATH:-..}/redef/patron-client/public:/usr/src/app/public"

  patron_client:
    build:
      context: "${LSEXTPATH:-..}/redef/patron-client"
      dockerfile: Dockerfile
    depends_on:
      - build_patron_client
      - services

  catalinker:
    build:
      context: "${LSEXTPATH:-..}/redef/catalinker"
      dockerfile: Dockerfile

  elasticsearch:
    environment:
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"<commit_msg>docker-compose: no public mysql port in CI-mode<commit_after>---
version: '3'

volumes:
  services_build: {}

services:

  build_services:
    container_name: build_services
    build:
      context: "${LSEXTPATH:-..}/redef/services"
      dockerfile: Dockerfile.build
    volumes:
      - "services_build:/services"

  services:
    build:
      context: "${LSEXTPATH}/redef/services"
      dockerfile: Dockerfile
    depends_on:
      - build_services
      - fuseki
      - koha
    environment:
      KOHA_MYSQL_USER: "${KOHA_ADMINUSER:-admin}"
      KOHA_MYSQL_PASS: "${KOHA_ADMINPASS:-secret}"
      KOHA_MYSQL_DB: "koha_${KOHA_INSTANCE:-name}"
      KOHA_API_PASS_ENCRYPTED: <PASSWORD>"

  build_patron_client:
    container_name: build_patron_client
    build:
      context: "${LSEXTPATH:-..}/redef/patron-client"
      dockerfile: Dockerfile-build
    volumes:
      - "${LSEXTPATH:-..}/redef/patron-client/public:/usr/src/app/public"

  patron_client:
    build:
      context: "${LSEXTPATH:-..}/redef/patron-client"
      dockerfile: Dockerfile
    depends_on:
      - build_patron_client
      - services

  catalinker:
    build:
      context: "${LSEXTPATH:-..}/redef/catalinker"
      dockerfile: Dockerfile

  elasticsearch:
    environment:
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"

  koha_mysql:
    ports:
{'fraction_non_alphanumeric': 0.12625482625482626, 'fraction_numerical': 0.005405405405405406, 'mean_word_length': 2.7991202346041058, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6573164', 'n_tokens_mistral': 982, 'n_tokens_neox': 935, 'n_words': 135}