-version: "3.7"
+version: "3"
services:
cdash:
build: "."
- command: "uwsgi --ini app.ini --workers 1"
- depends_on:
- - "minio"
- - "mc"
- mem_limit: "4g"
+ command: "uwsgi --ini app.ini"
+ environment:
+ FLASK_DEBUG: 1
+ FLASK_ENV: "development"
+ CSIT_START_TRENDING: "True"
+ CSIT_START_REPORT: "True"
+ CSIT_START_COMPARISONS: "True"
+ CSIT_START_COVERAGE: "True"
+ CSIT_START_STATISTICS: "True"
+ CSIT_START_FAILURES: "True"
+ CSIT_START_SEARCH: "True"
+ CSIT_START_DOC: "True"
+ CSIT_TITLE: "FD.io CSIT"
+ CSIT_BRAND: "CSIT-Dash"
+ CSIT_CICD_TYPE: "jenkins"
+ CSIT_URL_CICD: "https://jenkins.fd.io/job/"
+ CSIT_URL_LOGS: "https://logs.fd.io/vex-yul-rot-jenkins-1/"
+ CSIT_URL_DOC: "https://csit.fd.io/cdocs/"
+ CSIT_TIME_PERIOD: 250
+ mem_limit: "16g"
ports:
- "5000:5000"
user: "${UID}:${GID}"
volumes:
- - "${PWD}/app/:/app"
- - "${PWD}/../resources/libraries/python/jumpavg/:/app/cdash/jumpavg"
+ - "${PWD}/app/:/var/app/current"
+ - "${PWD}/../resources/libraries/python/jumpavg/:/var/app/current/cdash/jumpavg"
- "${HOME}/.aws:/.aws"
- minio:
- image: "quay.io/minio/minio:RELEASE.2022-11-08T05-27-07Z"
- command: server --console-address ":9001" /data
- expose:
- - "9000"
- environment:
- MINIO_ROOT_USER: "minioadmin"
- MINIO_ROOT_PASSWORD: "minioadmin"
- 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:RELEASE.2022-11-07T23-47-39Z"
- 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;
- "
-volumes:
- data:
-# external: true