Data Engineering, Data Science, Mongodb, Python, DevOps.
mongodb_worker2: image: mongo:latest container_name: mongodb_worker2 restart: always ports: - 27019:27017 volumes: - ./worker2_data:/data/db networks: - default command: mongod --replSet my_cluster --bind_ip localhost,mongodb_worker2 To deploy the system, we can run the command: docker-compose up