docker-compose


Does Docker-Compose allow overwriting of ports when using extends?


See title. According to the docs:
For the multi-value options ports, expose, external_links, dns, dns_search, and tmpfs, Compose concatenates both sets of values:
Is there any way to change this behavior? I have an entry that is extended by multiple other entries, and all but one of them use the same port. But the last one needs to use a different port, which means it should replace the ports.
Is there any way to accomplish this?

Related Links

docker-compose volume not mounted
Exposing sentry service in docker-compose file
Yesod and docker-compose logs in development mode
Docker compose to always deploy using latest image
JHipster - Doubts in the development using Microservices Architecture
Gogs + Drone getsockopt: connection refused
Concourse result keeps loading
Docker-compose: AttributeError: 'module' object has no attribute 'ssl'
scaling a service with docker compose
Docker Compose apparently ignores COMPOSE_FILE
Where does Docker install gems on a mac
What is the difference between docker-machine and docker-compose?
Docker Compose port issue. Cannot launch docker project on localhost
Name an image built from running a docker-compose file
Race conditions after changing names in docker-compose.yml
Docker compose - image not found

Categories

HOME
max
system-calls
network-programming
packet
azure-eventhub
squeak
query-string
artifactory
collision-detection
wavefront
pyodbc
normals
eclipse-orion
exchange-transport-agents
game-engine
facebook-marketing-api
jquery-easyui
xforms
ejb-3.1
opengraph
quality-center
advertising
gulp-jshint
angular2-changedetection
meteor-accounts
restangular
undo
android-scrollview
icu
mixed-models
delphi-xe
glide-image-library
binary-decision-diagram
qt-quick
wufoo
spring-data-commons
pyopenssl
ng-class
runtime-permissions
sharpdevelop
node-java
richtext
disassembly
firebase-job-dispatcher
zsh-completion
mac-app-store
dimensionality-reduction
patching
angularfire
treelist
radar-chart
trendline
wordpress-plugin
datamodel
askbot
jquery-draggable
ewam
clear
android-contentresolver
jcomponent
php-gd
jsoncpp
page-refresh
fileinputstream
screen-lock
iphone-6
system.io.packaging
rails-migrations
nodeunit
codio
android-library
wordbreaker
biztalk-deployment
system.transactions
gpl
junit-rule
orchestration
states
django-1.4
win-prolog
eeprom
nsundomanager
maven-eclipse-plugin
session-hijacking
jqtransform
xcdatamodel
datarelation
database-agnostic
silverlight-2.0
lts

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App