Skip to content

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Jun 16, 2025

What I did
resolve service environment just before container get created
doing so, a provider service depends on can inject variables, used for interpolation
example usage:

services: Docker Desktop   o View Config   w Enable Watch
  test:
    image: ...
    environment:
      - OPENAI_API_BASE=${LLM_URL}
    depends_on:
      - llm

  llm:
    provider:
      type: model
      options:
        model: llama123

note this is just a draft, need to play with this branch to better understand the possible side effects

Related issue
requires compose-spec/compose-go#797

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof force-pushed the JIT_env_resolve branch 2 times, most recently from c57493a to 1f8a052 Compare June 18, 2025 15:25
@glours glours force-pushed the JIT_env_resolve branch from 501f7d8 to cc22628 Compare June 20, 2025 09:15
@ndeloof ndeloof closed this Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants