<commit_before>version: '3'

services:
    validator:
        build:
            context: ./
            dockerfile: Dockerfile
        ports:
            - 80:3000
            - 9229:9229
        volumes:
            - ./src:/var/www/app/src
        command: 'nodemon --inspect src/index.js'<commit_msg>Adding an example deploy key for the service to be deployed in a docker swarm<commit_after>version: '3'

services:
    validator:
        build:
            context: ./
            dockerfile: Dockerfile
        ports:
            - 80:3000
            - 9229:9229
        volumes:
            - ./src:/var/www/app/src
        command: 'nodemon --inspect src/index.js'
        deploy:
            mode: replicated
            replicas: 1
            update_config:
                parallelism: 1
                delay: 10s
            restart_policy:
                condition: on-failure
{'fraction_non_alphanumeric': 0.08632286995515695, 'fraction_numerical': 0.03811659192825112, 'mean_word_length': 1.2493702770780857, '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': '4074511', 'n_tokens_mistral': 277, 'n_tokens_neox': 242, 'n_words': 60}