Closed patrickuhlmann closed 1 year ago
Hi @patrickuhlmann
thx for the PR!
when I try to start the rails container with your changes, then the following error occurs:
Psych::SyntaxError: (<unknown>): found unexpected ':' while scanning a plain scalar at line 1 column 3
so this seems somehow to break my setup.
maybe we have different docker versions, other os, ...
Interesting.
$ docker-compose version
Docker Compose version 2.0.1
$ docker --version
Docker version 20.10.9, build c2ea9bc90b
$ uname -a
Linux xps13uhlme 5.14.14-arch1-1 #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000 x86_64 GNU/Linux
Hi Patrick
$ docker-compose version
docker-compose version 1.25.0
$ docker --version
Docker version 20.10.7, build f0df350
$ uname -a
Linux t490-ps 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
we do have different versions. quite a few people are using this setup now without having any issues with the env vars.
would it help to put quotes around the values? I tried this, but this doesn't work.
When executing docker-compose pull, I got the following error: unexpected character "," in variable name near "mailcatcher, port: 1025\nRAILS_SPHINX_HOST=sphinx\nDISABLE_ANNOTATE=true\n"
This error went away when I removed the additional whitespace in the rails.env file.