github.com/ashishbhate/mattermost-server@v5.11.1+incompatible/build/docker-compose.yml (about)

     1  version: '3.4'
     2  services:
     3    mysql:
     4      image: "mysql:5.7"
     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      tmpfs: /var/lib/mysql
    15      volumes:
    16       - "./docker/mysql.conf.d:/etc/mysql/conf.d"
    17    postgres:
    18      image: "postgres:9.4"
    19      restart: always
    20      networks:
    21        - mm-test
    22      environment:
    23        POSTGRES_USER: mmuser
    24        POSTGRES_PASSWORD: mostest
    25        POSTGRES_DB: mattermost_test
    26      tmpfs: /var/lib/postgresql/data
    27    minio:
    28      image: "minio/minio:RELEASE.2018-05-25T19-49-13Z"
    29      command: "server /data"
    30      networks:
    31        - mm-test
    32      environment:
    33        MINIO_ACCESS_KEY: minioaccesskey
    34        MINIO_SECRET_KEY: miniosecretkey
    35    inbucket:
    36      image: "jhillyerd/inbucket:release-1.2.0"
    37      restart: always
    38      networks:
    39        - mm-test
    40    openldap:
    41      image: "osixia/openldap:1.2.2"
    42      restart: always
    43      networks:
    44        - mm-test
    45      environment:
    46        LDAP_TLS_VERIFY_CLIENT: "never"
    47        LDAP_ORGANISATION: "Mattermost Test"
    48        LDAP_DOMAIN: "mm.test.com"
    49        LDAP_ADMIN_PASSWORD: "mostest"
    50      volumes:
    51        - "../tests/add-users.ldif:/add-users.ldif"
    52        - "../tests/add-groups.ldif:/add-groups.ldif"
    53    elasticsearch:
    54      image: "mattermost/mattermost-elasticsearch-docker:6.5.1"
    55      networks:
    56        - mm-test
    57      environment:
    58        http.host: "0.0.0.0"
    59        transport.host: "127.0.0.1"
    60        ES_JAVA_OPTS: "-Xms250m -Xmx250m"
    61    redis:
    62      image: redis
    63      networks:
    64        - mm-test
    65  
    66    start_dependencies:
    67      image: mattermost/mattermost-wait-for-dep:latest
    68      networks:
    69        - mm-test
    70      depends_on:
    71        - mysql
    72        - postgres
    73        - minio
    74        - inbucket
    75        - openldap
    76        - elasticsearch
    77        - redis
    78      command: postgres:5432 mysql:3306 minio:9000 inbucket:10080 openldap:389 elasticsearch:9200 redis:6379
    79  
    80  networks:
    81    mm-test:
    82      driver: bridge