kompose/script/test/fixtures/merge-multiple-compose/service-merge-concat-base.yml
Chander G 5732a555cb Concat and merge service fields when merging compose files (#1186) (#1226)
according to docker compose specs, certain fields are merged and
certain others are concatented
2020-01-03 23:17:29 +08:00

28 lines
541 B
YAML

version: '3'
services:
server:
image: test
container_name: test_server
environment:
- SIMPLE_ONE=true
- SAMPLE_TO_BE_OVERRIDDEN=original
expose:
- "3000"
dns:
- 1.1.1.1
- 8.8.8.8
dns_search: first.search.domain.com
external_links:
- other_service_1
- common_service:alias1
labels:
- "simplelabel.first=Foo"
- "complexlabel=original"
tmpfs:
- /base-tmpdir
volumes:
- /simple/base/volume
- /base/dir:/common/mount/point