Comments (2)
That would make sense when project directory is inferred from first file in the list, but how would this behave when user declares an explicit project directory with docker compose -p /foo
?
I'd prefer we introduce support for an explicit path notation to be "relative to current compose file", in addition to the existing ./foo
for project-directory relative paths, and ~/bar
for user HOME relative paths. Any suggestion for a portable and human-friendly syntax is welcome :)
from compose-go.
I wonder we could adopt __DIR__
variable used by PHP as "folder of the current file". I don't know another comparable example we could get inspiration for regarding syntax
from compose-go.
Related Issues (20)
- Potential typo in types.Resource Pids field name HOT 1
- Nested interpolation does not allow mixing of strings and variables, unless it ends with a variable
- Include functionailty does not actually use env files
- Service extensions do not following specification, needs clarification or correction
- Converting ports from short to long syntax should not assume "ingress" HOT 7
- Add an option to only warn about missing variables in `build` section HOT 1
- loader panic HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference when docker-compose.yaml empty HOT 2
- Add Usage into README
- Project name not checked when using ToConfigFiles HOT 1
- Target ports cannot be set to range when using long syntax HOT 5
- Regression: Decode errors are ignored
- Build error on override/merge.go line 129
- Environment copied before being mutated HOT 3
- Marshalling produces invalid compose file HOT 4
- Label cannot be set to empty value in v2 HOT 1
- Support URLs as config files
- Validation doesn't catch multiple services with the same container_name HOT 1
- Bug report: `panic: interface conversion: interface {} is string, not int` HOT 1
- Added validation for container_name broken with profiles HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compose-go.