# Compose & Extending

**URL:** <https://forums.docker.com/t/compose-extending/13175>\
**Category:** General\
**Created:** [May 23, 2016, 9:52am UTC](https://forums.docker.com/t/compose-extending/13175 "2016-05-23T09:52:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![osmorgan](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@osmorgan](https://forums.docker.com/u/osmorgan)\
**Post date:** [May 23, 2016, 9:52am UTC](https://forums.docker.com/t/compose-extending/13175/1 "2016-05-23T09:52:15Z")

</div>

Hello, we have a set up where the CI compose file will extend a service from our local development compose file, the local service exposes ports but we would need the CI definition to not expose any ports to avoid any conflict of ports from other builds.

Is it possible to extend a service, and override the “ports” property to being empty?

Thanks
