<commit_before>version: '3.3'
services:
  wrapper:
    build:
      context: ..
      dockerfile: docker/Dockerfile
    image: mapotempo/router-wrapper:${MAPOTEMPO_VERSION:-latest}
    ports:
      - "8082:80" # HOST:CONTAINER, edit only HOST part
    volumes:
      - ./production.rb:/srv/app/config/environments/production.rb
      - ./production.rb:/srv/app/config/environments/development.rb
      - ./poly:/srv/app/poly
    links:
      - redis-cache
      - otp
    environment:
      APP_ENV: production # Swith to "development" for more traces

  otp:
    build:
      context: otp
      args:
        OTP_VERSION: 1.0.0
    image: mapotempo/otp-server:1.0.0
    volumes:
      - ./otp/data:/srv/otp/data

  osrm-car-iceland:
    build:
      context: osrm/server
    image: mapotempo/osrm-server:${OSRM_VERSION:-latest}
    environment:
      BASENAME: car-iceland
    volumes:
      - ./osrm/data:/srv/osrm/data
      - /dev/log:/dev/log

  redis-cache:
    image: redis:${REDIS_VERSION:-3.2-alpine}
    command: redis-server --save ""
<commit_msg>Define a OSRM version into docker-compose.yml<commit_after>version: '3.3'
services:
  wrapper:
    build:
      context: ..
      dockerfile: docker/Dockerfile
    image: mapotempo/router-wrapper:${MAPOTEMPO_VERSION:-latest}
    ports:
      - "8082:80" # HOST:CONTAINER, edit only HOST part
    volumes:
      - ./production.rb:/srv/app/config/environments/production.rb
      - ./production.rb:/srv/app/config/environments/development.rb
      - ./poly:/srv/app/poly
    links:
      - redis-cache
      - otp
    environment:
      APP_ENV: production # Swith to "development" for more traces

  otp:
    build:
      context: otp
      args:
        OTP_VERSION: 1.0.0
    image: mapotempo/otp-server:1.0.0
    volumes:
      - ./otp/data:/srv/otp/data

  osrm-car-iceland:
    build:
      context: osrm/server
    image: mapotempo/osrm-server:${OSRM_VERSION:-mt-release-5.5-1-1}
    environment:
      BASENAME: car-iceland
    volumes:
      - ./osrm/data:/srv/osrm/data
      - /dev/log:/dev/log

  redis-cache:
    image: redis:${REDIS_VERSION:-3.2-alpine}
    command: redis-server --save ""

{'fraction_non_alphanumeric': 0.13564814814814816, 'fraction_numerical': 0.016666666666666666, 'mean_word_length': 2.249624060150376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1042162', 'n_tokens_mistral': 832, 'n_tokens_neox': 792, 'n_words': 129}