dbmate/docker-compose.yml
Adrian Macneil df119a76f3
Migrate to dep for dependency management (#26)
* Replace `Godeps` with `dep`
* Upgrade all dependencies
* Remove vendor source from git repository
2018-01-23 17:11:34 -08:00

23 lines
437 B
YAML

version: '2.3'
services:
dbmate:
build:
context: .
target: build
depends_on:
mysql:
condition: service_healthy
postgres:
condition: service_healthy
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
healthcheck:
test: ["CMD", "mysqladmin", "status", "-proot"]
postgres:
image: postgres:9.6
healthcheck:
test: ["CMD", "pg_isready"]