"Fossies" - the Fresh Open Source Software Archive

Member "mattermost-server-6.0.0/build/docker-compose.common.yml" (8 Oct 2021, 3645 Bytes) of package /linux/www/mattermost-server-6.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "docker-compose.common.yml": 5.39.0_vs_6.0.0.

    1 version: '2.4'
    2 services:
    3   mysql:
    4     image: "mysql/mysql-server:5.7.12"
    5     restart: always
    6     networks:
    7       - mm-test
    8     environment:
    9       MYSQL_ROOT_HOST: "%"
   10       MYSQL_ROOT_PASSWORD: mostest
   11       MYSQL_PASSWORD: mostest
   12       MYSQL_USER: mmuser
   13       MYSQL_DATABASE: mattermost_test
   14     healthcheck:
   15       test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
   16       interval: 5s
   17       timeout: 10s
   18       retries: 3
   19     volumes:
   20       - ./docker/mysql.conf.d/source.cnf:/etc/mysql/conf.d/mysql.cnf
   21   mysql-read-replica:
   22     image: "mysql/mysql-server:5.7.12"
   23     restart: always
   24     networks:
   25       - mm-test
   26     ports:
   27       - 3307:3306
   28     environment:
   29       MYSQL_ROOT_HOST: "%"
   30       MYSQL_ROOT_PASSWORD: mostest
   31       MYSQL_PASSWORD: mostest
   32       MYSQL_USER: mmuser
   33       MYSQL_DATABASE: mattermost_test
   34     healthcheck:
   35       test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
   36       interval: 5s
   37       timeout: 10s
   38       retries: 3
   39     volumes:
   40       - ./docker/mysql.conf.d/replica.cnf:/etc/mysql/conf.d/mysql.cnf
   41   postgres:
   42     image: "postgres:10"
   43     restart: always
   44     networks:
   45       - mm-test
   46     environment:
   47       POSTGRES_USER: mmuser
   48       POSTGRES_PASSWORD: mostest
   49       POSTGRES_DB: mattermost_test
   50     command: postgres -c 'config_file=/etc/postgresql/postgresql.conf'
   51     volumes:
   52      - "./docker/postgres.conf:/etc/postgresql/postgresql.conf"
   53     healthcheck:
   54       test: [ "CMD", "pg_isready", "-h", "localhost" ]
   55       interval: 5s
   56       timeout: 10s
   57       retries: 3
   58   minio:
   59     image: "minio/minio:RELEASE.2019-10-11T00-38-09Z"
   60     command: "server /data"
   61     networks:
   62       - mm-test
   63     environment:
   64       MINIO_ACCESS_KEY: minioaccesskey
   65       MINIO_SECRET_KEY: miniosecretkey
   66       MINIO_SSE_MASTER_KEY: "my-minio-key:6368616e676520746869732070617373776f726420746f206120736563726574"
   67   inbucket:
   68     image: "inbucket/inbucket:stable"
   69     restart: always
   70     environment:
   71       INBUCKET_WEB_ADDR: "0.0.0.0:10080"
   72       INBUCKET_POP3_ADDR: "0.0.0.0:10110"
   73       INBUCKET_SMTP_ADDR: "0.0.0.0:10025"
   74     networks:
   75       - mm-test
   76   openldap:
   77     image: "osixia/openldap:1.4.0"
   78     restart: always
   79     networks:
   80       - mm-test
   81     environment:
   82       LDAP_TLS_VERIFY_CLIENT: "never"
   83       LDAP_ORGANISATION: "Mattermost Test"
   84       LDAP_DOMAIN: "mm.test.com"
   85       LDAP_ADMIN_PASSWORD: "mostest"
   86   elasticsearch:
   87     image: "mattermost/mattermost-elasticsearch-docker:7.0.0"
   88     networks:
   89       - mm-test
   90     environment:
   91       http.host: "0.0.0.0"
   92       http.port: 9200
   93       http.cors.enabled: "true"
   94       http.cors.allow-origin: "http://localhost:1358,http://127.0.0.1:1358"
   95       http.cors.allow-headers: "X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization"
   96       http.cors.allow-credentials: "true"
   97       transport.host: "127.0.0.1"
   98       ES_JAVA_OPTS: "-Xms512m -Xmx512m"
   99   dejavu:
  100     image: "appbaseio/dejavu:3.4.2"
  101     networks:
  102       - mm-test
  103   keycloak:
  104     image: "jboss/keycloak:10.0.2"
  105     restart: always
  106     environment:
  107       KEYCLOAK_USER: mmuser
  108       KEYCLOAK_PASSWORD: mostest
  109       DB_VENDOR: h2
  110       KEYCLOAK_IMPORT: /setup/realm.json
  111     networks:
  112       - mm-test
  113     volumes:
  114      - "./docker/keycloak:/setup"
  115   prometheus:
  116     image: "prom/prometheus"
  117     volumes:
  118       - "./docker/prometheus${IS_LINUX}.yml:/etc/prometheus/prometheus.yml"
  119     networks:
  120       - mm-test
  121   grafana:
  122     image: "grafana/grafana"
  123     volumes:
  124      - "./docker/grafana/grafana.ini:/etc/grafana/grafana.ini"
  125      - "./docker/grafana/provisioning:/etc/grafana/provisioning"
  126      - "./docker/grafana/dashboards:/var/lib/grafana/dashboards"
  127     networks:
  128       - mm-test