Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Error when running 'docker-compose up zen' after a clean setup_repo.sh & install_deps.sh run #83

Open
pbackx opened this issue Oct 19, 2019 · 1 comment

Comments

@pbackx
Copy link

pbackx commented Oct 19, 2019

Maybe important or not: This is on Windows 10. I'm running Ubuntu with the Windows Subsystem for Linux.

After successfully running the initial steps in the readme, I have the following error when running docker-compose zen up:

ERROR: In file C:\dev\cp-local-development\workspace-zen\cp-zen-platform\web\config\development.env: environment variable name 'export EVENTS_SERVICE' may not contains whitespace.

That file contains the following lines:

export EVENTS_SERVICE=events2
export EMAIL_SERVICE=email
export USERS_SERVICE=users
export CLUBS_SERVICE=clubs

After removing the exports in front of the variable definitions, it looks like the system is now starting.

So what I did to fix this is change the file to:

EVENTS_SERVICE=events2
EMAIL_SERVICE=email
USERS_SERVICE=users
CLUBS_SERVICE=clubs

So my questions:

@Wardormeur
Copy link
Contributor

I can confirm the issue on Linux, this is not a Windows related issue, but a dodgy change in docker-compose (docker/compose#6511). The fix seems to use a new upcoming flag --skip-env-file when running docker-compose.
As far as I'm aware, those env var are only used for the unit tests of cp-zen-platform, locally and in CI. Didn't try if removing the "export" keyword works or not, though.
👍 for making a formal report

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants