<commit_before>version: '2'
services:
  php:
    # docker run --name php-5.5 --volumes-from share_volume -v /Users/github/docker_lamp/php/conf/conf:/usr/src/php/conf/ -v /Users/github/docker_lamp/php/conf/ext/:/usr/src/php/ext/ -v /Users/github/docker_lamp/php/conf/etc/:/usr/src/php/etc/ -v /Users/github/docker_lamp/php/src/:/usr/src/php/php-ext/ -p 9000:9000 -d my-php:5.5
    build: 
      context: ./php/
      dockerfile: Dockerfile
      args:
        PHP_CONFIGURE_DIR: "${compose_build_php_configure_dir}" # php编译包目录
        PHP_DIR: "${compose_build_php_dir}"
        PHP_VERSION: "${compose_build_php_version}"
        PHP_SHA256: "${compose_build_php_sha256}"
        PHP_GPG_KEYS: "${compose_build_php_gpg_keys}"
        PHP_CONFIGURE_ARGS: "${compose_build_php_configure_args}"
        PHP_PROCESSES_NUM: "${compose_build_php_processes_num}" # 并发安装扩展的数量
    image: "my-php:${compose_build_php_version}"
    container_name: "compose-php-${compose_build_php_version}"
    ports:
      - "9000:9000"
    extends:
      file: "docker-compose-common.yml"
      service: "common_hosts"


  nginx:
    # docker run --name nginx -p 80:80 --volumes-from share_volume -v /Users/github/docker_lamp/nginx/conf/:/usr/src/nginx/conf/ --link php-5.5:php -d  my-nginx
    build: 
      context: ./nginx/
      dockerfile: Dockerfile
      args:
        NGINX_VERSION: "${compose_build_nginx_version}"
        NGINX_DIR: "${compose_build_nginx_dir}"
        NGINX_ARGS: "${compose_build_nginx_args}"
    image: "my-nginx:${compose_build_nginx_version}"
    container_name: "compose-nginx-${compose_build_nginx_version}"
    ports:
      - "80:80"
    extends:
      file: "docker-compose-common.yml"
      service: "common_nginx_aliases"



  base:
    # docker run --name share_volume -v /Users/:/www/ -d my-ubuntu-14.04
    build:
      context: ./base/
      dockerfile: Dockerfile
      args:
        BASE_ZONE: "${base_zone}"
    image: my-ubuntu:14.04
    # network_mode: host




<commit_msg>修复注释错误<commit_after>version: '2'
services:
  php:
    # docker run --name php-5.5 --volumes-from share_volume -v /Users/github/docker_lamp/docker/php/conf/conf:/usr/src/php/conf/ -v /Users/github/docker_lamp/docker/php/conf/ext/:/usr/src/php/ext/ -v /Users/github/docker_lamp/docker/php/conf/etc/:/usr/src/php/etc/ -v /Users/github/docker_lamp/docker/php/src/:/usr/src/php/php-ext/ -p 9000:9000 -d my-php:5.5.36
    build: 
      context: ./php/
      dockerfile: Dockerfile
      args:
        PHP_CONFIGURE_DIR: "${compose_build_php_configure_dir}" # php编译包目录
        PHP_DIR: "${compose_build_php_dir}"
        PHP_VERSION: "${compose_build_php_version}"
        PHP_SHA256: "${compose_build_php_sha256}"
        PHP_GPG_KEYS: "${compose_build_php_gpg_keys}"
        PHP_CONFIGURE_ARGS: "${compose_build_php_configure_args}"
        PHP_PROCESSES_NUM: "${compose_build_php_processes_num}" # 并发安装扩展的数量
    image: "my-php:${compose_build_php_version}"
    container_name: "compose-php-${compose_build_php_version}"
    ports:
      - "9000:9000"
    extends:
      file: "docker-compose-common.yml"
      service: "common_hosts"


  nginx:
    # docker run --name nginx -p 80:80 --volumes-from share_volume -v /Users/github/docker_lamp/docker/nginx/conf/:/usr/src/nginx/conf/ --link php-5.5:php -d  my-nginx-1.10.1
    build: 
      context: ./nginx/
      dockerfile: Dockerfile
      args:
        NGINX_VERSION: "${compose_build_nginx_version}"
        NGINX_DIR: "${compose_build_nginx_dir}"
        NGINX_ARGS: "${compose_build_nginx_args}"
    image: "my-nginx:${compose_build_nginx_version}"
    container_name: "compose-nginx-${compose_build_nginx_version}"
    ports:
      - "80:80"
    extends:
      file: "docker-compose-common.yml"
      service: "common_nginx_aliases"



  base:
    # docker run --name share_volume -v /Users/:/www/ -d my-ubuntu-14.04
    build:
      context: ./base/
      dockerfile: Dockerfile
      args:
        BASE_ZONE: "${base_zone}"
    image: my-ubuntu:14.04
    # network_mode: host





{'fraction_non_alphanumeric': 0.13592467407049735, 'fraction_numerical': 0.02317720907774022, 'mean_word_length': 2.6663716814159293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3720210', 'n_tokens_mistral': 1723, 'n_tokens_neox': 1552, 'n_words': 228}