mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-19 04:18:32 +00:00
Always `down` containers after test Fix workdir test failing on CircleCI See: https://support.circleci.com/hc/en-us/articles/360007324514-How-can-I-mount-volumes-to-docker-containers-
27 lines
652 B
YAML
27 lines
652 B
YAML
version: '2'
|
|
|
|
services:
|
|
build_test_1:
|
|
image: compose-test-build-image-1:test
|
|
build:
|
|
context: ./
|
|
dockerfile: build-test.Dockerfile
|
|
build_test_2:
|
|
image: compose-test-build-image-2:test
|
|
build:
|
|
context: ./
|
|
dockerfile: build-test.Dockerfile
|
|
build_test_3:
|
|
image: compose-test-build-image-3:test
|
|
build:
|
|
context: ./
|
|
dockerfile: build-test.Dockerfile
|
|
build_test_4:
|
|
image: compose-test-build-image-4:test
|
|
build:
|
|
context: ./
|
|
dockerfile: build-test.Dockerfile
|
|
build-nginx:
|
|
image: nginx:1.16.0
|
|
container_name: compose_test_nginx
|
|
command: 'nginx -g "daemon off;"'
|