1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Test all supported databases in CI (#2000)

* add mysql and postgres tests to CI
This commit is contained in:
Doug Lauder
2021-12-17 12:30:47 -05:00
committed by GitHub
parent bf22a6faf9
commit 7af9e18a49
8 changed files with 172 additions and 25 deletions

View File

@ -0,0 +1,23 @@
version: '2.4'
services:
postgres:
image: "postgres:10"
restart: always
environment:
POSTGRES_USER: mmuser
POSTGRES_PASSWORD: mostest
healthcheck:
test: [ "CMD", "pg_isready", "-h", "localhost" ]
interval: 5s
timeout: 10s
retries: 3
tmpfs: /var/lib/postgresql/data
ports:
- 44446:5432
start_dependencies:
image: mattermost/mattermost-wait-for-dep:latest
depends_on:
- postgres
command: postgres:5432