Closed baldrailers closed 3 years ago
Hi,
What version of Docker Compose are you using?
I believe it was version 1.26 from June 2020 that added support for being able to use whitespace (and in turn export
).
If you update to 1.26 or newer it'll work. If you remove export
then you won't be able to source the .env
file in the run
script which becomes an issue because that's how we read in certain env variable values to avoid having to hard code secrets and other information.
docker-compose version 1.25.0, build unknown
docker-py version: 4.1.0
CPython version: 3.8.5
OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
Having
export
doesn't work withdocker-compose