<commit_before>version: "3"
services:
    web:
        image: rcarmo/demo-frontend
        ports:
            - "8000:8000"
        networks:
            - backend
        depends_on:
            - redis
        environment:
            - REDIS_SERVER=redis
            - DEBUG=False
        deploy:
            mode: replicated
            replicas: 4
#            placement:
#                constraints: #[node.role==worker]
    redis:
        image: redis:3.2-alpine
        ports:
            - "6379"
        networks:
            - backend
#        deploy:
#            placement:
#                constraints: [node.role==manager]

networks:
    backend:<commit_msg>constraints<commit_after>version: "3"
services:
    web:
        image: rcarmo/demo-frontend
        ports:
            - "8000:8000"
        networks:
            - backend
        depends_on:
            - redis
        environment:
            - REDIS_SERVER=redis
            - DEBUG=False
        deploy:
            mode: replicated
            replicas: 4
            placement:
                constraints: [node.role==worker]
    redis:
        image: redis:3.2-alpine
        ports:
            - "6379"
        networks:
            - backend
        deploy:
            placement:
                constraints: [node.role==manager]

networks:
    backend:
{'fraction_non_alphanumeric': 0.0880597014925373, 'fraction_numerical': 0.023880597014925373, 'mean_word_length': 1.1456, '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': '6486314', 'n_tokens_mistral': 393, 'n_tokens_neox': 375, 'n_words': 71}