<commit_before># Copyright Bosch Software Innovations GmbH, 2016.
# Part of the SW360 Portal Project.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html


# This file adds a cve-search server to the sw360 environment.
# Use it together with the main docker-compose.yml as described
# in README.md

version: '2'
services:

  sw360:
    depends_on:
      - sw360cvesearch
    environment:
      - CVE_SEARCH_HOST=http://sw360cvesearch:5000
  sw360cvesearch:
    extends:
      file: cve-search-server/common.yml
      service: sw360cvesearchBase
    command: server
    networks:
      - sw360front
      - cevsearchDBs
    depends_on:
      - sw360mongodb
      - sw360redis
    ports:
      # public use and / or development:
      - 5000:5000<commit_msg>feat(cve-search): always start https on port 5443<commit_after># Copyright Bosch Software Innovations GmbH, 2016.
# Part of the SW360 Portal Project.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html


# This file adds a cve-search server to the sw360 environment.
# Use it together with the main docker-compose.yml as described
# in README.md

version: '2'
services:

  sw360nginxCvesearch:
    build: ./sw360nginx/
    image: sw360nginx
    restart: unless-stopped
    ports:
      - 5443:8443
    networks:
      - sw360front
    depends_on:
      - sw360cvesearch
    environment:
      - HOST=sw360cvesearch
      - HOST_PORT=5000
    extends:
      file: configuration.yml
      service: sw360nginx

  sw360:
    depends_on:
      - sw360cvesearch
    environment:
      - CVE_SEARCH_HOST=http://sw360cvesearch:5000

  sw360cvesearch:
    extends:
      file: cve-search-server/common.yml
      service: sw360cvesearchBase
    command: server
    networks:
      - sw360front
      - cevsearchDBs
    depends_on:
      - sw360mongodb
      - sw360redis
    ports:
      # public use and / or development:
      - 5000:5000
{'fraction_non_alphanumeric': 0.0722466960352423, 'fraction_numerical': 0.061233480176211455, 'mean_word_length': 2.8104026845637584, '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': '3513040', 'n_tokens_mistral': 813, 'n_tokens_neox': 706, 'n_words': 212}