Comments (5)
Looks like it's your local issue, I can't reproduce it. Overmind reloads every variable that specified in env files, and it loads a file from OVERMIND_ENV
last. Please make sure about naming.
Procfile.test
redis_host: echo REDIS_HOST is $REDIS_HOST
$ OVERMIND_ENV=.env.local overmind s -f Procfile.test 16:17
system | Listening at ...
system | Tmux socket name: overmind-overmind-QYXtYFV8I_dsjtP6fysYJu
system | Tmux session ID: overmind
redis_host | Started with pid 95600...
redis_host | REDIS_HOST is localhost
redis_host | Exited
from overmind.
Thanks for checking this out!
It looks like the problem is that I expected it to work like the Ruby implementation of dotenv
, which loads .env
, followed by .env.local
. However, since you're using the Go implementation, it only loads .env
, and ignores .env.local
entirely.
Since Overmind is not written specifically for Ruby environments, I'll go ahead close this issue.
from overmind.
When you set OVERMIND_ENV=.env.local
, overmind uses it as a last env file, so it should work like you expect. Unfortunately, I have no idea why it works for me and doesn't work for you :(
from overmind.
OVERMIND_ENV=.env.local overmind s
works perfectly fine. :)
I expected it to load .env.local
by running just overmind s
, which it doesn't.
from overmind.
Oh, got it :) Yeah, you're right
from overmind.
Related Issues (20)
- On `connect`, create a new tmux session and move the relevant window in HOT 1
- feature request: .env file validation
- Start if not started HOT 3
- Command and control
- Overmind 2.4.0 is only running the first entry in the Procfile? HOT 2
- How to clear our tmux if overmind thinks its already running? HOT 2
- Cannot terminate connected session HOT 5
- feature request: OVERMIND_AUTO_RESTART_INTERVAL
- Write Nonzero Exit Code After "Exited"? HOT 1
- display a message when daemon closes due to an error in your procfile?
- Silently fails to load .env with multiline variables HOT 5
- .env overriding overmind's environment HOT 3
- Is this gem related to this project? HOT 3
- Error when running `go install github.com/DarthSim/overmind/v2@latest` w/in a repo that uses it. HOT 2
- Docker image
- Question: would it be possible to hit `cmd-r` in an Overmind session to restart all processes?
- Launch a browser with `overmind open`
- Overmind does not detect crashed process HOT 3
- Ability to turn off the Logging Prefix HOT 3
- `overmind start` fails if there is more than one process type in the `Procfile` HOT 8
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 overmind.