dbmate/docker-compose.yml
Adrian Macneil 882c821c1d
Add default docker postgres password (#121)
Add a default user password to fix CI failures caused by [breaking upstream change](https://github.com/docker-library/postgres/pull/658) in `postgres` docker image.

Example error: 631760202
2020-03-01 22:03:31 -08:00

22 lines
446 B
YAML

version: '2.3'
services:
dbmate:
build:
context: .
target: build
depends_on:
- mysql
- postgres
environment:
MYSQL_URL: mysql://root:root@mysql/dbmate
POSTGRESQL_URL: postgres://postgres:postgres@postgres/dbmate?sslmode=disable
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
postgres:
image: postgres:9.6
environment:
POSTGRES_PASSWORD: postgres