<commit_before>version: '2'
services:

    mender-useradm:
        volumes:
            - ./keys/useradm/private.key:/etc/useradm/rsa/private.pem

    mender-device-auth:
        volumes:
            - ./keys/deviceauth/private.key:/etc/deviceauth/rsa/private.pem

    mender-api-gateway:
        ports:
            - "443:443"
        networks:
            mender:
                aliases:
                    - docker.mender.io
        volumes:
            - ./certs/api-gateway/cert.crt:/var/www/mendersoftware/cert/cert.crt
            - ./certs/api-gateway/private.key:/var/www/mendersoftware/cert/private.key

    storage-proxy:
        ports:
            - "9000:9000"
        networks:
            mender:
                aliases:
                    - s3.docker.mender.io
        environment:

            # use nginx syntax for rate limiting, see
            # https://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
            # Examples:
            #   1m - 1MB/s
            #   512k - 512kB/s
            DOWNLOAD_SPEED: 1m
            MAX_CONNECTIONS: 100
        volumes:
            - ./certs/storage-proxy/cert.crt:/var/www/storage-proxy/cert/cert.crt
            - ./certs/storage-proxy/private.key:/var/www/storage-proxy/cert/private.key

    mender-deployments:
        volumes:
            - ./certs/storage-proxy/cert.crt:/etc/ssl/certs/s3.docker.mender.io.crt
        environment:
            STORAGE_BACKEND_CERT: /etc/ssl/certs/s3.docker.mender.io.crt
            DEPLOYMENTS_AWS_AUTH_KEY: minio
            DEPLOYMENTS_AWS_AUTH_SECRET: minio123
            DEPLOYMENTS_AWS_URI: https://s3.docker.mender.io:9000

    minio:
        networks:
            mender:
                aliases:
                    - minio.s3.docker.mender.io
        environment:
            MINIO_ACCESS_KEY: minio
            MINIO_SECRET_KEY: minio123

    mender-gui:
        environment:
            # enable demo mode for UI ["true"/"false"]
            DEMO: "true"<commit_msg>compose/demo: add conductor and related services<commit_after>version: '2'
services:

    mender-useradm:
        volumes:
            - ./keys/useradm/private.key:/etc/useradm/rsa/private.pem

    mender-device-auth:
        volumes:
            - ./keys/deviceauth/private.key:/etc/deviceauth/rsa/private.pem

    mender-api-gateway:
        ports:
            - "443:443"
        networks:
            mender:
                aliases:
                    - docker.mender.io
        volumes:
            - ./certs/api-gateway/cert.crt:/var/www/mendersoftware/cert/cert.crt
            - ./certs/api-gateway/private.key:/var/www/mendersoftware/cert/private.key

    storage-proxy:
        ports:
            - "9000:9000"
        networks:
            mender:
                aliases:
                    - s3.docker.mender.io
        environment:

            # use nginx syntax for rate limiting, see
            # https://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
            # Examples:
            #   1m - 1MB/s
            #   512k - 512kB/s
            DOWNLOAD_SPEED: 1m
            MAX_CONNECTIONS: 100
        volumes:
            - ./certs/storage-proxy/cert.crt:/var/www/storage-proxy/cert/cert.crt
            - ./certs/storage-proxy/private.key:/var/www/storage-proxy/cert/private.key

    mender-deployments:
        volumes:
            - ./certs/storage-proxy/cert.crt:/etc/ssl/certs/s3.docker.mender.io.crt
        environment:
            STORAGE_BACKEND_CERT: /etc/ssl/certs/s3.docker.mender.io.crt
            DEPLOYMENTS_AWS_AUTH_KEY: minio
            DEPLOYMENTS_AWS_AUTH_SECRET: minio123
            DEPLOYMENTS_AWS_URI: https://s3.docker.mender.io:9000

    minio:
        networks:
            mender:
                aliases:
                    - minio.s3.docker.mender.io
        environment:
            MINIO_ACCESS_KEY: minio
            MINIO_SECRET_KEY: minio123

    mender-gui:
        environment:
            # enable demo mode for UI ["true"/"false"]
            DEMO: "true"

    mender-conductor:
        volumes:
            - ./conductor/server/config:/app/config
        environment:
            - CONFIG_PROP=config.properties
{'fraction_non_alphanumeric': 0.10663167938931298, 'fraction_numerical': 0.020038167938931296, 'mean_word_length': 1.450613676212741, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, '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': '2813944', 'n_tokens_mistral': 1467, 'n_tokens_neox': 1346, 'n_words': 167}