diff options
Diffstat (limited to 'csit.infra.dash/docker-compose.yaml')
-rw-r--r-- | csit.infra.dash/docker-compose.yaml | 40 |
1 files changed, 2 insertions, 38 deletions
diff --git a/csit.infra.dash/docker-compose.yaml b/csit.infra.dash/docker-compose.yaml index 4ec4f21eb6..d65de902b5 100644 --- a/csit.infra.dash/docker-compose.yaml +++ b/csit.infra.dash/docker-compose.yaml @@ -2,14 +2,11 @@ version: "3.7" services: cdash: build: "." - command: "uwsgi --ini app.ini --workers 1" - depends_on: - - "minio" - - "mc" + command: "uwsgi --ini app.ini --workers 2" environment: FLASK_DEBUG: 1 FLASK_ENV: "development" - mem_limit: "4g" + mem_limit: "2g" ports: - "5000:5000" user: "${UID}:${GID}" @@ -17,36 +14,3 @@ services: - "${PWD}/app/:/app" - "${PWD}/../resources/libraries/python/jumpavg/:/app/cdash/jumpavg" - "${HOME}/.aws:/.aws" - minio: - image: "quay.io/minio/minio:latest" - command: server --console-address ":9001" /data - environment: - MINIO_ROOT_USER: "minioadmin" - MINIO_ROOT_PASSWORD: "minioadmin" - expose: - - "9000" - healthcheck: - test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ] - interval: "30s" - timeout: "20s" - retries: 3 - ports: - - "9001:9001" - volumes: - - "data:/data" - mc: - image: "quay.io/minio/mc:latest" - depends_on: - - "minio" - entrypoint: > - /bin/sh -c " - /usr/bin/mc config host rm local; - /usr/bin/mc config host add --quiet --api s3v4 local http://minio:9000 minioadmin minioadmin; - /usr/bin/mc mb --quiet --ignore-existing local/fdio-docs-s3-cloudfront-index/; - /usr/bin/mc anonymous set public local/fdio-docs-s3-cloudfront-index; - " - # mc alias set aws https://s3.amazon.com/endpoint ACCESS_KEY SECRET KEY - # mc admin info aws -volumes: - data: -# external: true |