Replies: 5 comments 6 replies
-
Given that "extends" already supports files (#318 (comment)), wouldn't it make sense to extend that to allow the file to have an optional scheme ( |
Beta Was this translation helpful? Give feedback.
-
The main reason I would prefer |
Beta Was this translation helpful? Give feedback.
-
import and include have different implications. |
Beta Was this translation helpful? Give feedback.
-
The alternative could be to allow services:
extends:
file: frontend/docker-compose.yaml services:
extends:
file: http://localhost:8080/projects/servicea/fig.yml volumes:
extends:
file: http://localhost:8080/projects/servicea/fig.yml extends:
file: http://localhost:8080/projects/servicea/fig.yml
services:
web:
# ... One possible requirement for that would be to remove the requirement for |
Beta Was this translation helpful? Give feedback.
-
There is a documentation about an include command in compose files : https://docs.docker.com/compose/compose-file/14-include/ |
Beta Was this translation helpful? Give feedback.
-
See #318
10 votes ·
Beta Was this translation helpful? Give feedback.
All reactions