Description
Hi there 👋,
I have a compose.yml which includes some OCI artifacts and local files. However, when creating a new service that extends a local service, not all attributes get resolved properly.
Steps To Reproduce
# compose.a.yml
services:
web:
image: scratch
environment:
A: "A"
# compose.b.yml
include:
- compose.a.yml
services:
web:
environment:
B: B
worker:
image: scratch
extends:
service: web
environment:
C: C
Notice how the worker is missing A, while web has it.
❯ docker compose -f compose.b.yml config
name: the-box-django
services:
web:
environment:
A: A
B: B
image: scratch
networks:
default: null
worker:
environment:
B: B
C: C
image: scratch
networks:
default: null
networks:
default:
name: the-box-django_default
Compose Version
Docker Environment
Anything else?
No response
Description
Hi there 👋,
I have a compose.yml which includes some OCI artifacts and local files. However, when creating a new service that extends a local service, not all attributes get resolved properly.
Steps To Reproduce
Notice how the
workeris missingA, whilewebhas it.❯ docker compose -f compose.b.yml config name: the-box-django services: web: environment: A: A B: B image: scratch networks: default: null worker: environment: B: B C: C image: scratch networks: default: null networks: default: name: the-box-django_defaultCompose Version
Docker Environment
Anything else?
No response