You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker-compose up -d && docker-compose logs -f
WARNING: Python-dotenv could not parse statement starting at line 1
WARNING: Python-dotenv could not parse statement starting at line 1
WARNING: Python-dotenv could not parse statement starting at line 1
WARNING: Python-dotenv could not parse statement starting at line 1
Creating network "overriding-vars_default" with the default driver
Creating overriding-vars_app_1 ... done
WARNING: Python-dotenv could not parse statement starting at line 1
WARNING: Python-dotenv could not parse statement starting at line 1
Attaching to overriding-vars_app_1
app_1 | + set
app_1 | + grep ^A
overriding-vars_app_1 exited with code 1
With A=1 2:
$ docker-compose up -d && docker-compose logs -f
Recreating overriding-vars_app_1 ... done
Attaching to overriding-vars_app_1
app_1 | + set
app_1 | + grep ^A
app_1 | A='1 2'
overriding-vars_app_1 exited with code 0
A=1 2
(one space) works, butA=1 2
(two spaces) produces an error. I've run into it withdocker-compose
:.env
:A=1 2
docker-compose.yml
:1.sh
:With
A=1 2
:I'll provide a Python test case, if need be.
https://github.com/theskumar/python-dotenv/blob/v0.14.0/src/dotenv/parser.py#L175-L176
The text was updated successfully, but these errors were encountered: