'env_file' property not beeing recognized
See original GitHub issueDescription
When using the env_file
property as described in the docs, tye fails to parse the it when running tye run
and prints out the following error message:
Loading Application Details...
Error parsing tye.yaml: (12, 5): Unexpected key "env_file" in tye.yaml.
To Reproduce
- Save the following content as
tye.yaml
name: env-test
services:
- name: redis
image: redis
env_file:
- ./config.env
- Save the following content as
config.env
ALLOW_EMPTY_PASSWORD=yes
- Run
tye run
Got Exceptions? Include both the message and the stack trace
Loading Application Details...
Error parsing tye.yaml: (12, 5): Unexpected key "env_file" in tye.yaml.
Further technical details
- Version: 0.4.0-alpha.20371.1+d7623120d66b85bfeda8ab69eb5ff792df6b7243
- Rerunning with
-v debug
did not gave any additional output - Platform: Windows
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
node.js - NodeJS not recognizing .env file
In the file you are using environment variables, As early as possible, require the "dotenv" and in the config() method, specify the path...
Read more >env file is not read · Issue #4223 · docker/compose
I'm trying to use ENV variables declared in a .env file in my docker-compose file (I.e. I don't want to use the .env...
Read more >Stop Using .env Files Now!
There's plenty wrong with using .env files, especially in production. Permissions could be wrong, it could expose passwords to folks who are ...
Read more >Configuration Reference Guide
In this reference guide we're going to describe various aspects of Quarkus configuration. A Quarkus application and Quarkus itself (core and extensions) are ......
Read more >React not reading .env file Environment Variables [Solved]
A step-by-step guide on how to resolve the issue where React doesn't read the environment variables from your .env file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jkotalik Worked with the CI build, thx!
Don’t mind me^^ I was just pointing that it’s to be expected that this version was still used due to the lifecycle of an ongoing
alpha