We’re seeing that env vars are not set when running in a local rack.
e.g. we have a .env with MYSQL_PASSWORD set, yet the docker run generated includes docker run -i ... -e MYSQL_PASSWORD ... -e MYSQL_PASSWORD= -e ... instead of having the actual value set in the second key-value pair.
If we set a default directly in the Docker Compose file, it works.
If you’re using “gen 2” (that is, a convox.yml file instead of docker-compose.yml, which has been the default now for quite a while) the .env file is not used at all. Instead the env is handled locally the same way as on aws using the convox env-commands.
The migration path is pretty simple by using convox env set < .env.