version: "3.6" services: apiserver: command: - apiserver container_name: clearml-apiserver image: allegroai/clearml:latest restart: unless-stopped volumes: - c:/opt/clearml/logs:/var/log/trains - c:/opt/clearml/config:/opt/trains/config depends_on: - redis - mongo - elasticsearch - fileserver environment: TRAINS_ELASTIC_SERVICE_HOST: elasticsearch TRAINS_ELASTIC_SERVICE_PORT: 9200 TRAINS_MONGODB_SERVICE_HOST: mongo TRAINS_MONGODB_SERVICE_PORT: 27017 TRAINS_REDIS_SERVICE_HOST: redis TRAINS_REDIS_SERVICE_PORT: 6379 TRAINS_SERVER_DEPLOYMENT_TYPE: ${TRAINS_SERVER_DEPLOYMENT_TYPE:-win10} TRAINS__apiserver__mongo__pre_populate__enabled: "true" TRAINS__apiserver__mongo__pre_populate__zip_file: "/opt/clearml/db-pre-populate/export.zip" ports: - "8008:8008" networks: - backend - frontend elasticsearch: networks: - backend container_name: clearml-elastic environment: ES_JAVA_OPTS: -Xms2g -Xmx2g bootstrap.memory_lock: "true" cluster.name: clearml cluster.routing.allocation.node_initial_primaries_recoveries: "500" cluster.routing.allocation.disk.watermark.low: 500mb cluster.routing.allocation.disk.watermark.high: 500mb cluster.routing.allocation.disk.watermark.flood_stage: 500mb discovery.zen.minimum_master_nodes: "1" discovery.type: "single-node" http.compression_level: "7" node.ingest: "true" node.name: clearml reindex.remote.whitelist: '*.*' xpack.monitoring.enabled: "false" xpack.security.enabled: "false" ulimits: memlock: soft: -1 hard: -1 nofile: soft: 65536 hard: 65536 image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 restart: unless-stopped volumes: - c:/opt/clearml/data/elastic_7:/usr/share/elasticsearch/data fileserver: networks: - backend - frontend command: - fileserver container_name: clearml-fileserver image: allegroai/clearml:latest restart: unless-stopped volumes: - c:/opt/clearml/logs:/var/log/trains - c:/opt/clearml/data/fileserver:/mnt/fileserver - c:/opt/clearml/config:/opt/trains/config ports: - "8081:8081" mongo: networks: - backend container_name: clearml-mongo image: mongo:3.6.5 restart: unless-stopped command: --setParameter internalQueryExecMaxBlockingSortBytes=196100200 volumes: - c:/opt/clearml/data/mongo/db:/data/db - c:/opt/clearml/data/mongo/configdb:/data/configdb redis: networks: - backend container_name: clearml-redis image: redis:5.0 restart: unless-stopped volumes: - c:/opt/clearml/data/redis:/data webserver: command: - webserver container_name: clearml-webserver image: allegroai/clearml:latest restart: unless-stopped volumes: - c:/clearml/logs:/var/log/trains depends_on: - apiserver ports: - "8080:80" networks: - frontend networks: backend: driver: bridge frontend: name: frontend