mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 16:10:03 +01:00
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
22 lines
446 B
YAML
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
|