You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: The Compose file './docker/docker-compose.2reddis.yml' is invalid because:
services.redis.ports contains an invalid type, it should be a number, or an object
run docker-compose -f docker-compose.2reddis-copy.yml config --no-interploate
Observed result
ERROR: The Compose file 'docker-compose.2reddis-copy.yml' is invalid because:
services.redis.ports contains an invalid type, it should be a number, or an object
OS version / distribution, docker-compose install method, etc.
uname -a
Linux DESKTOP-L093T8U 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
WSL2
The text was updated successfully, but these errors were encountered:
This issue refers to #7964 It is not global --no-interpolate mistake. So @mellester please add your 👍 to that issue and I'll continue my investigation there
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description of the issue
I use docker-compose to merge mutiple configs into one single file
example
docker-compose -f docker/docker-compose.1base.yml \ -f docker/docker-compose.2reddis.yml \ config > docker-compose.yml
This works fine
When using
docker-compose -f docker/docker-compose.1base.yml \ -f docker/docker-compose.2reddis.yml \ config --no-interpolate > docker-compose.yml
I get a output of
ERROR: The Compose file './docker/docker-compose.2reddis.yml' is invalid because: services.redis.ports contains an invalid type, it should be a number, or an object
Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
create a file like
run
docker-compose -f docker-compose.2reddis-copy.yml config --no-interploate
Observed result
Expected result
Additional information
OS version / distribution,
docker-compose
install method, etc.uname -a
Linux DESKTOP-L093T8U 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
WSL2
The text was updated successfully, but these errors were encountered: