2019-11-15 22:04:04 +00:00
|
|
|
version: "3.6"
|
|
|
|
services:
|
|
|
|
|
|
|
|
apiserver:
|
|
|
|
command:
|
|
|
|
- apiserver
|
2021-01-05 17:07:05 +00:00
|
|
|
container_name: clearml-apiserver
|
|
|
|
image: allegroai/clearml:latest
|
2019-11-15 22:04:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-05-03 15:12:21 +00:00
|
|
|
- c:/opt/clearml/logs:/var/log/clearml
|
|
|
|
- c:/opt/clearml/config:/opt/clearml/config
|
2021-01-14 10:37:25 +00:00
|
|
|
- c:/opt/clearml/data/fileserver:/mnt/fileserver
|
2019-11-15 22:04:04 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- mongo
|
|
|
|
- elasticsearch
|
|
|
|
- fileserver
|
|
|
|
environment:
|
2021-05-03 15:12:21 +00:00
|
|
|
CLEARML_ELASTIC_SERVICE_HOST: elasticsearch
|
|
|
|
CLEARML_ELASTIC_SERVICE_PORT: 9200
|
2021-11-15 13:01:27 +00:00
|
|
|
CLEARML_ELASTIC_SERVICE_PASSWORD: ${ELASTIC_PASSWORD}
|
2021-05-03 15:12:21 +00:00
|
|
|
CLEARML_MONGODB_SERVICE_HOST: mongo
|
|
|
|
CLEARML_MONGODB_SERVICE_PORT: 27017
|
|
|
|
CLEARML_REDIS_SERVICE_HOST: redis
|
|
|
|
CLEARML_REDIS_SERVICE_PORT: 6379
|
|
|
|
CLEARML_SERVER_DEPLOYMENT_TYPE: ${CLEARML_SERVER_DEPLOYMENT_TYPE:-win10}
|
|
|
|
CLEARML__apiserver__pre_populate__enabled: "true"
|
|
|
|
CLEARML__apiserver__pre_populate__zip_files: "/opt/clearml/db-pre-populate"
|
|
|
|
CLEARML__apiserver__pre_populate__artifacts_path: "/mnt/fileserver"
|
2022-09-29 16:44:05 +00:00
|
|
|
CLEARML__services__async_urls_delete__enabled: "true"
|
2019-11-15 22:04:04 +00:00
|
|
|
ports:
|
|
|
|
- "8008:8008"
|
|
|
|
networks:
|
|
|
|
- backend
|
2021-01-06 22:21:24 +00:00
|
|
|
- frontend
|
2019-11-15 22:04:04 +00:00
|
|
|
|
|
|
|
elasticsearch:
|
|
|
|
networks:
|
|
|
|
- backend
|
2021-01-05 17:07:05 +00:00
|
|
|
container_name: clearml-elastic
|
2019-11-15 22:04:04 +00:00
|
|
|
environment:
|
2021-12-22 11:53:34 +00:00
|
|
|
ES_JAVA_OPTS: -Xms2g -Xmx2g -Dlog4j2.formatMsgNoLookups=true
|
2021-11-15 13:01:27 +00:00
|
|
|
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD}
|
2019-11-15 22:04:04 +00:00
|
|
|
bootstrap.memory_lock: "true"
|
2021-01-05 17:07:05 +00:00
|
|
|
cluster.name: clearml
|
2019-11-15 22:04:04 +00:00
|
|
|
cluster.routing.allocation.node_initial_primaries_recoveries: "500"
|
2021-01-06 15:45:27 +00:00
|
|
|
cluster.routing.allocation.disk.watermark.low: 500mb
|
|
|
|
cluster.routing.allocation.disk.watermark.high: 500mb
|
|
|
|
cluster.routing.allocation.disk.watermark.flood_stage: 500mb
|
2019-11-15 22:04:04 +00:00
|
|
|
discovery.zen.minimum_master_nodes: "1"
|
2020-08-10 20:48:38 +00:00
|
|
|
discovery.type: "single-node"
|
2019-11-15 22:04:04 +00:00
|
|
|
http.compression_level: "7"
|
|
|
|
node.ingest: "true"
|
2021-01-05 17:07:05 +00:00
|
|
|
node.name: clearml
|
2019-11-15 22:04:04 +00:00
|
|
|
reindex.remote.whitelist: '*.*'
|
|
|
|
xpack.monitoring.enabled: "false"
|
|
|
|
xpack.security.enabled: "false"
|
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
nofile:
|
|
|
|
soft: 65536
|
|
|
|
hard: 65536
|
2023-03-23 17:14:33 +00:00
|
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.7
|
2019-11-15 22:04:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-01-14 10:37:25 +00:00
|
|
|
- c:/opt/clearml/data/elastic_7:/usr/share/elasticsearch/data
|
|
|
|
- /usr/share/elasticsearch/logs
|
2019-11-15 22:04:04 +00:00
|
|
|
|
|
|
|
fileserver:
|
|
|
|
networks:
|
|
|
|
- backend
|
2021-01-06 22:21:24 +00:00
|
|
|
- frontend
|
2019-11-15 22:04:04 +00:00
|
|
|
command:
|
|
|
|
- fileserver
|
2021-01-05 17:07:05 +00:00
|
|
|
container_name: clearml-fileserver
|
|
|
|
image: allegroai/clearml:latest
|
2022-09-29 16:44:05 +00:00
|
|
|
environment:
|
|
|
|
CLEARML__fileserver__delete__allow_batch: "true"
|
2019-11-15 22:04:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-05-03 15:12:21 +00:00
|
|
|
- c:/opt/clearml/logs:/var/log/clearml
|
2021-01-05 17:07:05 +00:00
|
|
|
- c:/opt/clearml/data/fileserver:/mnt/fileserver
|
2021-05-03 15:12:21 +00:00
|
|
|
- c:/opt/clearml/config:/opt/clearml/config
|
2020-06-21 20:57:58 +00:00
|
|
|
|
2019-11-15 22:04:04 +00:00
|
|
|
ports:
|
|
|
|
- "8081:8081"
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
networks:
|
|
|
|
- backend
|
2021-01-05 17:07:05 +00:00
|
|
|
container_name: clearml-mongo
|
2022-02-14 13:27:23 +00:00
|
|
|
image: mongo:4.4.9
|
2019-11-15 22:04:04 +00:00
|
|
|
restart: unless-stopped
|
2022-02-14 13:27:23 +00:00
|
|
|
command: --setParameter internalQueryMaxBlockingSortMemoryUsageBytes=196100200
|
2019-11-15 22:04:04 +00:00
|
|
|
volumes:
|
2022-02-14 13:27:23 +00:00
|
|
|
- c:/opt/clearml/data/mongo_4/db:/data/db
|
|
|
|
- c:/opt/clearml/data/mongo_4/configdb:/data/configdb
|
2019-11-15 22:04:04 +00:00
|
|
|
|
|
|
|
redis:
|
|
|
|
networks:
|
|
|
|
- backend
|
2021-01-05 17:07:05 +00:00
|
|
|
container_name: clearml-redis
|
2019-11-15 22:04:04 +00:00
|
|
|
image: redis:5.0
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-01-05 17:07:05 +00:00
|
|
|
- c:/opt/clearml/data/redis:/data
|
2019-11-15 22:04:04 +00:00
|
|
|
|
|
|
|
webserver:
|
|
|
|
command:
|
|
|
|
- webserver
|
2021-01-05 17:07:05 +00:00
|
|
|
container_name: clearml-webserver
|
|
|
|
image: allegroai/clearml:latest
|
2019-11-15 22:04:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-05-03 15:12:21 +00:00
|
|
|
- c:/clearml/logs:/var/log/clearml
|
2019-11-15 22:04:04 +00:00
|
|
|
depends_on:
|
|
|
|
- apiserver
|
|
|
|
ports:
|
|
|
|
- "8080:80"
|
2021-01-06 22:21:24 +00:00
|
|
|
networks:
|
2021-01-14 10:37:25 +00:00
|
|
|
- backend
|
2021-01-06 22:21:24 +00:00
|
|
|
- frontend
|
2019-11-15 22:04:04 +00:00
|
|
|
|
2022-09-29 16:44:05 +00:00
|
|
|
async_delete:
|
|
|
|
depends_on:
|
|
|
|
- apiserver
|
|
|
|
- redis
|
|
|
|
- mongo
|
|
|
|
- elasticsearch
|
|
|
|
- fileserver
|
|
|
|
container_name: async_delete
|
|
|
|
image: allegroai/clearml:latest
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
CLEARML_ELASTIC_SERVICE_HOST: elasticsearch
|
|
|
|
CLEARML_ELASTIC_SERVICE_PORT: 9200
|
|
|
|
CLEARML_ELASTIC_SERVICE_PASSWORD: ${ELASTIC_PASSWORD}
|
|
|
|
CLEARML_MONGODB_SERVICE_HOST: mongo
|
|
|
|
CLEARML_MONGODB_SERVICE_PORT: 27017
|
|
|
|
CLEARML_REDIS_SERVICE_HOST: redis
|
|
|
|
CLEARML_REDIS_SERVICE_PORT: 6379
|
|
|
|
PYTHONPATH: /opt/clearml/apiserver
|
2022-11-29 15:43:08 +00:00
|
|
|
CLEARML__services__async_urls_delete__fileserver__url_prefixes: "[]"
|
2022-09-29 16:44:05 +00:00
|
|
|
entrypoint:
|
|
|
|
- python3
|
|
|
|
- -m
|
|
|
|
- jobs.async_urls_delete
|
|
|
|
- --fileserver-host
|
|
|
|
- http://fileserver:8081
|
|
|
|
volumes:
|
|
|
|
- c:/opt/clearml/logs:/var/log/clearml
|
|
|
|
|
2019-11-15 22:04:04 +00:00
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
driver: bridge
|
2021-01-06 22:21:24 +00:00
|
|
|
frontend:
|
2021-01-14 10:37:25 +00:00
|
|
|
name: frontend
|
2021-12-22 11:53:34 +00:00
|
|
|
driver: bridge
|