mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Prepare: run E2E smoketests with GitHub actions (#23301) * Port E2E testing scripts from cypress-ui-automation * Move server to docker-compose, move E2E images to ecrpublic * Integrate General channel renaming, fixes * Add local automation-dashboard Add readme * Add E2E smoketests * Bump postgres to 12 * Fully rely on mattermostdevelopment images --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
35 lines
803 B
YAML
35 lines
803 B
YAML
version: '2.4'
|
|
services:
|
|
postgres:
|
|
image: mattermostdevelopment/mirrored-postgres:12
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: mmuser
|
|
POSTGRES_PASSWORD: mostest
|
|
POSTGRES_DB: mattermost_test
|
|
command: postgres -c 'config_file=/etc/postgresql/postgresql.conf'
|
|
volumes:
|
|
- "./docker/postgres.conf:/etc/postgresql/postgresql.conf"
|
|
healthcheck:
|
|
test: [ "CMD", "pg_isready", "-h", "localhost" ]
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
default:
|
|
aliases:
|
|
- postgres
|
|
|
|
start_dependencies:
|
|
image: mattermost/mattermost-wait-for-dep:latest
|
|
depends_on:
|
|
- postgres
|
|
command: postgres:5432
|
|
networks:
|
|
default:
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: ${COMPOSE_PROJECT_NAME}
|