loft-sh / devpod

Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.
https://devpod.sh
Mozilla Public License 2.0
8.44k stars 311 forks source link

docker compose `include` not supported #952

Closed navneetkarnani closed 3 months ago

navneetkarnani commented 4 months ago

What happened?

[03:12:34] info (root) Additional property include is not allowed [03:12:34] info load docker compose project

What did you expect to happen instead?

compose project to be correctly used

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
    "name": "mydev",
    "dockerComposeFile": ["docker-compose.lb.yml"],
}

My docker-compose.lb.yml

include:
  - docker-compose.base.yml
 services:
  loadbalancer:
     image: caddy:2-alpine

My docker-compose.base.yml

services:
  app:
    image: eclipse-temurin:21-jdk

Local Environment:

DevPod Provider:

Anything else we need to know?
no.

pascalbreuninger commented 3 months ago

Hi @navneetkarnani , thanks for opening the issue, we'll look into it!