While runnning docker-compose up -d, I encountered the following error
WARNING: The ENBIZCARD_PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.app.ports contains an invalid type, it should be a number, or an object
This issue was created because I ran the previous command cp env-example .env, which will copy and create the .env for docker.
Changes
A minor fix is done on the env-example to avoid others running into the same issue. Changing : to =
docker-compose.yml is auto formatted since there is a prettier config, "singleQuote":true
Thanks for taking the time to review this PR.
Background
While runnning
docker-compose up -d
, I encountered the following errorThis issue was created because I ran the previous command
cp env-example .env
, which will copy and create the.env
for docker.Changes
env-example
to avoid others running into the same issue. Changing:
to=
docker-compose.yml
is auto formatted since there is a prettier config,"singleQuote":true