github.com/Komiflo/migrate@v3.0.1-0.20170427064301-ee4a6a3c6f42+incompatible/docker-compose.yml (about) 1 go: &go 2 image: golang 3 working_dir: /go/src/github.com/komiflo/migrate 4 volumes: 5 - $GOPATH:/go 6 go-test: 7 <<: *go 8 command: sh -c 'go get -t -v ./... && go test -v ./...' 9 links: 10 - mssql 11 - postgres 12 - mysql 13 - cassandra 14 - crate 15 - mongo 16 go-build: 17 <<: *go 18 command: sh -c 'go get -v && go build -ldflags ''-s'' -o migrater' 19 environment: 20 CGO_ENABLED: 1 21 postgres: 22 image: postgres 23 mysql: 24 image: mysql 25 environment: 26 MYSQL_DATABASE: migratetest 27 MYSQL_ALLOW_EMPTY_PASSWORD: "yes" 28 cassandra: 29 image: cassandra:2.2 30 crate: 31 image: crate 32 mongo: 33 image: mongo:3.2.6 34 mssql: 35 image: microsoft/mssql-server-linux 36 environment: 37 SA_PASSWORD: Passw0rd 38 ACCEPT_EULA: "Y"