<commit_before>---
version: '2.1'

networks:
  backend:
    driver: bridge

volumes:
  koha_mysql_data: {}

services:
  koha:
    container_name: koha_build
    image: "digibib/koha:${GITREF}"
    build:
      context: "${KOHAPATH}"
      dockerfile: Dockerfile
    networks:
      - backend
    depends_on:
      - koha_mysql
    cap_add:
      - SYS_NICE
      - DAC_READ_SEARCH
      - MKNOD
    environment:
      KOHA_ADMINPASS: "${KOHA_ADMINPASS:-secret}"
      KOHA_ADMINUSER: "${KOHA_ADMINUSER:-admin}"
      KOHA_INSTANCE: "${KOHA_INSTANCE:-name}"
      KOHA_DBHOST: koha_mysql
      DEFAULT_LANGUAGE: nb-NO
      EMAIL_ENABLED: "True"
      SMTP_SERVER_HOST: mailrelay # access through network 'backend'
      SMTP_SERVER_PORT: 2525
      MESSAGE_QUEUE_FREQUENCY: 15
      SMS_DRIVER: "${SMS_DRIVER:-NO::LinkMobilityHTTP}"
      SMS_USER: "${SMS_USER:-smsuser}"
      SMS_PASS: "${SMS_PASS:-<PASSWORD>}"
      API_PASSPHRASE: "${API_PASSPHRASE:-ChangeMe}"
      NLBASEUSER: "${NLBASEUSER:-nlbaseuser}"
      NLBASEPASS: "${NLBASEPASS:-nlbasepass}"
      NLVENDORURL: "${NLVENDORURL:-http://nlsink:9999}"
      NLVENDORUSER: "${NLVENDORUSER:-nlvendoruser}"
      NLVENDORPASS: "${NLVENDORPASS:-nlvendorpass}"
      NLVENDORKEY: "${NLVENDORKEY:-nlvendorkey}"<commit_msg>Add missing build arg KOHA_BUILD<commit_after>---
version: '2.1'

networks:
  backend:
    driver: bridge

volumes:
  koha_mysql_data: {}

services:
  koha:
    container_name: koha_build
    image: "digibib/koha:${GITREF}"
    build:
      context: "${KOHAPATH}"
      dockerfile: Dockerfile
      args:
        KOHA_BUILD: "$KOHA_BUILD"
    networks:
      - backend
    depends_on:
      - koha_mysql
    cap_add:
      - SYS_NICE
      - DAC_READ_SEARCH
      - MKNOD
    environment:
      KOHA_ADMINPASS: "${KOHA_ADMINPASS:-<PASSWORD>}"
      KOHA_ADMINUSER: "${KOHA_ADMINUSER:-admin}"
      KOHA_INSTANCE: "${KOHA_INSTANCE:-name}"
      KOHA_DBHOST: koha_mysql
      DEFAULT_LANGUAGE: nb-NO
      EMAIL_ENABLED: "True"
      SMTP_SERVER_HOST: mailrelay # access through network 'backend'
      SMTP_SERVER_PORT: 2525
      MESSAGE_QUEUE_FREQUENCY: 15
      SMS_DRIVER: "${SMS_DRIVER:-NO::LinkMobilityHTTP}"
      SMS_USER: "${SMS_USER:-smsuser}"
      SMS_PASS: "${SMS_PASS:-<PASSWORD>}"
      API_PASSPHRASE: "${API_PASSPHRASE:-ChangeMe}"
      NLBASEUSER: "${NLBASEUSER:-nlbaseuser}"
      NLBASEPASS: "${NLBASEPASS:-nl<PASSWORD>}"
      NLVENDORURL: "${NLVENDORURL:-http://nlsink:9999}"
      NLVENDORUSER: "${NLVENDORUSER:-nlvendoruser}"
      NLVENDORPASS: "${NLVENDORPASS:-<PASSWORD>}"
      NLVENDORKEY: "${NLVENDORKEY:-nlvendorkey}"
{'fraction_non_alphanumeric': 0.13295238095238096, 'fraction_numerical': 0.009142857142857144, 'mean_word_length': 3.2218649517684885, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '7287540', 'n_tokens_mistral': 1010, 'n_tokens_neox': 1015, 'n_words': 148}