<commit_before>version: '2'
services:
  son-gtkapi:
    image: registry.sonata-nfv.eu:5000/son-gtkapi
    links:
     - son-gtkpkg
     - son-gtksrv
    environment:
     - RACK_ENV=integration
     - PACKAGE_MANAGEMENT_URL=http://son-gtkpkg:5100
     - SERVICE_MANAGEMENT_URL=http://son-gtksrv:5300
     - FUNCTION_MANAGEMENT_URL=http://son-gtkfnct:5500 # 5600?
     - VIM_MANAGEMENT_URL=http://son-gtkvim:5700
     - RECORD_MANAGEMENT_URL=http://son-gtkrec:5800
     - KPI_MANAGEMENT_URL=http://son-gtkkpi:5400
     - LICENCE_MANAGEMENT_URL=http://son-gtkkpi:5900
    ports:
      - "32001:5000"
    restart: always
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"
  
  son-gtkpkg:
    image: registry.sonata-nfv.eu:5000/son-gtkpkg
    environment:
     - RACK_ENV=integration
     - CATALOGUES_URL=http://sp.int.sonata-nfv.eu:4002/catalogues
    ports:
      - "5100"
    restart: always
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkfnct:
    image: registry.sonata-nfv.eu:5000/son-gtkfnct
    ports:
      - "5500"
    restart: always
    environment:
     - RACK_ENV=integration
     - CATALOGUES_URL=http://sp.int.sonata-nfv.eu:4002/catalogues
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtksrv:
    image: registry.sonata-nfv.eu:5000/son-gtksrv
    links:
     - broker
     - postgres
    ports:
      - "5300"
    restart: always
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
     - MQSERVER=amqp://guest:guest@broker:5672
     - CATALOGUES_URL=http://sp.int.sonata-nfv.eu:4002/catalogues
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkvim:
    image: registry.sonata-nfv.eu:5000/son-gtkvim
    links:
     - broker
     - postgres
    ports:
      - "5700"
    restart: always
    environment:
     - POSTGRES_PASSWORD=<PASSWORD>ata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
     - MQSERVER=amqp://guest:guest@broker:5672
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkrec:
    image: registry.sonata-nfv.eu:5000/son-gtkrec
    ports:
      - "5800"
    restart: always
    environment:
     - RACK_ENV=integration
     - REPOSITORIES_URL=http://sp.int.sonata-nfv.eu:4002/records
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtklic:
    image: registry.sonata-nfv.eu:5000/son-gtklic
    links:
     - postgres
    ports:
      - "5900"
    restart: always
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkkpi:
    image: registry.sonata-nfv.eu:5000/son-gtkkpi    
    ports:
      - "5400"
    restart: always
    environment:
     - PUSHGATEWAY_HOST=prometheus
     - PUSHGATEWAY_PORT=9091     
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"        

  postgres:
    image: ntboes/postgres-uuid
    ports:
     - "5432"
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - POSTGRES_DB=gatekeeper
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  broker:
    image: rabbitmq:3
    ports:
     - "5672"
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-sec-gw:
    image: registry.sonata-nfv.eu:5000/son-sec-gw
    ports:
     - "80:80"
     - "443:443"
    links:
     - son-gtkapi
    volumes:
     - /etc/ssl/private/sonata/:/etc/nginx/cert/
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"
        
  influx:
   image: registry.sonata-nfv.eu:5000/son-monitor-influxdb
   restart: always
   ports:
    - "8086:8086"

  #mysql:
  # image: registry.sonata-nfv.eu:5000/son-monitor-mysql
  # restart: always
  # ports:
  #  - "3306:3306"
  # environment:
  #  - MYSQL_ROOT_PASSWORD=<PASSWORD>
  #  - MYSQL_USER=monitoringuser
  #  - MYSQL_PASSWORD=<PASSWORD>
  #  - MYSQL_DATABASE=monitoring

  pushgateway:
   image: registry.sonata-nfv.eu:5000/son-monitor-pushgateway
   restart: always
   ports:
    - "9091:9091"

  prometheus:
   image: registry.sonata-nfv.eu:5000/son-monitor-prometheus
   restart: always
   volumes:
    - /tmp/monitoring/prom/apache:/var/log/apache2
   ports:
    - "9090:9090"
    - "9089:9089"
   depends_on:
    - pushgateway
    - influx
   environment:
    - RABBIT_URL=sp.int.sonata-nfv.eu:5672
    - EMAIL_PASS=<PASSWORD>=

<commit_msg>Fix wrong module name<commit_after>version: '2'
services:
  son-gtkapi:
    image: registry.sonata-nfv.eu:5000/son-gtkapi
    links:
     - son-gtkpkg
     - son-gtksrv
    environment:
     - RACK_ENV=integration
     - PACKAGE_MANAGEMENT_URL=http://son-gtkpkg:5100
     - SERVICE_MANAGEMENT_URL=http://son-gtksrv:5300
     - FUNCTION_MANAGEMENT_URL=http://son-gtkfnct:5500 # 5600?
     - VIM_MANAGEMENT_URL=http://son-gtkvim:5700
     - RECORD_MANAGEMENT_URL=http://son-gtkrec:5800
     - KPI_MANAGEMENT_URL=http://son-gtkkpi:5400
     - LICENCE_MANAGEMENT_URL=http://son-gtklic:5900
    ports:
      - "32001:5000"
    restart: always
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"
  
  son-gtkpkg:
    image: registry.sonata-nfv.eu:5000/son-gtkpkg
    environment:
     - RACK_ENV=integration
     - CATALOGUES_URL=http://sp.int.sonata-nfv.eu:4002/catalogues
    ports:
      - "5100"
    restart: always
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkfnct:
    image: registry.sonata-nfv.eu:5000/son-gtkfnct
    ports:
      - "5500"
    restart: always
    environment:
     - RACK_ENV=integration
     - CATALOGUES_URL=http://sp.int.sonata-nfv.eu:4002/catalogues
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtksrv:
    image: registry.sonata-nfv.eu:5000/son-gtksrv
    links:
     - broker
     - postgres
    ports:
      - "5300"
    restart: always
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
     - MQSERVER=amqp://guest:guest@broker:5672
     - CATALOGUES_URL=http://sp.int.sonata-nfv.eu:4002/catalogues
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkvim:
    image: registry.sonata-nfv.eu:5000/son-gtkvim
    links:
     - broker
     - postgres
    ports:
      - "5700"
    restart: always
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
     - MQSERVER=amqp://guest:guest@broker:5672
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkrec:
    image: registry.sonata-nfv.eu:5000/son-gtkrec
    ports:
      - "5800"
    restart: always
    environment:
     - RACK_ENV=integration
     - REPOSITORIES_URL=http://sp.int.sonata-nfv.eu:4002/records
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtklic:
    image: registry.sonata-nfv.eu:5000/son-gtklic
    links:
     - postgres
    ports:
      - "5900"
    restart: always
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-gtkkpi:
    image: registry.sonata-nfv.eu:5000/son-gtkkpi    
    ports:
      - "5400"
    restart: always
    environment:
     - PUSHGATEWAY_HOST=prometheus
     - PUSHGATEWAY_PORT=9091     
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - RACK_ENV=integration
     - DATABASE_HOST=postgres
     - DATABASE_PORT=5432
    depends_on:
     - postgres
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"        

  postgres:
    image: ntboes/postgres-uuid
    ports:
     - "5432"
    environment:
     - POSTGRES_PASSWORD=sonata
     - POSTGRES_USER=sonatatest
     - POSTGRES_DB=gatekeeper
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  broker:
    image: rabbitmq:3
    ports:
     - "5672"
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"

  son-sec-gw:
    image: registry.sonata-nfv.eu:5000/son-sec-gw
    ports:
     - "80:80"
     - "443:443"
    links:
     - son-gtkapi
    volumes:
     - /etc/ssl/private/sonata/:/etc/nginx/cert/
    logging:
      driver: gelf
      options:
        gelf-address: "udp://logs.sonata-nfv.eu:12900"
        
  influx:
   image: registry.sonata-nfv.eu:5000/son-monitor-influxdb
   restart: always
   ports:
    - "8086:8086"

  #mysql:
  # image: registry.sonata-nfv.eu:5000/son-monitor-mysql
  # restart: always
  # ports:
  #  - "3306:3306"
  # environment:
  #  - MYSQL_ROOT_PASSWORD=<PASSWORD>
  #  - MYSQL_USER=monitoringuser
  #  - MYSQL_PASSWORD=<PASSWORD>
  #  - MYSQL_DATABASE=monitoring

  pushgateway:
   image: registry.sonata-nfv.eu:5000/son-monitor-pushgateway
   restart: always
   ports:
    - "9091:9091"

  prometheus:
   image: registry.sonata-nfv.eu:5000/son-monitor-prometheus
   restart: always
   volumes:
    - /tmp/monitoring/prom/apache:/var/log/apache2
   ports:
    - "9090:9090"
    - "9089:9089"
   depends_on:
    - pushgateway
    - influx
   environment:
    - RABBIT_URL=sp.int.sonata-nfv.eu:5672
    - EMAIL_PASS=<PASSWORD>=


{'fraction_non_alphanumeric': 0.11997363216875412, 'fraction_numerical': 0.053677370750541485, 'mean_word_length': 2.265682656826568, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '7013487', 'n_tokens_mistral': 4563, 'n_tokens_neox': 4164, 'n_words': 519}