Coder Social home page Coder Social logo

Dupe of issue 205, but I could not follow how to fix it. Invalid interpolation format for "environment" option in service "agri-agent" about greenlight HOT 8 CLOSED

Eirikur avatar Eirikur commented on July 30, 2024
Dupe of issue 205, but I could not follow how to fix it. Invalid interpolation format for "environment" option in service "agri-agent"

from greenlight.

Comments (8)

Eirikur avatar Eirikur commented on July 30, 2024

I could not find the trailing $ that is mentioned in the fix that closed 205, but I have the problem.

from greenlight.

swcurran avatar swcurran commented on July 30, 2024

Odd. I never did figure out what the fix was for 205 - I did not find a trailing space either. What OS are you running this on? We'll see if we can figure it out. We tend to use Windows, Ubuntu 18.04 and Mac and haven't seen this. @esune - please see what you can dig up.

from greenlight.

Eirikur avatar Eirikur commented on July 30, 2024

I'm on Linux Mint 19.1, which is based on Ubuntu 18.04.2 they say. This makes it odd that I'm seeing it and you aren't.

from greenlight.

esune avatar esune commented on July 30, 2024

I'll fire up a Linux box and see what I can find out. It definitely is odd that it would only show up on Linux and not in Git bash...

from greenlight.

swcurran avatar swcurran commented on July 30, 2024

Could it be the ":-" option - is that used elsewhere? It's weird that it's docker-compose that seems to have a problem with something. Should be the same on all platforms.

Perhaps there is an environment variable from the system being referenced that has a trailing "$"?

from greenlight.

WadeBarnes avatar WadeBarnes commented on July 30, 2024

@Eirikur, Here are a couple of things to try:

  • Remove the :- from the environment variables where no default option is specified. For example ${TOB_API_URL:-}. I believe some flavors of Linux don't like it.
  • The file, at least on my Windows box, has CrLf line endings. You may want to try converting them all to Lf line endings.

Please report findings so we can either investigate further or fix the issue. BTW, PRs are always welcome.

from greenlight.

Eirikur avatar Eirikur commented on July 30, 2024

Thanks Wade! That totally did it. If you'd like a PR, I can do that tonight.

from greenlight.

WadeBarnes avatar WadeBarnes commented on July 30, 2024

@Eirikur, You're welcome. Please submit a PR and reference this issue. You did the work, you should get the recognition. Thanks!

from greenlight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.