Skip to content
Snippets Groups Projects
Select Git revision
  • 42c24afedc1078297857776d082f5d706bb8dbb3
  • master default protected
2 results

pillar.example

Blame
  • Dockerfile 662 B
    # Use an official Python runtime as a base image
    FROM python:3
    
    # Set working directory in the container
    WORKDIR /app
    
    # install dependencies
    RUN pip install paho-mqtt 
    
    ENV DOCKERIZE_VERSION v0.6.1
    
    # Copy the Python script into the container
    COPY pub_cdm.py /app/
    
    # Set environment variable 'chunk_size' and 'number_of_insertions'
    # ENV chunk_size_insert=100
    # ENV number_of_insertions=100
    # ENV path_to_firstK='/var/lib/import/first1k.json'
    ENV path_data='C:\\Studium_MIN\\05_Masterarbeit\\thesis\\ma_code\\code\\infrastructure\\streaming\\clients\\pub\\data\\'
    ENV mos_host='mos1'
    ENV mos_port=1883
    ENV lines_per_window=1000
    
    
    
    CMD [ "python","pub_cdm.py" ]