-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.env file variable syntax is not compatible with latest docker-compose version 1.25.5 #624
Comments
Hi @piercebb, thanks for being interested in Refuge! We can try changing the I can confirm this is fixed again in docker-compose 1.26. This is a brand new release less than a month old. The problem started with docker-compose 1.24.0. I'm happy to respond to any other questions, issues or Pull Requests, etc. |
I have put together a wiki page of errors folks may run into: https://github.com/RefugeRestrooms/refugerestrooms/wiki/Troubleshooting-Docker It has most of the errors I've seen with Docker. Perhaps this should be linked to from |
Very glad to hear this is fixed in docker-compose 1.26 🎉 && Yay for that docker wiki! I agree - I think linking it in the |
This issue is resolved with newer versions of Thanks again for the issue report. |
The issue
During project setup after cloning the project and installing docker, running
docker-compose
generated an error:Others have run into similar issues using
export MY_VAR=MY_VAL
in.env
files, which are compatible withdocker-compose
version 1.23.1 .Scope / difficulty
I anticipate this will be a straight-forward fix: updating the syntax of the variables as outlined in the docker documentation.
Impact
Updating
.env
will un-block setting up the project and support developers as they set up their development environment.Rationale
I ran into this issue during project setup and I anticipate others may get blocked as well.
Proposal
Update
.env
variables so that they are compatible with the latest docker-compose version 1.25.5.How to actually do this:
.env
fileVAR=VAL
format instead ofexport VAR=VAL
.See Docker's docs on declaring default environment variables here.
The text was updated successfully, but these errors were encountered: